A

ArgumentOutOfRangeExceptionClass 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.

ArrayHashClass in namespace Nette\Utils

Provides objects to work as array.

ArrayListClass in namespace Nette\Utils

Provides the base class for a generic list (items can be accessed by index).

ArraysClass 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'.

AssertionExceptionClass in namespace Nette\Utils

The exception that indicates assertion error.

Floats::areEqual() — Method in class Floats

Returns true if $a = $b

$ Html#attrsProperty in class Html
$ Html#acceptProperty in class Html
$ Html#accesskeyProperty in class Html
$ Html#actionProperty in class Html
$ Html#alignProperty in class Html
$ Html#allowProperty in class Html
$ Html#altProperty in class Html
$ Html#asyncProperty in class Html
$ Html#autocapitalizeProperty in class Html
$ Html#autocompleteProperty in class Html
$ Html#autofocusProperty in class Html
$ Html#autoplayProperty 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::affine() — Method in class Image
Image::affineMatrixConcat() — Method in class Image
Image::affineMatrixGet() — Method in class Image
Image::alphaBlending() — Method in class Image
Image::antialias() — Method in class Image
Image::arc() — Method in class Image
Reflection::areCommentsAvailable() — Method in class Reflection

Finds out if reflection has access to PHPdoc comments. Comments may not be available due to the opcode cache.

Strings::after() — Method in class Strings

Returns part of $haystack after $nth occurence of $needle or returns null if the needle was not found.

Type::allows() — Method in class Type

Verifies type compatibility. For example, it checks if a value of a certain type could be passed as a parameter.

Validators::assert() — Method in class Validators

Verifies that the value is of expected types separated by pipe.

Validators::assertField() — Method in class Validators

Verifies that element $key in array is of expected types separated by pipe.

B

$ Paginator#baseProperty in class Paginator
Strings::before() — Method in class Strings

Returns part of $haystack before $nth occurence of $needle or returns null if the needle was not found.

C

CachingIteratorClass in namespace Nette\Iterators

Smarter caching iterator.

$ CachingIterator#counterProperty 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.

Arrays::contains() — Method in class Arrays

Tests an array for the presence of value.

CallbackClass in namespace Nette\Utils

PHP callable tools.

Callback::closure() — Method in class Callback
Callback::check() — Method in class Callback

Checks that $callable is valid PHP callback. Otherwise throws exception. If the $syntax is set to true, only verifies that $callable has a valid structure to be used as a callback, but does not verify if the class or method actually exists.

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 if it doesn't exist.

FileSystem::copy() — Method in class FileSystem

Copies a file or a directory. Overwrites existing files and directories by default.

Floats::compare() — Method in class Floats

Compare two floats. If $a < $b it returns -1, if they are equal it returns 0 and if $a > $b it returns 1

Helpers::capture() — Method in class Helpers

Executes a callback and returns the captured output as a string.

Helpers::clamp() — Method in class Helpers

Returns value clamped to the inclusive range of min and max.

$ Html#childrenProperty in class Html
$ Html#charsetProperty in class Html
$ Html#checkedProperty in class Html
$ Html#citeProperty in class Html
$ Html#classProperty in class Html
$ Html#colsProperty in class Html
$ Html#colspanProperty in class Html
$ Html#contentProperty in class Html
$ Html#contenteditableProperty in class Html
$ Html#controlsProperty in class Html
$ Html#coordsProperty in class Html
$ Html#crossoriginProperty 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#countdownOffsetProperty in class Paginator
Strings::checkEncoding() — Method in class Strings

Checks if the string is valid in UTF-8 encoding.

Strings::chr() — Method in class Strings

Returns a specific character in UTF-8 from code point (number in range 0x0000..D7FF or 0xE000..10FFFF).

Strings::contains() — Method in class Strings

Does $haystack contain $needle?

Strings::capitalize() — Method in class Strings

Converts the first character of every word of a UTF-8 string to upper case and the others to lower case.

Strings::compare() — Method in class Strings

Compares two UTF-8 strings or their parts, without taking character case into account. If length is null, whole strings are compared, if it is negative, the corresponding number of characters from the end of the strings is compared, otherwise the appropriate number of characters from the beginning is compared.

$ Validators#countersProperty in class Validators

D

DeprecatedExceptionClass in namespace Nette

The exception that is thrown when a requested method or operation is deprecated.

