Nextras\Forms\Controls\Fragments\ComponentControlTrait::attached PHP Méthode

attached() protected méthode

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
Résultat void
    protected function attached($presenter)
    {
        if ($presenter instanceof Presenter) {
            $this->loadState($presenter->popGlobalParameters($this->getUniqueId()));
            $this->onAnchor($this);
        }
    }