Prado\Web\UI\WebControls\TContentPlaceHolder::createdOnTemplate PHP Method

createdOnTemplate() public method

This overrides the parent implementation by registering the content placeholder control to the template owner control. The placeholder control will NOT be added to the potential parent control!
public createdOnTemplate ( $parent )
    public function createdOnTemplate($parent)
    {
        if (($id = $this->getID()) === '') {
            throw new TConfigurationException('contentplaceholder_id_required');
        }
        $this->getTemplateControl()->registerContentPlaceHolder($id, $this);
        $parent->getControls()->add($this);
    }
TContentPlaceHolder