A

ArrayAccessClass in namespace Nette\ComponentModel

Implementation of \ArrayAccess for IContainer.

Component::attached() — Method in class Component

This method will be called when the component (or component's parent) becomes attached to a monitored object. Do not call this method yourself.

Container::addComponent() — Method in class Container

Adds the component to the container.

IContainer::addComponent() — Method in class IContainer

Adds the component to the container.

C

ComponentClass in namespace Nette\ComponentModel

Component is the base class for all components.

ContainerClass in namespace Nette\ComponentModel

ComponentContainer is default implementation of IContainer.

$ Container#componentsProperty in class Container
Container::createComponent() — Method in class Container

Component factory. Delegates the creation of components to a createComponent method.

RecursiveComponentIterator::count() — Method in class RecursiveComponentIterator

Returns the count of elements.

D

Component::detached() — Method in class Component

This method will be called before the component (or component's parent) becomes detached from a monitored object. Do not call this method yourself.

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

Returns component specified by name or path.

Container::getComponents() — Method in class Container

Iterates over descendants components.

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

Iterates over descendants 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

IComponentClass in namespace Nette\ComponentModel

Provides functionality required by all components.

IContainerClass in namespace Nette\ComponentModel

Containers are objects that logically contain zero or more IComponent components.

L

Component::lookup() — Method in class Component

Finds the closest ancestor specified by class or interface name.

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 of ancestors.

N

$ Component#nameProperty 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#parentProperty in class Component

R

Container::removeComponent() — Method in class Container

Removes the component from the container.

IContainer::removeComponent() — Method in class IContainer

Removes the component from the container.

RecursiveComponentIteratorClass 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 of this component.

U

Component::unmonitor() — Method in class Component

Stops monitoring of ancestors.

V

Component::validateParent() — Method in class Component

Is called by a component when it is about to be set new parent. Descendant can override this method to disallow a parent change by throwing an Nette\InvalidStateException

Container::validateChildComponent() — Method in class Container

Descendant can override this method to disallow insert a child by throwing an Nette\InvalidStateException.

_

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

Object cloning.

Container::_isCloning() — Method in class Container

Is container cloning now?