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.
- Filter::accept() — Method in class Filter
- 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::addAttributes() — Method in class Html
Sets multiple attributes.
- Html::add() — Method in class Html
Adds new element's child.
- Html::attributes() — Method in class Html
Returns element's attributes.
- Image::alphaBlending() — Method in class Image
- Image::antialias() — Method in class Image
- Image::arc() — Method in class Image
- Validators::assert() — Method in class Validators
Throws exception if a variable is of unexpected type.
- Validators::assertField() — Method in class Validators
Throws exception if an array field is missing or of unexpected type.
B
- $ Paginator#base — Property in class Paginator
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.
- $ Filter#callback — Property in class Filter
- 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::create() — Method in class Html
Creates and adds a new Html child.
- Html::count() — Method in class Html
Returns children count.
- 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
- ObjectMixin::call() — Method in class ObjectMixin
__call() implementation.
- ObjectMixin::callStatic() — Method in class ObjectMixin
__callStatic() implementation.
- ObjectMixin::checkType() — Method in class ObjectMixin
Finds whether a variable is of expected type and do non-data-loss conversion.
- $ 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.
- Strings::contains() — Method in class Strings
Does $haystack contain $needle?
- Strings::capitalize() — Method in class Strings
Capitalize 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.
- Image::dashedLine() — Method in class Image
- Json::decode() — Method in class Json
Decodes a JSON string.
E
- $ CachingIterator#empty — Property in class CachingIterator
- $ CachingIterator#even — Property in class CachingIterator
- Object::extensionMethod() — Method in class Object
Adding method to class.
- $ Html#emptyElements — Property in class Html
- Html::el() — Method in class Html
Static factory.
- Html::endTag() — Method in class Html
Returns element's end tag.
- Image::ellipse() — Method in class Image
- Json::encode() — Method in class Json
Returns the JSON representation of a value.
- Strings::endsWith() — Method in class Strings
Ends the $haystack string with the suffix $needle?
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
- Filter — Class in namespace Nette\Iterators
CallbackFilterIterator for PHP < 5.4.
- ArrayHash::from() — Method in class ArrayHash
- Arrays::flatten() — Method in class Arrays
Returns flattened array.
- DateTime::from() — Method in class DateTime
DateTime object factory.
- FileSystem — Class in namespace Nette\Utils
File system tool.
- 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::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::firstUpper() — Method in class Strings
Convert 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.
- RecursiveFilter::getChildren() — Method in class RecursiveFilter
- Object::getReflection() — Method in class Object
Access to reflection.
- 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.
- DateTime::getTimestamp() — Method in class DateTime
- Html::getName() — Method in class Html
Returns element's name.
- 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 a elements.
- Html::getChildren() — Method in class Html
Returns all of children.
- Image::getFormatFromString() — Method in class Image
Get format from the image stream in the string.
- 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
- ObjectMixin::get() — Method in class ObjectMixin
__get() implementation.
- ObjectMixin::getMagicMethods() — Method in class ObjectMixin
Returns array of magic methods defined by annotation @method.
- ObjectMixin::getExtensionMethod() — Method in class ObjectMixin
Returns extension method.
- ObjectMixin::getSuggestion() — Method in class ObjectMixin
Finds the best suggestion (for 8-bit encoding).
- 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.
H
- RecursiveFilter::hasChildren() — Method in class RecursiveFilter
- Html — Class in namespace Nette\Utils
HTML helper.
- Html::href() — Method in class Html
Special setter for element's attribute.
- $ Image#height — Property in class Image
- ObjectMixin::has() — Method in class ObjectMixin
__isset() implementation.
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::isEmpty() — Method in class Html
Is element empty?
- Html::insert() — Method in class Html
Inserts child node.
- 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
- $ 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?
- Strings::indent() — Method in class Strings
Indents the content from the left.
- Validators::is() — Method in class Validators
Finds whether a variable is of expected type.
- 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::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 range?
- 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
- 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.
L
- $ CachingIterator#last — Property in class CachingIterator
- 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
Convert 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.
- DateTime::modifyClone() — Method in class DateTime
- $ RegexpException#messages — Property in class RegexpException
- Strings::match() — Method in class Strings
Performs a regular expression match.
- Strings::matchAll() — Method in class Strings
Performs a global regular expression match.
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.
- Strings::normalize() — Method in class Strings
Removes special controls characters and normalizes line endings and spaces.
- Strings::normalizeNewLines() — Method in class Strings
Standardize line endings to unix-like.
O
- $ CachingIterator#odd — Property in class CachingIterator
- Object — Class in namespace Nette
Nette\Object is the ultimate ancestor of all instantiable classes.
- 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::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).
- ObjectMixin — Class in namespace Nette\Utils
Nette\Object behaviour mixin.
- $ Paginator#offset — Property in class Paginator
P
- Image::place() — Method in class Image
Puts another image into this image.
- Image::paletteCopy() — 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 string to a certain length with another string.
- Strings::padRight() — Method in class Strings
Pad a string to a certain length with another string.
- Strings::pcre() — Method in class Strings
R
- CachingIterator::rewind() — Method in class CachingIterator
Rewinds the Iterator.
- RecursiveFilter — Class in namespace Nette\Iterators
RecursiveCallbackFilterIterator for PHP < 5.4.
- $ Object#reflection — Property in class Object
- Arrays::renameKey() — Method in class Arrays
Renames key in array.
- FileSystem::rename() — Method in class FileSystem
Renames a file or directory.
- Html::removeChildren() — Method in class Html
Removed all children.
- Html::render() — Method in class Html
Renders element's start tag, content and end tag.
- Image::rgb() — Method in class Image
Returns RGB color.
- Image::resize() — Method in class Image
Resizes image.
- Image::rectangle() — Method in class Image
- Image::rotate() — Method in class Image
- ObjectMixin::remove() — Method in class ObjectMixin
__unset() implementation.
- Random — Class in namespace Nette\Utils
Secure random string generator.
- 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::random() — Method in class Strings
Use Nette\Utils\Random::generate
- Strings::replace() — Method in class Strings
Perform a regular expression search and replace.
S
- StaticClassException — Class in namespace Nette
The exception that is thrown when static class is instantiated.
- Arrays::searchKey() — Method in class Arrays
Searches the array for a given key and returns the offset if successful.
- DateTime::setTimestamp() — Method in class DateTime
- Html::setName() — Method in class Html
Changes element's name.
- 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.
- 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.
- Image::send() — Method in class Image
Outputs image to browser.
- Image::saveAlpha() — Method in class Image
- Image::setBrush() — 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
- ObjectMixin::set() — Method in class ObjectMixin
__set() implementation.
- ObjectMixin::setExtensionMethod() — Method in class ObjectMixin
Adds a method to class.
- 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.
- Callback::toString() — Method in class Callback
- Callback::toReflection() — Method in class Callback
- Image::toString() — Method in class Image
Outputs image to string.
- Image::trueColorToPalette() — Method in class Image
- Image::ttfText() — Method in class Image
- Strings::toAscii() — Method in class Strings
Converts to ASCII.
- Strings::truncate() — Method in class Strings
Truncates string to maximal length.
- Strings::trim() — Method in class Strings
Strips whitespace.
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 self::closure(), used i.e. by ObjectMixin in PHP < 5.4
- Strings::upper() — Method in class Strings
Convert to upper case.
- UnknownImageFileException — Class in namespace Nette\Utils
The exception that indicates invalid image file.
V
- 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.
- $ Image#width — Property in class Image
- Strings::webalize() — Method in class Strings
Converts to web safe characters [a-z0-9-] text.
X
- $ Html#xhtml — Property in class Html
_
- CachingIterator::__construct() — Method in class CachingIterator
- CachingIterator::__call() — Method in class CachingIterator
Call to undefined method.
- CachingIterator::__get() — Method in class CachingIterator
Returns property value. Do not call directly.
- CachingIterator::__set() — Method in class CachingIterator
Sets value of a property. Do not call directly.
- CachingIterator::__isset() — Method in class CachingIterator
Is property defined?
- CachingIterator::__unset() — Method in class CachingIterator
Access to undeclared property.
- Filter::__construct() — Method in class Filter
- Mapper::__construct() — Method in class Mapper
- RecursiveFilter::__construct() — Method in class RecursiveFilter
- Object::__call() — Method in class Object
Call to undefined method.
- Object::__callStatic() — Method in class Object
Call to undefined static method.
- Object::__get() — Method in class Object
Returns property value. Do not call directly.
- Object::__set() — Method in class Object
Sets value of a property. Do not call directly.
- Object::__isset() — Method in class Object
Is property defined?
- Object::__unset() — Method in class Object
Access to undeclared property.
- Arrays::__construct() — Method in class Arrays
Static class - cannot be instantiated.
- DateTime::__toString() — Method in class DateTime
- Html::__set() — Method in class Html
Sets value of a property. Do not call directly.
- Html::__get() — Method in class Html
Returns property value. Do not call directly.
- Html::__isset() — Method in class Html
Is property defined?
- Html::__unset() — Method in class Html
Access to undeclared property.
- Html::__call() — Method in class Html
Call to undefined method.
- Html::__toString() — Method in class Html
- Html::__clone() — Method in class Html
Clones all children too.
- IHtmlString::__toString() — Method in class IHtmlString
- 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
- Json::__construct() — Method in class Json
Static class - cannot be instantiated.
- ObjectMixin::__construct() — Method in class ObjectMixin
Static class - cannot be instantiated.
- RegexpException::__construct() — Method in class RegexpException
- Strings::__construct() — Method in class Strings
Static class - cannot be instantiated.