Prado\Web\UI\TTemplateControl::registerContentPlaceHolder PHP Method

registerContentPlaceHolder() public method

This method should only be used by framework and control developers.
public registerContentPlaceHolder ( $id, TContentPlaceHolder $object )
$object Prado\Web\UI\WebControls\TContentPlaceHolder
    public function registerContentPlaceHolder($id, TContentPlaceHolder $object)
    {
        if (isset($this->_placeholders[$id])) {
            throw new TConfigurationException('templatecontrol_placeholderid_duplicated', $id);
        } else {
            $this->_placeholders[$id] = $object;
        }
    }