DirectoryNotFoundExceptionClass in namespace Nette

The exception that is thrown when part of a file or directory cannot be found.

DateTimeClass in namespace Nette\Utils
DateTime.
FileSystem::delete() — Method in class FileSystem

Deletes a file or directory if exists.

$ Html#dataProperty in class Html
$ Html#datetimeProperty in class Html
$ Html#decodingProperty in class Html
$ Html#defaultProperty in class Html
$ Html#deferProperty in class Html
$ Html#dirProperty in class Html
$ Html#dirnameProperty in class Html
$ Html#disabledProperty in class Html
$ Html#downloadProperty in class Html
$ Html#draggableProperty in class Html
$ Html#dropzoneProperty 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::detectTypeFromFile() — Method in class Image

Returns the type of image from file.

Image::detectTypeFromString() — Method in class Image

Returns the type of image from string.

Json::decode() — Method in class Json

Parses JSON to PHP value. The flag can be Json::FORCE_ARRAY, which forces an array instead of an object as the return value.

E

$ CachingIterator#emptyProperty in class CachingIterator
$ CachingIterator#evenProperty in class CachingIterator
Arrays::every() — Method in class Arrays

Tests whether all elements in the array pass the test implemented by the provided function, which has the signature function ($value, $key, array $array): bool.

$ Html#emptyElementsProperty in class Html
$ Html#enctypeProperty in class Html
Html::el() — Method in class Html

Constructs new HTML element.

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

Converts value to JSON format. The flag can be Json::PRETTY, which formats JSON for easier reading and clarity, and Json::ESCAPE_UNICODE for ASCII output.

Reflection::expandClassName() — Method in class Reflection

Expands the name of the class to full name in the given context of given class.

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 types separated by pipe.

F

FileNotFoundExceptionClass in namespace Nette

The exception that is thrown when accessing a file that does not exist on disk.

$ CachingIterator#firstProperty in class CachingIterator
ArrayHash::from() — Method in class ArrayHash

Transforms array to ArrayHash.

ArrayList::from() — Method in class ArrayList

Transforms array to ArrayList.

Arrays::first() — Method in class Arrays

Returns the first item from the array or null if array is empty.

Arrays::flatten() — Method in class Arrays

Transforms multidimensional array to flat array.

DateTime::from() — Method in class DateTime

Creates a DateTime object from a string, UNIX timestamp, or other DateTimeInterface object.

DateTime::fromParts() — Method in class DateTime

Creates DateTime object.

FileSystemClass in namespace Nette\Utils

File system tool.

FloatsClass in namespace Nette\Utils

Floating-point numbers comparison.

Helpers::falseToNull() — Method in class Helpers

Converts false to null, does not change other values.

$ Html#forProperty in class Html
$ Html#formProperty in class Html
$ Html#formactionProperty in class Html
$ Html#formenctypeProperty in class Html
$ Html#formmethodProperty in class Html
$ Html#formnovalidateProperty in class Html
$ Html#formtargetProperty in class Html
Html::fromHtml() — Method in class Html

Returns an object representing HTML text.

Html::fromText() — Method in class Html

Returns an object representing plain text.

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

Reads an image from a file and returns its type in $type.

Image::fromString() — Method in class Image

Reads an image from a string and returns its type in $type.

Image::fromBlank() — Method in class Image

Creates a new true color image of the given dimensions. The default color is black.

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#firstPageProperty in class Paginator
$ Paginator#firstItemOnPageProperty in class Paginator
$ Paginator#firstProperty in class Paginator
Strings::fixEncoding() — Method in class Strings

Removes all invalid UTF-8 characters from a string.

Strings::firstLower() — Method in class Strings

Converts the first character of a UTF-8 string to lower case and leaves the other characters unchanged.

Strings::firstUpper() — Method in class Strings

Converts the first character of a UTF-8 string to upper case and leaves the other characters unchanged.

Strings::findPrefix() — Method in class Strings

Finds the common prefix of strings or returns empty string if the prefix was not found.

Type::fromReflection() — Method in class Type

Creates a Type object based on reflection. Resolves self, static and parent to the actual class name.

Type::fromString() — Method in class Type

Creates the Type object according to the text notation.

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. If it does not exist, it throws an exception, unless a default value is set.

Arrays::getRef() — Method in class Arrays

Returns reference to array item. If the index does not exist, new one is created with value null.

