Prado\Web\UI\WebControls\TContent::createdOnTemplate PHP Méthode

createdOnTemplate() public méthode

This overrides the parent implementation by registering the content control to the template owner control.
public createdOnTemplate ( $parent )
    public function createdOnTemplate($parent)
    {
        if (($id = $this->getID()) === '') {
            throw new TConfigurationException('content_id_required');
        }
        $this->getTemplateControl()->registerContent($id, $this);
    }