Index
A
- ArgumentOutOfRangeException — Class in namespace Nette
The exception that is thrown when the value of an argument is outside the allowable range of values as defined by the invoked method.
- ArrayHash — Class in namespace Nette\Utils
Provides objects to work as array.
- ArrayList — Class in namespace Nette\Utils
Provides the base class for a generic list (items can be accessed by index).
- Arrays — Class in namespace Nette\Utils
Array tools library.
- Arrays::associate() — Method in class Arrays
Reformats table to associative tree. Path looks like 'field|field[]field->field=field'.
- AssertionException — Class in namespace Nette\Utils
The exception that indicates assertion error.
- $ Html#attrs — Property in class Html
- $ Html#accept — Property in class Html
- $ Html#accesskey — Property in class Html
- $ Html#action — Property in class Html
- $ Html#align — Property in class Html
- $ Html#allow — Property in class Html
- $ Html#alt — Property in class Html
- $ Html#async — Property in class Html
- $ Html#autocapitalize — Property in class Html
- $ Html#autocomplete — Property in class Html
- $ Html#autofocus — Property in class Html
- $ Html#autoplay — Property in class Html
- Html::addAttributes() — Method in class Html
Sets multiple attributes.
- Html::appendAttribute() — Method in class Html
Appends value to element's attribute.
- Html::addHtml() — Method in class Html
Adds new element's child.
- Html::addText() — Method in class Html
Appends plain-text string to element content.
- Html::attributes() — Method in class Html
Returns element's attributes.
- Html::accept() — Method in class Html
- Html::accesskey() — Method in class Html
- Html::action() — Method in class Html
- Html::align() — Method in class Html
- Html::allow() — Method in class Html
- Html::alt() — Method in class Html
- Html::async() — Method in class Html
- Html::autocapitalize() — Method in class Html
- Html::autocomplete() — Method in class Html
- Html::autofocus() — Method in class Html
- Html::autoplay() — Method in class Html
- Image::alphaBlending() — Method in class Image
- Image::antialias() — Method in class Image
- Image::arc() — Method in class Image
- Reflection::areCommentsAvailable() — Method in class Reflection
Are documentation comments available?
- Strings::after() — Method in class Strings
Returns part of $haystack after $nth occurence of $needle (negative value means searching from the end).
- Validators::assert() — Method in class Validators
Throws exception if a variable is of unexpected type (separated by pipe).
- Validators::assertField() — Method in class Validators
Throws exception if an array field is missing or of unexpected type (separated by pipe).
B
- $ Paginator#base — Property in class Paginator
- Strings::before() — Method in class Strings
Returns part of $haystack before $nth occurence of $needle (negative value means searching from the end).
C
- CachingIterator — Class in namespace Nette\Iterators
Smarter caching iterator.
- $ CachingIterator#counter — Property in class CachingIterator
- CachingIterator::count() — Method in class CachingIterator
Returns the count of elements.
- Mapper::current() — Method in class Mapper
- ArrayHash::count() — Method in class ArrayHash
Returns items count.
- ArrayList::count() — Method in class ArrayList
Returns items count.
- Callback — Class in namespace Nette\Utils
PHP callable tools.
- Callback::closure() — Method in class Callback
- Callback::check() — Method in class Callback
- DateTime::createFromFormat() — Method in class DateTime
Returns new DateTime object formatted according to the specified format.
- FileSystem::createDir() — Method in class FileSystem
Creates a directory.
- FileSystem::copy() — Method in class FileSystem
Copies a file or directory.
- $ Html#children — Property in class Html
- $ Html#charset — Property in class Html
- $ Html#checked — Property in class Html
- $ Html#cite — Property in class Html
- $ Html#class — Property in class Html
- $ Html#cols — Property in class Html
- $ Html#colspan — Property in class Html
- $ Html#content — Property in class Html
- $ Html#contenteditable — Property in class Html
- $ Html#controls — Property in class Html
- $ Html#coords — Property in class Html
- $ Html#crossorigin — Property in class Html
- Html::create() — Method in class Html
Creates and adds a new Html child.
- Html::count() — Method in class Html
Returns children count.
- Html::charset() — Method in class Html
- Html::checked() — Method in class Html
- Html::cite() — Method in class Html
- Html::class() — Method in class Html
- Html::cols() — Method in class Html
- Html::colspan() — Method in class Html
- Html::content() — Method in class Html
- Html::contenteditable() — Method in class Html
- Html::controls() — Method in class Html
- Html::coords() — Method in class Html
- Html::crossorigin() — Method in class Html
- Image::calculateSize() — Method in class Image
Calculates dimensions of resized image.
- Image::crop() — Method in class Image
Crops image.
- Image::calculateCutout() — Method in class Image
Calculates dimensions of cutout in image.
- Image::char() — Method in class Image
- Image::charUp() — Method in class Image
- Image::colorAllocate() — Method in class Image
- Image::colorAllocateAlpha() — Method in class Image
- Image::colorAt() — Method in class Image
- Image::colorClosest() — Method in class Image
- Image::colorClosestAlpha() — Method in class Image
- Image::colorClosestHWB() — Method in class Image
- Image::colorDeallocate() — Method in class Image
- Image::colorExact() — Method in class Image
- Image::colorExactAlpha() — Method in class Image
- Image::colorMatch() — Method in class Image
- Image::colorResolve() — Method in class Image
- Image::colorResolveAlpha() — Method in class Image
- Image::colorSet() — Method in class Image
- Image::colorsForIndex() — Method in class Image
- Image::colorsTotal() — Method in class Image
- Image::colorTransparent() — Method in class Image
- Image::convolution() — Method in class Image
- Image::copy() — Method in class Image
- Image::copyMerge() — Method in class Image
- Image::copyMergeGray() — Method in class Image
- Image::copyResampled() — Method in class Image
- Image::copyResized() — Method in class Image
- Image::cropAuto() — Method in class Image
- $ Paginator#countdownOffset — Property in class Paginator
- Strings::checkEncoding() — Method in class Strings
Checks if the string is valid for UTF-8 encoding.
- Strings::chr() — Method in class Strings
Returns a specific character in UTF-8 from code point (0x0 to 0xD7FF or 0xE000 to 0x10FFFF).
- Strings::contains() — Method in class Strings
Does $haystack contain $needle?
- Strings::capitalize() — Method in class Strings
Capitalizes UTF-8 string.
- Strings::compare() — Method in class Strings
Case-insensitive compares UTF-8 strings.
- $ Validators#counters — Property in class Validators
D
- DeprecatedException — Class in namespace Nette
The exception that is thrown when a requested method or operation is deprecated.
- DirectoryNotFoundException — Class in namespace Nette
The exception that is thrown when part of a file or directory cannot be found.
- DateTime — Class in namespace Nette\Utils
- DateTime.
- FileSystem::delete() — Method in class FileSystem
Deletes a file or directory.
- $ Html#data — Property in class Html
- $ Html#datetime — Property in class Html
- $ Html#decoding — Property in class Html
- $ Html#default — Property in class Html
- $ Html#defer — Property in class Html
- $ Html#dir — Property in class Html
- $ Html#dirname — Property in class Html
- $ Html#disabled — Property in class Html
- $ Html#download — Property in class Html
- $ Html#draggable — Property in class Html
- $ Html#dropzone — Property in class Html
- Html::data() — Method in class Html
Setter for data-* attributes. Booleans are converted to 'true' resp. 'false'.
- Html::datetime() — Method in class Html
- Html::decoding() — Method in class Html
- Html::default() — Method in class Html
- Html::defer() — Method in class Html
- Html::dir() — Method in class Html
- Html::dirname() — Method in class Html
- Html::disabled() — Method in class Html
- Html::download() — Method in class Html
- Html::draggable() — Method in class Html
- Html::dropzone() — Method in class Html
- Image::dashedLine() — Method in class Image
- Json::decode() — Method in class Json
Decodes a JSON string. Accepts flag Json::FORCE_ARRAY.
E
- $ CachingIterator#empty — Property in class CachingIterator
- $ CachingIterator#even — Property in class CachingIterator
- Arrays::every() — Method in class Arrays
Tests whether all elements in the array pass the callback test.
- $ Html#emptyElements — Property in class Html
- $ Html#enctype — Property in class Html
- Html::el() — Method in class Html
Static factory.
- Html::endTag() — Method in class Html
Returns element's end tag.
- Html::enctype() — Method in class Html
- Image::ellipse() — Method in class Image
- Json::encode() — Method in class Json
Returns the JSON representation of a value. Accepts flag Json::PRETTY.
- Reflection::expandClassName() — Method in class Reflection
Expands class name into full name.
- Strings::endsWith() — Method in class Strings
Ends the $haystack string with the suffix $needle?
- Validators::everyIs() — Method in class Validators
Finds whether all values are of expected type (separated by pipe).
F
- FileNotFoundException — Class in namespace Nette
The exception that is thrown when accessing a file that does not exist on disk.
- $ CachingIterator#first — Property in class CachingIterator
- ArrayHash::from() — Method in class ArrayHash
- Arrays::flatten() — Method in class Arrays
Returns flattened array.
- DateTime::from() — Method in class DateTime
DateTime object factory.
- DateTime::fromParts() — Method in class DateTime
Creates DateTime object.
- FileSystem — Class in namespace Nette\Utils
File system tool.
- $ Html#for — Property in class Html
- $ Html#form — Property in class Html
- $ Html#formaction — Property in class Html
- $ Html#formenctype — Property in class Html
- $ Html#formmethod — Property in class Html
- $ Html#formnovalidate — Property in class Html
- $ Html#formtarget — Property in class Html
- Html::for() — Method in class Html
- Html::form() — Method in class Html
- Html::formaction() — Method in class Html
- Html::formenctype() — Method in class Html
- Html::formmethod() — Method in class Html
- Html::formnovalidate() — Method in class Html
- Html::formtarget() — Method in class Html
- Image::fromFile() — Method in class Image
Opens image from file.
- Image::fromString() — Method in class Image
Create a new image from the image stream in the string.
- Image::fromBlank() — Method in class Image
Creates blank image.
- Image::fill() — Method in class Image
- Image::filledArc() — Method in class Image
- Image::filledEllipse() — Method in class Image
- Image::filledPolygon() — Method in class Image
- Image::filledRectangle() — Method in class Image
- Image::fillToBorder() — Method in class Image
- Image::filter() — Method in class Image
- Image::flip() — Method in class Image
- Image::ftText() — Method in class Image
- $ Paginator#firstPage — Property in class Paginator
- $ Paginator#first — Property in class Paginator
- Strings::fixEncoding() — Method in class Strings
Removes invalid code unit sequences from UTF-8 string.
- Strings::firstLower() — Method in class Strings
Converts first character to lower case.
- Strings::firstUpper() — Method in class Strings
Converts first character to upper case.
- Strings::findPrefix() — Method in class Strings
Finds the length of common prefix of strings.
G
- CachingIterator::getCounter() — Method in class CachingIterator
Returns the counter.
- CachingIterator::getNextKey() — Method in class CachingIterator
Returns the next key.
- CachingIterator::getNextValue() — Method in class CachingIterator
Returns the next element.
- ArrayHash::getIterator() — Method in class ArrayHash
Returns an iterator over all items.
- ArrayList::getIterator() — Method in class ArrayList
Returns an iterator over all items.
- Arrays::get() — Method in class Arrays
Returns item from array or $default if item is not set.
- Arrays::getRef() — Method in class Arrays
Returns reference to array item.
- Arrays::grep() — Method in class Arrays
Returns array entries that match the pattern.
- Html::getName() — Method in class Html
Returns element's name.
- Html::getAttribute() — Method in class Html
Returns element's attribute.
- Html::getHtml() — Method in class Html
Returns element's HTML content.
- Html::getText() — Method in class Html
Returns element's textual content.
- Html::getIterator() — Method in class Html
Iterates over elements.
- Html::getChildren() — Method in class Html
Returns all children.
- Image::getWidth() — Method in class Image
Returns image width.
- Image::getHeight() — Method in class Image
Returns image height.
- Image::getImageResource() — Method in class Image
Returns image GD resource.
- Image::gammaCorrect() — Method in class Image
- Image::getClip() — Method in class Image
- ObjectHelpers::getMagicProperties() — Method in class ObjectHelpers
Returns array of magic properties defined by annotation @property.
- ObjectHelpers::getSuggestion() — Method in class ObjectHelpers
Finds the best suggestion (for 8-bit encoding).
- ObjectMixin::getSuggestion() — Method in class ObjectMixin
- ObjectMixin::getExtensionMethod() — Method in class ObjectMixin
- Paginator::getPage() — Method in class Paginator
Returns current page number.
- Paginator::getFirstPage() — Method in class Paginator
Returns first page number.
- Paginator::getLastPage() — Method in class Paginator
Returns last page number.
- Paginator::getBase() — Method in class Paginator
Returns first page (base) number.
- Paginator::getPageIndex() — Method in class Paginator
Returns zero-based page number.
- Paginator::getPageCount() — Method in class Paginator
Returns the total number of pages.
- Paginator::getItemsPerPage() — Method in class Paginator
Returns the number of items to display on a single page.
- Paginator::getItemCount() — Method in class Paginator
Returns the total number of items.
- Paginator::getOffset() — Method in class Paginator
Returns the absolute index of the first item on current page.
- Paginator::getCountdownOffset() — Method in class Paginator
Returns the absolute index of the first item on current page in countdown paging.
- Paginator::getLength() — Method in class Paginator
Returns the number of items on current page.
- Random::generate() — Method in class Random
Generate random string.
- Reflection::getReturnType() — Method in class Reflection
- Reflection::getParameterType() — Method in class Reflection
- Reflection::getPropertyType() — Method in class Reflection
- Reflection::getParameterDefaultValue() — Method in class Reflection
- Reflection::getPropertyDeclaringClass() — Method in class Reflection
Returns declaring class or trait.
- Reflection::getUseStatements() — Method in class Reflection
H
- Html — Class in namespace Nette\Utils
HTML helper.
- $ Html#headers — Property in class Html
- $ Html#height — Property in class Html
- $ Html#hidden — Property in class Html
- $ Html#high — Property in class Html
- $ Html#href — Property in class Html
- $ Html#hreflang — Property in class Html
- Html::href() — Method in class Html
Special setter for element's attribute.
- Html::headers() — Method in class Html
- Html::height() — Method in class Html
- Html::hidden() — Method in class Html
- Html::high() — Method in class Html
- Html::hreflang() — Method in class Html
- $ Image#height — Property in class Image
- ObjectHelpers::hasProperty() — Method in class ObjectHelpers
Checks if the public non-static property exists.
I
- IOException — Class in namespace Nette
The exception that is thrown when an I/O error occurs.
- InvalidArgumentException — Class in namespace Nette
The exception that is thrown when an argument does not match with the expected value.
- InvalidStateException — Class in namespace Nette
The exception that is thrown when a method call is invalid for the object's current state, method has been invoked at an illegal or inappropriate time.
- CachingIterator::isFirst() — Method in class CachingIterator
Is the current element the first one?
- CachingIterator::isLast() — Method in class CachingIterator
Is the current element the last one?
- CachingIterator::isEmpty() — Method in class CachingIterator
Is the iterator empty?
- CachingIterator::isOdd() — Method in class CachingIterator
Is the counter odd?
- CachingIterator::isEven() — Method in class CachingIterator
Is the counter even?
- ITranslator — Class in namespace Nette\Localization
Translator adapter.
- Arrays::insertBefore() — Method in class Arrays
Inserts new array before item specified by key.
- Arrays::insertAfter() — Method in class Arrays
Inserts new array after item specified by key.
- Arrays::isList() — Method in class Arrays
Finds whether a variable is a zero-based integer indexed array.
- Callback::invoke() — Method in class Callback
Invokes callback.
- Callback::invokeArgs() — Method in class Callback
Invokes callback with an array of parameters.
- Callback::invokeSafe() — Method in class Callback
Invokes internal PHP function with own error handler.
- Callback::isStatic() — Method in class Callback
- FileSystem::isAbsolute() — Method in class FileSystem
Is path absolute?
- $ Html#id — Property in class Html
- $ Html#integrity — Property in class Html
- $ Html#inputmode — Property in class Html
- $ Html#ismap — Property in class Html
- $ Html#itemprop — Property in class Html
- Html::isEmpty() — Method in class Html
Is element empty?
- Html::insert() — Method in class Html
Inserts child node.
- Html::id() — Method in class Html
- Html::integrity() — Method in class Html
- Html::inputmode() — Method in class Html
- Html::ismap() — Method in class Html
- Html::itemprop() — Method in class Html
- IHtmlString — Class in namespace Nette\Utils
- Image — Class in namespace Nette\Utils
Basic manipulation with images.
- $ Image#imageResource — Property in class Image
- Image::interlace() — Method in class Image
- Image::isTrueColor() — Method in class Image
- ImageException — Class in namespace Nette\Utils
The exception that is thrown when an image error occurs.
- $ Paginator#itemsPerPage — Property in class Paginator
- $ Paginator#itemCount — Property in class Paginator
- Paginator::isFirst() — Method in class Paginator
Is the current page the first one?
- Paginator::isLast() — Method in class Paginator
Is the current page the last one?
- Reflection::isBuiltinType() — Method in class Reflection
- Strings::indent() — Method in class Strings
Indents UTF-8 string from the left.
- Strings::indexOf() — Method in class Strings
Returns position of $nth occurence of $needle in $haystack (negative value means searching from the end).
- Validators::is() — Method in class Validators
Finds whether a variable is of expected type (separated by pipe).
- Validators::isNumber() — Method in class Validators
Finds whether a value is an integer or a float.
- Validators::isNumericInt() — Method in class Validators
Finds whether a value is an integer.
- Validators::isNumeric() — Method in class Validators
Finds whether a string is a floating point number in decimal base.
- Validators::isCallable() — Method in class Validators
Finds whether a value is a syntactically correct callback.
- Validators::isUnicode() — Method in class Validators
Finds whether a value is an UTF-8 encoded string.
- Validators::isNone() — Method in class Validators
Finds whether a value is "falsy".
- Validators::isMixed() — Method in class Validators
- Validators::isList() — Method in class Validators
Finds whether a variable is a zero-based integer indexed array.
- Validators::isInRange() — Method in class Validators
Is a value in specified min and max value pair?
- Validators::isEmail() — Method in class Validators
Finds whether a string is a valid email address.
- Validators::isUrl() — Method in class Validators
Finds whether a string is a valid http(s) URL.
- Validators::isUri() — Method in class Validators
Finds whether a string is a valid URI according to RFC 1738.
- Validators::isType() — Method in class Validators
Checks whether the input is a class, interface or trait.
- Validators::isPhpIdentifier() — Method in class Validators
Checks whether the input is a valid PHP identifier.
J
- DateTime::jsonSerialize() — Method in class DateTime
Returns JSON representation in ISO 8601 (used by JavaScript).
- Json — Class in namespace Nette\Utils
JSON encoder and decoder.
- JsonException — Class in namespace Nette\Utils
The exception that indicates error of JSON encoding/decoding.
K
- $ Html#kind — Property in class Html
- Html::kind() — Method in class Html
L
- $ CachingIterator#last — Property in class CachingIterator
- $ Html#label — Property in class Html
- $ Html#lang — Property in class Html
- $ Html#list — Property in class Html
- $ Html#loop — Property in class Html
- $ Html#low — Property in class Html
- Html::label() — Method in class Html
- Html::lang() — Method in class Html
- Html::list() — Method in class Html
- Html::loop() — Method in class Html
- Html::low() — Method in class Html
- Image::layerEffect() — Method in class Image
- Image::line() — Method in class Image
- $ Paginator#lastPage — Property in class Paginator
- $ Paginator#last — Property in class Paginator
- $ Paginator#length — Property in class Paginator
- Strings::lower() — Method in class Strings
Converts UTF-8 string to lower case.
- Strings::length() — Method in class Strings
Returns number of characters (not bytes) in UTF-8 string.
M
- Mapper — Class in namespace Nette\Iterators
Applies the callback to the elements of the inner iterator.
- MemberAccessException — Class in namespace Nette
The exception that is thrown when accessing a class member (property or method) fails.
- Arrays::mergeTree() — Method in class Arrays
Recursively appends elements of remaining keys from the second array to the first.
- Arrays::map() — Method in class Arrays
Applies the callback to the elements of the array.
- DateTime::modifyClone() — Method in class DateTime
- $ Html#max — Property in class Html
- $ Html#maxlength — Property in class Html
- $ Html#minlength — Property in class Html
- $ Html#media — Property in class Html
- $ Html#method — Property in class Html
- $ Html#min — Property in class Html
- $ Html#multiple — Property in class Html
- $ Html#muted — Property in class Html
- Html::max() — Method in class Html
- Html::maxlength() — Method in class Html
- Html::minlength() — Method in class Html
- Html::media() — Method in class Html
- Html::method() — Method in class Html
- Html::min() — Method in class Html
- Html::multiple() — Method in class Html
- Html::muted() — Method in class Html
- Strings::match() — Method in class Strings
Performs a regular expression match. Accepts flag PREG_OFFSET_CAPTURE (returned in bytes).
- Strings::matchAll() — Method in class Strings
Performs a global regular expression match. Accepts flag PREG_OFFSET_CAPTURE (returned in bytes), PREG_SET_ORDER is default.
N
- $ CachingIterator#nextKey — Property in class CachingIterator
- $ CachingIterator#nextValue — Property in class CachingIterator
- CachingIterator::next() — Method in class CachingIterator
Forwards to the next element.
- NotImplementedException — Class in namespace Nette
The exception that is thrown when a requested method or operation is not implemented.
- NotSupportedException — Class in namespace Nette
The exception that is thrown when an invoked method is not supported. For scenarios where it is sometimes possible to perform the requested operation, see InvalidStateException.
- Arrays::normalize() — Method in class Arrays
Normalizes to associative array.
- $ Html#name — Property in class Html
- $ Html#novalidate — Property in class Html
- Html::name() — Method in class Html
- Html::novalidate() — Method in class Html
- Strings::normalize() — Method in class Strings
Removes special controls characters and normalizes line endings, spaces and normal form to NFC in UTF-8 string.
- Strings::normalizeNewLines() — Method in class Strings
Standardize line endings to unix-like.
O
- $ CachingIterator#odd — Property in class CachingIterator
- OutOfRangeException — Class in namespace Nette
The exception that is thrown when an illegal index was requested.
- ArrayHash::offsetSet() — Method in class ArrayHash
Replaces or appends a item.
- ArrayHash::offsetGet() — Method in class ArrayHash
Returns a item.
- ArrayHash::offsetExists() — Method in class ArrayHash
Determines whether a item exists.
- ArrayHash::offsetUnset() — Method in class ArrayHash
Removes the element from this list.
- ArrayList::offsetSet() — Method in class ArrayList
Replaces or appends a item.
- ArrayList::offsetGet() — Method in class ArrayList
Returns a item.
- ArrayList::offsetExists() — Method in class ArrayList
Determines whether a item exists.
- ArrayList::offsetUnset() — Method in class ArrayList
Removes the element at the specified position in this list.
- $ Html#open — Property in class Html
- $ Html#optimum — Property in class Html
- Html::offsetSet() — Method in class Html
Inserts (replaces) child node (\ArrayAccess implementation).
- Html::offsetGet() — Method in class Html
Returns child node (\ArrayAccess implementation).
- Html::offsetExists() — Method in class Html
Exists child node? (\ArrayAccess implementation).
- Html::offsetUnset() — Method in class Html
Removes child node (\ArrayAccess implementation).
- Html::open() — Method in class Html
- Html::optimum() — Method in class Html
- Image::openPolygon() — Method in class Image
- ObjectHelpers — Class in namespace Nette\Utils
Nette\SmartObject helpers.
- ObjectMixin — Class in namespace Nette\Utils
Nette\Object behaviour mixin.
- $ Paginator#offset — Property in class Paginator
P
- ArrayList::prepend() — Method in class ArrayList
Prepends a item.
- Arrays::pick() — Method in class Arrays
Picks element from the array by key and return its value.
- $ Html#pattern — Property in class Html
- $ Html#ping — Property in class Html
- $ Html#placeholder — Property in class Html
- $ Html#poster — Property in class Html
- $ Html#preload — Property in class Html
- Html::pattern() — Method in class Html
- Html::ping() — Method in class Html
- Html::placeholder() — Method in class Html
- Html::poster() — Method in class Html
- Html::preload() — Method in class Html
- Image::place() — Method in class Image
Puts another image into this image.
- Image::paletteCopy() — Method in class Image
- Image::paletteToTrueColor() — Method in class Image
- Image::polygon() — Method in class Image
- Image::psText() — Method in class Image
- Paginator — Class in namespace Nette\Utils
Paginating math.
- $ Paginator#page — Property in class Paginator
- $ Paginator#pageCount — Property in class Paginator
- Strings::padLeft() — Method in class Strings
Pad a UTF-8 string to a certain length with another string.
- Strings::padRight() — Method in class Strings
Pad a UTF-8 string to a certain length with another string.
- Strings::pcre() — Method in class Strings
R
- CachingIterator::rewind() — Method in class CachingIterator
Rewinds the Iterator.
- Arrays::renameKey() — Method in class Arrays
Renames key in array.
- FileSystem::rename() — Method in class FileSystem
Renames a file or directory.
- FileSystem::read() — Method in class FileSystem
Reads file content.
- $ Html#radiogroup — Property in class Html
- $ Html#readonly — Property in class Html
- $ Html#rel — Property in class Html
- $ Html#required — Property in class Html
- $ Html#reversed — Property in class Html
- $ Html#rows — Property in class Html
- $ Html#rowspan — Property in class Html
- Html::removeAttribute() — Method in class Html
Unsets element's attribute.
- Html::removeAttributes() — Method in class Html
Unsets element's attributes.
- Html::removeChildren() — Method in class Html
Removes all children.
- Html::render() — Method in class Html
Renders element's start tag, content and end tag.
- Html::radiogroup() — Method in class Html
- Html::readonly() — Method in class Html
- Html::rel() — Method in class Html
- Html::required() — Method in class Html
- Html::reversed() — Method in class Html
- Html::rows() — Method in class Html
- Html::rowspan() — Method in class Html
- Image::rgb() — Method in class Image
Returns RGB color (0..255) and transparency (0..127).
- Image::resize() — Method in class Image
Resizes image.
- Image::rectangle() — Method in class Image
- Image::resolution() — Method in class Image
- Image::rotate() — Method in class Image
- Random — Class in namespace Nette\Utils
Secure random string generator.
- Reflection — Class in namespace Nette\Utils
PHP reflection helpers.
- RegexpException — Class in namespace Nette\Utils
The exception that indicates error of the last Regexp execution.
- Strings::reverse() — Method in class Strings
Reverse string.
- Strings::replace() — Method in class Strings
Perform a regular expression search and replace.
S
- SmartObject — Class in namespace Nette
Strict class for better experience.
- StaticClass — Class in namespace Nette
Static class.
- Arrays::searchKey() — Method in class Arrays
Searches the array for a given key and returns the offset if successful.
- Arrays::some() — Method in class Arrays
Tests whether some element in the array passes the callback test.
- $ Html#sandbox — Property in class Html
- $ Html#scope — Property in class Html
- $ Html#selected — Property in class Html
- $ Html#shape — Property in class Html
- $ Html#size — Property in class Html
- $ Html#sizes — Property in class Html
- $ Html#slot — Property in class Html
- $ Html#span — Property in class Html
- $ Html#spellcheck — Property in class Html
- $ Html#src — Property in class Html
- $ Html#srcdoc — Property in class Html
- $ Html#srclang — Property in class Html
- $ Html#srcset — Property in class Html
- $ Html#start — Property in class Html
- $ Html#step — Property in class Html
- $ Html#style — Property in class Html
- Html::setName() — Method in class Html
Changes element's name.
- Html::setAttribute() — Method in class Html
Sets element's attribute.
- Html::setHtml() — Method in class Html
Sets element's HTML content.
- Html::setText() — Method in class Html
Sets element's textual content.
- Html::startTag() — Method in class Html
Returns element's start tag.
- Html::sandbox() — Method in class Html
- Html::scope() — Method in class Html
- Html::selected() — Method in class Html
- Html::shape() — Method in class Html
- Html::size() — Method in class Html
- Html::sizes() — Method in class Html
- Html::slot() — Method in class Html
- Html::span() — Method in class Html
- Html::spellcheck() — Method in class Html
- Html::src() — Method in class Html
- Html::srcdoc() — Method in class Html
- Html::srclang() — Method in class Html
- Html::srcset() — Method in class Html
- Html::start() — Method in class Html
- Html::step() — Method in class Html
- Html::style() — Method in class Html
- Image::setImageResource() — Method in class Image
Sets image resource.
- Image::sharpen() — Method in class Image
Sharpen image.
- Image::save() — Method in class Image
Saves image to the file. Quality is 0..100 for JPEG and WEBP, 0..9 for PNG.
- Image::send() — Method in class Image
Outputs image to browser. Quality is 0..100 for JPEG and WEBP, 0..9 for PNG.
- Image::saveAlpha() — Method in class Image
- Image::scale() — Method in class Image
- Image::setBrush() — Method in class Image
- Image::setClip() — Method in class Image
- Image::setPixel() — Method in class Image
- Image::setStyle() — Method in class Image
- Image::setThickness() — Method in class Image
- Image::setTile() — Method in class Image
- Image::string() — Method in class Image
- Image::stringUp() — Method in class Image
- ObjectHelpers::strictGet() — Method in class ObjectHelpers
- ObjectHelpers::strictSet() — Method in class ObjectHelpers
- ObjectHelpers::strictCall() — Method in class ObjectHelpers
- ObjectHelpers::strictStaticCall() — Method in class ObjectHelpers
- ObjectMixin::setExtensionMethod() — Method in class ObjectMixin
- Paginator::setPage() — Method in class Paginator
Sets current page number.
- Paginator::setBase() — Method in class Paginator
Sets first page (base) number.
- Paginator::setItemsPerPage() — Method in class Paginator
Sets the number of items to display on a single page.
- Paginator::setItemCount() — Method in class Paginator
Sets the total number of items.
- Strings — Class in namespace Nette\Utils
String tools library.
- Strings::startsWith() — Method in class Strings
Starts the $haystack string with the prefix $needle?
- Strings::substring() — Method in class Strings
Returns a part of UTF-8 string.
- Strings::split() — Method in class Strings
Splits string by a regular expression.
T
- ITranslator::translate() — Method in class ITranslator
Translates the given string.
- Arrays::toObject() — Method in class Arrays
Converts array to object
- Callback::toString() — Method in class Callback
- Callback::toReflection() — Method in class Callback
- $ Html#tabindex — Property in class Html
- $ Html#target — Property in class Html
- $ Html#title — Property in class Html
- $ Html#translate — Property in class Html
- $ Html#type — Property in class Html
- Html::tabindex() — Method in class Html
- Html::target() — Method in class Html
- Html::title() — Method in class Html
- Html::translate() — Method in class Html
- Html::type() — Method in class Html
- Image::toString() — Method in class Image
Outputs image to string. Quality is 0..100 for JPEG and WEBP, 0..9 for PNG.
- Image::trueColorToPalette() — Method in class Image
- Image::ttfText() — Method in class Image
- Reflection::toString() — Method in class Reflection
- Strings::toAscii() — Method in class Strings
Converts UTF-8 string to ASCII.
- Strings::truncate() — Method in class Strings
Truncates UTF-8 string to maximal length.
- Strings::trim() — Method in class Strings
Strips whitespace from UTF-8 string.
U
- UnexpectedValueException — Class in namespace Nette
The exception that is thrown when a value (typically returned by function) does not match with the expected value.
- Callback::unwrap() — Method in class Callback
Unwraps closure created by Closure::fromCallable()
- $ Html#usemap — Property in class Html
- Html::usemap() — Method in class Html
- Strings::upper() — Method in class Strings
Converts UTF-8 string to upper case.
- UnknownImageFileException — Class in namespace Nette\Utils
The exception that indicates invalid image file.
V
- $ Html#value — Property in class Html
- Html::value() — Method in class Html
- Validators — Class in namespace Nette\Utils
Validation utilities.
- $ Validators#validators — Property in class Validators
W
- FileSystem::write() — Method in class FileSystem
Writes a string to a file.
- $ Html#width — Property in class Html
- $ Html#wrap — Property in class Html
- Html::width() — Method in class Html
- Html::wrap() — Method in class Html
- $ Image#width — Property in class Image
- Strings::webalize() — Method in class Strings
Converts UTF-8 string to web safe characters [a-z0-9-] text.
X
- $ Html#xhtml — Property in class Html
_
- CachingIterator::__construct() — Method in class CachingIterator
- Mapper::__construct() — Method in class Mapper
- SmartObject::__call() — Method in class SmartObject
- SmartObject::__callStatic() — Method in class SmartObject
- SmartObject::__get() — Method in class SmartObject
- SmartObject::__set() — Method in class SmartObject
- SmartObject::__unset() — Method in class SmartObject
- SmartObject::__isset() — Method in class SmartObject
- StaticClass::__construct() — Method in class StaticClass
- StaticClass::__callStatic() — Method in class StaticClass
Call to undefined static method.
- DateTime::__toString() — Method in class DateTime
- Html::__set() — Method in class Html
Overloaded setter for element's attribute.
- Html::__get() — Method in class Html
Overloaded getter for element's attribute.
- Html::__isset() — Method in class Html
Overloaded tester for element's attribute.
- Html::__unset() — Method in class Html
Overloaded unsetter for element's attribute.
- Html::__call() — Method in class Html
Overloaded setter for element's attribute.
- Html::__toString() — Method in class Html
Returns string in HTML format
- Html::__clone() — Method in class Html
Clones all children too.
- IHtmlString::__toString() — Method in class IHtmlString
Returns string in HTML format
- Image::__construct() — Method in class Image
Wraps GD image.
- Image::__toString() — Method in class Image
Outputs image to string.
- Image::__call() — Method in class Image
Call to undefined method.
- Image::__clone() — Method in class Image
- Image::__sleep() — Method in class Image
Prevents serialization.