Arrays::getKeyOffset() — Method in class Arrays

Returns zero-indexed position of given array key. Returns null if key is not found.

Arrays::grep() — Method in class Arrays

Returns only those array items, which matches a regular expression $pattern.

Helpers::getLastError() — Method in class Helpers

Returns the last occurred PHP error or an empty string if no error occurred. Unlike error_get_last(), it is nit affected by the PHP directive html_errors and always returns text, not HTML.

Helpers::getSuggestion() — Method in class Helpers

Looks for a string from possibilities that is most similar to value, but not the same (for 8-bit encoding).

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::getFirstItemOnPage() — Method in class Paginator

Returns the sequence number of the first element on the page

Paginator::getLastItemOnPage() — Method in class Paginator

Returns the sequence number of the last element on the page

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

Generates a random string of given length from characters specified in second argument.

Reflection::getReturnType() — Method in class Reflection

Returns the type of return value of given function or method and normalizes self, static, and parent to actual class names.

Reflection::getReturnTypes() — Method in class Reflection
Reflection::getParameterType() — Method in class Reflection

Returns the type of given parameter and normalizes self and parent to the actual class names.

Reflection::getParameterTypes() — Method in class Reflection
Reflection::getPropertyType() — Method in class Reflection

Returns the type of given property and normalizes self and parent to the actual class names.

Reflection::getPropertyTypes() — Method in class Reflection
Reflection::getParameterDefaultValue() — Method in class Reflection

Returns the default value of parameter. If it is a constant, it returns its value.

Reflection::getPropertyDeclaringClass() — Method in class Reflection

Returns a reflection of a class or trait that contains a declaration of given property. Property can also be declared in the trait.

Reflection::getMethodDeclaringMethod() — Method in class Reflection

Returns a reflection of a method that contains a declaration of $method.

Reflection::getUseStatements() — Method in class Reflection
Type::getNames() — Method in class Type

Returns the array of subtypes that make up the compound type as strings.

Type::getTypes() — Method in class Type

Returns the array of subtypes that make up the compound type as Type objects:

Type::getSingleName() — Method in class Type

Returns the type name for single types, otherwise null.

H

HtmlStringableClass in namespace Nette
HelpersClass in namespace Nette\Utils
HtmlClass in namespace Nette\Utils

HTML helper.

$ Html#headersProperty in class Html
$ Html#heightProperty in class Html
$ Html#hiddenProperty in class Html
$ Html#highProperty in class Html
$ Html#hrefProperty in class Html
$ Html#hreflangProperty in class Html
Html::htmlToText() — Method in class Html

Converts given HTML code to plain text.

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#heightProperty in class Image
ObjectHelpers::hasProperty() — Method in class ObjectHelpers

Checks if the public non-static property exists.

I

IOExceptionClass in namespace Nette

The exception that is thrown when an I/O error occurs.

InvalidArgumentExceptionClass in namespace Nette

The exception that is thrown when an argument does not match with the expected value.

InvalidStateExceptionClass 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?

ITranslatorClass in namespace Nette\Localization
Arrays::insertBefore() — Method in class Arrays

Inserts the contents of the $inserted array into the $array immediately after the $key.

Arrays::insertAfter() — Method in class Arrays

Inserts the contents of the $inserted array into the $array before the $key.

Arrays::isList() — Method in class Arrays

Checks if the array is indexed in ascending order of numeric keys from zero, a.k.a list.

Arrays::invoke() — Method in class Arrays

Invokes all callbacks and returns array of results.

Arrays::invokeMethod() — Method in class Arrays

Invokes method on every object in an array and returns array of results.

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

Checks whether PHP callback is function or static method.

FileSystem::isAbsolute() — Method in class FileSystem

Determines if the path is absolute.

Floats::isZero() — Method in class Floats
Floats::isInteger() — Method in class Floats
Floats::isLessThan() — Method in class Floats

Returns true if $a < $b

Floats::isLessThanOrEqualTo() — Method in class Floats

Returns true if $a <= $b

Floats::isGreaterThan() — Method in class Floats

Returns true if $a > $b

Floats::isGreaterThanOrEqualTo() — Method in class Floats

Returns true if $a >= $b

$ Html#idProperty in class Html
$ Html#integrityProperty in class Html
$ Html#inputmodeProperty in class Html
$ Html#ismapProperty in class Html
$ Html#itempropProperty 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
IHtmlStringClass in namespace Nette\Utils
ImageClass in namespace Nette\Utils

