Nextras\Forms\Controls\Fragments\ComponentControlTrait::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 ( $presenter ) : void
리턴 void
    protected function attached($presenter)
    {
        if ($presenter instanceof Presenter) {
            $this->loadState($presenter->popGlobalParameters($this->getUniqueId()));
            $this->onAnchor($this);
        }
    }