Packages

  • Nette
    • Application
    • Caching
    • Collections
    • Config
    • Forms
    • IO
    • Loaders
    • Mail
    • Reflection
    • Security
    • Templates
    • Web
  • None
  • PHP

Classes

  • NArrayTools
  • NCallback
  • NComponent
  • NComponentContainer
  • NConfigurator
  • NDateTime53
  • NDebug
  • NEnvironment
  • NFramework
  • NFreezableObject
  • NGenericRecursiveIterator
  • NImage
  • NImageMagick
  • NInstanceFilterIterator
  • NObject
  • NObjectMixin
  • NPaginator
  • NRecursiveComponentIterator
  • NServiceLocator
  • NSmartCachingIterator
  • NString
  • NTools

Interfaces

  • IComponent
  • IComponentContainer
  • IDebuggable
  • IServiceLocator
  • ITranslator

Exceptions

  • NAmbiguousServiceException
  • Overview
  • Package
  • Class
  • Tree
  • Other releases

Interface IComponentContainer

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

IComponentContainer implements IComponent

Direct known implementers

INamingContainer, NComponentContainer

Indirect known implementers

NAppForm, NControl, NForm, NFormContainer, NPresenter, NPresenterComponent
Package: Nette
Author: David Grudl
Located at ComponentModel/IComponentContainer.php
Methods summary
public
# addComponent( IComponent $component, string $name )

Adds the specified component to the IComponentContainer.

Adds the specified component to the IComponentContainer.

Parameters

$component
IComponent
$name
string
public
# removeComponent( IComponent $component )

Removes a component from the IComponentContainer.

Removes a component from the IComponentContainer.

Parameters

$component
IComponent
public IComponent|null
# getComponent( string $name )

Returns single component.

Returns single component.

Parameters

$name
string

Returns

IComponent|null
public ArrayIterator
# getComponents( boolean $deep = FALSE, string $filterType = NULL )

Iterates over a components.

Iterates over a components.

Parameters

$deep
boolean
recursive?
$filterType
string
class types filter

Returns

ArrayIterator
Methods inherited from IComponent
getName(), getParent(), setParent()
Constants inherited from IComponent
NAME_SEPARATOR
Nette Framework 0.9.7 (for PHP 5.2) API documentation generated by ApiGen 2.3.0