Basic manipulation with images. Supported types are JPEG, PNG, GIF, WEBP and BMP.

$ Image#imageResourceProperty in class Image
Image::interlace() — Method in class Image
Image::isTrueColor() — Method in class Image
ImageExceptionClass in namespace Nette\Utils

The exception that is thrown when an image error occurs.

$ Paginator#itemsPerPageProperty in class Paginator
$ Paginator#itemCountProperty 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

Determines if type is PHP built-in type. Otherwise, it is the class name.

Reflection::isClassKeyword() — Method in class Reflection

Determines if type is special class name self/parent/static.

Strings::indent() — Method in class Strings

Indents a multiline text from the left. Second argument sets how many indentation chars should be used, while the indent itself is the third argument (tab by default).

Strings::indexOf() — Method in class Strings

Returns position in characters of $nth occurence of $needle in $haystack or null if the $needle was not found.

Type::isUnion() — Method in class Type

Returns true whether it is a union type.

Type::isIntersection() — Method in class Type

Returns true whether it is an intersection type.

Type::isSingle() — Method in class Type

Returns true whether it is a single type. Simple nullable types are also considered to be single types.

Type::isBuiltin() — Method in class Type

Returns true whether the type is both a single and a PHP built-in type.

Type::isClass() — Method in class Type

Returns true whether the type is both a single and a class name.

Type::isClassKeyword() — Method in class Type

Determines if type is special class name self/parent/static.

Validators::is() — Method in class Validators

Verifies that the value is of expected types separated by pipe.

Validators::isNumber() — Method in class Validators

Checks if the value is an integer or a float.

Validators::isNumericInt() — Method in class Validators

Checks if the value is an integer or a integer written in a string.

Validators::isNumeric() — Method in class Validators

Checks if the value is a number or a number written in a string.

Validators::isCallable() — Method in class Validators

Checks if the value is a syntactically correct callback.

Validators::isUnicode() — Method in class Validators

Checks if the value is a valid UTF-8 string.

Validators::isNone() — Method in class Validators

Checks if the value is 0, '', false or null.

Validators::isMixed() — Method in class Validators
Validators::isList() — Method in class Validators

Checks if a variable is a zero-based integer indexed array.

Validators::isInRange() — Method in class Validators

Checks if the value is in the given range [min, max], where the upper or lower limit can be omitted (null).

Validators::isEmail() — Method in class Validators

Checks if the value is a valid email address. It does not verify that the domain actually exists, only the syntax is verified.

Validators::isUrl() — Method in class Validators

Checks if the value is a valid URL address.

Validators::isUri() — Method in class Validators

Checks if the value is a valid URI address, that is, actually a string beginning with a syntactically valid schema.

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).

FileSystem::joinPaths() — Method in class FileSystem

Joins all segments of the path and normalizes the result.

JsonClass in namespace Nette\Utils

JSON encoder and decoder.

JsonExceptionClass in namespace Nette\Utils

The exception that indicates error of JSON encoding/decoding.

K

$ Html#kindProperty in class Html
Html::kind() — Method in class Html

L

$ CachingIterator#lastProperty in class CachingIterator
Arrays::last() — Method in class Arrays

Returns the last item from the array or null if array is empty.

$ Html#labelProperty in class Html
$ Html#langProperty in class Html
$ Html#listProperty in class Html
$ Html#loopProperty in class Html
$ Html#lowProperty 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#lastPageProperty in class Paginator
$ Paginator#lastItemOnPageProperty in class Paginator
$ Paginator#lastProperty in class Paginator
$ Paginator#lengthProperty in class Paginator
Strings::lower() — Method in class Strings

Converts all characters of UTF-8 string to lower case.

Strings::length() — Method in class Strings

Returns number of characters (not bytes) in UTF-8 string.

M

MapperClass in namespace Nette\Iterators

Applies the callback to the elements of the inner iterator.

MemberAccessExceptionClass in namespace Nette

The exception that is thrown when accessing a class member (property or method) fails.

Arrays::mergeTree() — Method in class Arrays

Recursively merges two fields. It is useful, for example, for merging tree structures. It behaves as the + operator for array, ie. it adds a key/value pair from the second array to the first one and retains the value from the first array in the case of a key collision.

Arrays::map() — Method in class Arrays

