Interface IComponent (namespace Nette)


Provides functionality required by all components.


Direct Known Sub-interfaces:

Copyright: Copyright (c) 2004, 2010 David Grudl
Located: in /IComponent.php (line 21)
Public Method Summary
string
getName ()
IComponentContainer|NULL
Returns the container if any.
void
setParent ([IComponentContainer $parent = NULL], [string $name = NULL])
Sets the parent of this component.
Constant Summary
string NAME_SEPARATOR '-'

line 24

Separator for component names in path concatenation.

Method Details

line 29

getName

public string getName ()

line 35

getParent

public IComponentContainer|NULL getParent ()

Returns the container if any.

line 43

setParent

public void setParent ([IComponentContainer $parent = NULL], [string $name = NULL])

Sets the parent of this component.

Input
IComponentContainer $parent
string $name