Nette\ComponentModel\Component::attached PHP Метод

attached() защищенный Метод

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
Результат void
    protected function attached($obj)
    {
    }

Usage Example

Пример #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