Calls $callback on all elements in the array and returns the array of return values.

DateTime::modifyClone() — Method in class DateTime

Creates a copy with a modified time.

FileSystem::makeWritable() — Method in class FileSystem

Fixes permissions to a specific file or directory. Directories can be fixed recursively.

$ Html#maxProperty in class Html
$ Html#maxlengthProperty in class Html
$ Html#minlengthProperty in class Html
$ Html#mediaProperty in class Html
$ Html#methodProperty in class Html
$ Html#minProperty in class Html
$ Html#multipleProperty in class Html
$ Html#mutedProperty 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

Checks if given string matches a regular expression pattern and returns an array with first found match and each subpattern.

Strings::matchAll() — Method in class Strings

Finds all occurrences matching regular expression pattern and returns a two-dimensional array. Result is array of matches (ie uses by default PREG_SET_ORDER).

N

$ CachingIterator#nextKeyProperty in class CachingIterator
$ CachingIterator#nextValueProperty in class CachingIterator
CachingIterator::next() — Method in class CachingIterator

Forwards to the next element.

NotImplementedExceptionClass in namespace Nette

The exception that is thrown when a requested method or operation is not implemented.

NotSupportedExceptionClass 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 array to associative array. Replace numeric keys with their values, the new value will be $filling.

FileSystem::normalizePath() — Method in class FileSystem

Normalizes .. and . and directory separators in path.

$ Html#nameProperty in class Html
$ Html#novalidateProperty in class Html
Html::name() — Method in class Html
Html::novalidate() — Method in class Html
Strings::normalize() — Method in class Strings

Removes control characters, normalizes line breaks to \n, removes leading and trailing blank lines, trims end spaces on lines, normalizes UTF-8 to the normal form of NFC.

Strings::normalizeNewLines() — Method in class Strings

Standardize line endings to unix-like.

O

$ CachingIterator#oddProperty in class CachingIterator
OutOfRangeExceptionClass 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#openProperty in class Html
$ Html#optimumProperty 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
ObjectHelpersClass in namespace Nette\Utils

Nette\SmartObject helpers.

ObjectMixinClass in namespace Nette\Utils

Nette\Object behaviour mixin.

$ Paginator#offsetProperty in class Paginator

P

ArrayList::prepend() — Method in class ArrayList

Prepends a item.

Arrays::pick() — Method in class Arrays

Returns and removes the value of an item from an array. If it does not exist, it throws an exception, or returns $default, if provided.

$ Html#patternProperty in class Html
$ Html#pingProperty in class Html
$ Html#placeholderProperty in class Html
$ Html#posterProperty in class Html
$ Html#preloadProperty 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
PaginatorClass in namespace Nette\Utils

Paginating math.

$ Paginator#pageProperty in class Paginator
$ Paginator#pageCountProperty in class Paginator
Strings::padLeft() — Method in class Strings

Pads a UTF-8 string to given length by prepending the $pad string to the beginning.

Strings::padRight() — Method in class Strings

Pads UTF-8 string to given length by appending the $pad string to the end.

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 or moves a file or a directory. Overwrites existing files and directories by default.

FileSystem::read() — Method in class FileSystem

Reads the content of a file.

$ Html#radiogroupProperty in class Html
$ Html#readonlyProperty in class Html
$ Html#relProperty in class Html
$ Html#requiredProperty in class Html
$ Html#reversedProperty in class Html
$ Html#rowsProperty in class Html
$ Html#rowspanProperty 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

Scales an image.

Image::rectangle() — Method in class Image
Image::resolution() — Method in class Image
Image::rotate() — Method in class Image
RandomClass in namespace Nette\Utils

Secure random string generator.

ReflectionClass in namespace Nette\Utils

PHP reflection helpers.

RegexpExceptionClass in namespace Nette\Utils

The exception that indicates error of the last Regexp execution.

Strings::reverse() — Method in class Strings

Reverses UTF-8 string.

Strings::replace() — Method in class Strings

Replaces all occurrences matching regular expression $pattern which can be string or array in the form pattern => replacement.

Type::resolve() — Method in class Type

Resolves 'self', 'static' and 'parent' to the actual class name.

S

SmartObjectClass in namespace Nette

Strict class for better experience.

StaticClassClass in namespace Nette

Static class.

Arrays::searchKey() — Method in class Arrays
Arrays::some() — Method in class Arrays

