프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$onAnchor | function (self $sender); Occurs when component is attached to presenter |
프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$params | array |
메소드 | 설명 | |
---|---|---|
__clone ( ) | Object cloning. | |
_isCloning ( ) : null | Nette\ComponentModel\IComponent | Is container cloning now? | |
addComponent ( Nette\ComponentModel\IComponent $component, $name, $insertBefore = NULL ) : self | Adds the specified component to the IContainer. | |
checkRequirements ( $element ) : void | Checks for requirements such as authorization. | |
formatSignalMethod ( $signal ) : string | Formats signal handler method name -> case sensitivity doesn't matter. | |
getComponent ( $name, $need = TRUE ) : Nette\ComponentModel\IComponent | null | Returns component specified by name or path. | |
getComponents ( $deep = FALSE, $filterType = NULL ) : ArrayIterator | Iterates over components. | |
getParam ( $name = NULL, $default = NULL ) | ||
getParameter ( $name, $default = NULL ) : mixed | Returns component param. | |
getParameterId ( $name ) : string | Returns a fully-qualified name that uniquely identifies the parameter. | |
getParameters ( ) : array | Returns component parameters. | |
getPersistentParams ( ) : array | Returns array of classes persistent parameters. They have public visibility and are non-static. | |
getPresenter ( $need = TRUE ) : Nette\Application\UI\Presenter | null | Returns the presenter where this component belongs to. | |
getReflection ( ) : Nette\Application\UI\ComponentReflection | Access to reflection. | |
getUniqueId ( ) : string | Returns a fully-qualified name that uniquely identifies the component within the presenter hierarchy. | |
link ( $destination, $args = [] ) : string | Generates URL to presenter, action or signal. | |
loadState ( array $params ) : void | Loads state informations. | |
offsetExists ( $name ) : boolean | Does component specified by name exists? | |
offsetGet ( $name ) : Nette\ComponentModel\IComponent | Returns component specified by name. Throws exception if component doesn't exist. | |
offsetSet ( $name, $component ) : void | Adds the component to the container. | |
offsetUnset ( $name ) : void | Removes component from the container. | |
removeComponent ( Nette\ComponentModel\IComponent $component ) : void | Removes a component from the IContainer. | |
saveState ( array &$params, $reflection = NULL ) : void | Saves state informations for next request. | |
signalReceived ( $signal ) : void | Calls signal handler method. |
메소드 | 설명 | |
---|---|---|
attached ( $presenter ) : void | This method will be called when the component (or component's parent) becomes attached to a monitored object. Do not call this method yourself. | |
createComponent ( $name ) : Nette\ComponentModel\IComponent |
Component factory. Delegates the creation of components to a createComponent |
|
tryCall ( $method, array $params ) : boolean | Calls public method if exists. | |
validateChildComponent ( Nette\ComponentModel\IComponent $child ) : void | Descendant can override this method to disallow insert a child by throwing an Nette\InvalidStateException. | |
validateParent ( Nette\ComponentModel\IContainer $parent ) : void |
public _isCloning ( ) : null | Nette\ComponentModel\IComponent | ||
리턴 | null | Nette\ComponentModel\IComponent |
public addComponent ( Nette\ComponentModel\IComponent $component, $name, $insertBefore = NULL ) : self | ||
$component | Nette\ComponentModel\IComponent | |
리턴 | self |
public checkRequirements ( $element ) : void | ||
리턴 | void |
protected createComponent ( $name ) : Nette\ComponentModel\IComponent | ||
리턴 | Nette\ComponentModel\IComponent | the created component (optionally) |
public static formatSignalMethod ( $signal ) : string | ||
리턴 | string |
public getComponent ( $name, $need = TRUE ) : Nette\ComponentModel\IComponent | null | ||
리턴 | Nette\ComponentModel\IComponent | null |
public getComponents ( $deep = FALSE, $filterType = NULL ) : ArrayIterator | ||
리턴 | ArrayIterator |
public getParameter ( $name, $default = NULL ) : mixed | ||
리턴 | mixed |
public getParameterId ( $name ) : string | ||
리턴 | string |
public static getPersistentParams ( ) : array | ||
리턴 | array |
public getPresenter ( $need = TRUE ) : Nette\Application\UI\Presenter | null | ||
리턴 | Nette\Application\UI\Presenter | null |
public static getReflection ( ) : Nette\Application\UI\ComponentReflection | ||
리턴 | Nette\Application\UI\ComponentReflection |
public getUniqueId ( ) : string | ||
리턴 | string |
public offsetExists ( $name ) : boolean | ||
리턴 | boolean |
public offsetGet ( $name ) : Nette\ComponentModel\IComponent | ||
리턴 | Nette\ComponentModel\IComponent |
public offsetUnset ( $name ) : void | ||
리턴 | void |
public removeComponent ( Nette\ComponentModel\IComponent $component ) : void | ||
$component | Nette\ComponentModel\IComponent | |
리턴 | void |
public signalReceived ( $signal ) : void | ||
리턴 | void |
protected validateChildComponent ( Nette\ComponentModel\IComponent $child ) : void | ||
$child | Nette\ComponentModel\IComponent | |
리턴 | void |
protected validateParent ( Nette\ComponentModel\IContainer $parent ) : void | ||
$parent | Nette\ComponentModel\IContainer | |
리턴 | void |
public $onAnchor |