Nette\ComponentModel\Component::attached PHP Method

attached() protected method

This method will be called when the component (or component's parent) becomes attached to a monitored object. Do not call this method yourself.
protected attached ( $obj ) : void
return void
    protected function attached($obj)
    {
    }

Usage Example

Exemplo n.º 1
0
 /**
  * @param TreeViewNode $node
  */
 protected function attached($node)
 {
     if ($this->presenterComponent === NULL) {
         $this->presenterComponent = $node->presenter;
     }
     parent::attached($node);
 }
All Usage Examples Of Nette\ComponentModel\Component::attached