Tests whether at least one element in the array passes the test implemented by the provided callback with signature function ($value, $key, array $array): bool.

$ Html#sandboxProperty in class Html
$ Html#scopeProperty in class Html
$ Html#selectedProperty in class Html
$ Html#shapeProperty in class Html
$ Html#sizeProperty in class Html
$ Html#sizesProperty in class Html
$ Html#slotProperty in class Html
$ Html#spanProperty in class Html
$ Html#spellcheckProperty in class Html
$ Html#srcProperty in class Html
$ Html#srcdocProperty in class Html
$ Html#srclangProperty in class Html
$ Html#srcsetProperty in class Html
$ Html#startProperty in class Html
$ Html#stepProperty in class Html
$ Html#styleProperty 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

Sharpens image a little bit.

Image::save() — Method in class Image

Saves image to the file. Quality is in the range 0..100 for JPEG (default 85) and WEBP (default 80) and 0..9 for PNG (default 9).

Image::send() — Method in class Image

Outputs image to browser. Quality is in the range 0..100 for JPEG (default 85) and WEBP (default 80) and 0..9 for PNG (default 9).

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::setInterpolation() — 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.

StringsClass 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 specified by starting position and length. If start is negative, the returned string will start at the start'th character from the end of string.

Strings::split() — Method in class Strings

Splits a string into array by the regular expression. Parenthesized expression in the delimiter are captured.

T

TranslatorClass in namespace Nette\Localization

Translator adapter.

Translator::translate() — Method in class Translator

Translates the given string.

Arrays::toObject() — Method in class Arrays

Copies the elements of the $array array to the $object object and then returns it.

Arrays::toKey() — Method in class Arrays

Converts value to array key.

Callback::toString() — Method in class Callback

Converts PHP callback to textual form. Class or method may not exists.

Callback::toReflection() — Method in class Callback

Returns reflection for method or function used in PHP callback.

$ Html#tabindexProperty in class Html
$ Html#targetProperty in class Html
$ Html#titleProperty in class Html
$ Html#translateProperty in class Html
$ Html#typeProperty in class Html
Html::toHtml() — Method in class Html

Converts to HTML.

Html::toText() — Method in class Html

Converts to plain text.

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::typeToExtension() — Method in class Image

Returns the file extension for the given Image::XXX constant.

Image::typeToMimeType() — Method in class Image

Returns the mime type for the given Image::XXX constant.

Image::toString() — Method in class Image

Outputs image to string. Quality is in the range 0..100 for JPEG (default 85) and WEBP (default 80) and 0..9 for PNG (default 9).

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, ie removes diacritics etc.

Strings::truncate() — Method in class Strings

Truncates a UTF-8 string to given maximal length, while trying not to split whole words. Only if the string is truncated, an ellipsis (or something else set with third argument) is appended to the string.

Strings::trim() — Method in class Strings

Removes all left and right side spaces (or the characters passed as second argument) from a UTF-8 encoded string.

TypeClass in namespace Nette\Utils

PHP type reflection.

U

UnexpectedValueExceptionClass 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#usemapProperty in class Html
Html::usemap() — Method in class Html
Strings::upper() — Method in class Strings

Converts all characters of a UTF-8 string to upper case.

UnknownImageFileExceptionClass in namespace Nette\Utils

The exception that indicates invalid image file.

V

$ Html#valueProperty in class Html
Html::value() — Method in class Html
ValidatorsClass in namespace Nette\Utils

Validation utilities.

$ Validators#validatorsProperty in class Validators

W

Arrays::wrap() — Method in class Arrays

Returns copy of the $array where every item is converted to string and prefixed by $prefix and suffixed by $suffix.

FileSystem::write() — Method in class FileSystem

Writes the string to a file.

$ Html#widthProperty in class Html
$ Html#wrapProperty in class Html
Html::width() — Method in class Html
Html::wrap() — Method in class Html
$ Image#widthProperty in class Image
Strings::webalize() — Method in class Strings

Modifies the UTF-8 string to the form used in the URL, ie removes diacritics and replaces all characters except letters of the English alphabet and numbers with a hyphens.

X

$ Html#xhtmlProperty in class Html

_

HtmlStringable::__toString() — Method in class HtmlStringable

Returns string in HTML format

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

Returns the date and time in the format 'Y-m-d H:i:s'.

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.

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.

Type::__toString() — Method in class Type