Index
A
- ArrayAccess — Class in namespace Nette\ComponentModel
- Implementation of \ArrayAccess for IContainer. 
- Container::addComponent() — Method in class Container
- Adds a child component to the container. 
- IContainer::addComponent() — Method in class IContainer
- Adds the component to the container. 
C
- Component — Class in namespace Nette\ComponentModel
- Base class for all components. Components have a parent, name, and can be monitored by ancestors. 
- Container — Class in namespace Nette\ComponentModel
- Manages a collection of child components. 
- $ Container#components — Property in class Container
- Container::createComponent() — Method in class Container
- Creates a new component. Delegates creation to createComponent - method if it exists. 
- RecursiveComponentIterator::count() — Method in class RecursiveComponentIterator
- Returns the count of elements. 
G
- Component::getName() — Method in class Component
- Component::getParent() — Method in class Component
- Returns the parent container if any. 
- Container::getComponent() — Method in class Container
- Retrieves a child component by name or creates it if it doesn't exist. 
- Container::getComponents() — Method in class Container
- Returns all immediate child components. 
- Container::getComponentTree() — Method in class Container
- Retrieves the entire hierarchy of components, including all nested child components (depth-first). 
- IComponent::getName() — Method in class IComponent
- IComponent::getParent() — Method in class IComponent
- Returns the parent container if any. 
- IContainer::getComponent() — Method in class IContainer
- Returns component specified by name or path. 
- IContainer::getComponents() — Method in class IContainer
- Returns immediate child components. 
- RecursiveComponentIterator::getChildren() — Method in class RecursiveComponentIterator
- The sub-iterator for the current element. 
H
- RecursiveComponentIterator::hasChildren() — Method in class RecursiveComponentIterator
- Has the current element has children? 
I
- IComponent — Class in namespace Nette\ComponentModel
- Defines core functionality required by all components. 
- IContainer — Class in namespace Nette\ComponentModel
- Defines functionality for objects that can contain other components. 
L
- Component::lookup() — Method in class Component
- Finds the closest ancestor of specified type. 
- Component::lookupPath() — Method in class Component
- Finds the closest ancestor specified by class or interface name and returns backtrace path. 
M
- Component::monitor() — Method in class Component
- Starts monitoring ancestors for attach/detach events. 
N
- $ Component#name — Property in class Component
O
- ArrayAccess::offsetSet() — Method in class ArrayAccess
- Adds the component to the container. 
- ArrayAccess::offsetGet() — Method in class ArrayAccess
- Returns component specified by name. Throws exception if component doesn't exist. 
- ArrayAccess::offsetExists() — Method in class ArrayAccess
- Does component specified by name exists? 
- ArrayAccess::offsetUnset() — Method in class ArrayAccess
- Removes component from the container. 
P
- $ Component#parent — Property in class Component
R
- Container::removeComponent() — Method in class Container
- Removes a child component from the container. 
- IContainer::removeComponent() — Method in class IContainer
- Removes the component from the container. 
- RecursiveComponentIterator — Class in namespace Nette\ComponentModel
- Recursive component iterator. See Container::getComponents(). 
S
- Component::setParent() — Method in class Component
- Sets or removes the parent of this component. This method is managed by containers and should not be called by applications 
- IComponent::setParent() — Method in class IComponent
- Sets the parent container and optionally renames the component. 
U
- Component::unmonitor() — Method in class Component
- Stops monitoring ancestors of specified type. 
V
- Component::validateParent() — Method in class Component
- Validates the new parent before it's set. 
- Container::validateChildComponent() — Method in class Container
- Validates a child component before it's added to the container. 
_
- Component::__clone() — Method in class Component
- Object cloning. 
- Component::__sleep() — Method in class Component
- Prevents serialization. 
- Component::__wakeup() — Method in class Component
- Prevents unserialization. 
- Container::__clone() — Method in class Container
- Handles object cloning. Clones all child components and re-sets their parents. 
- Container::_isCloning() — Method in class Container
- Is container cloning now?