Prado\Web\UI\TTemplateControl::registerContent PHP Метод

registerContent() публичный Метод

Registers a content control.
public registerContent ( $id, TContent $object )
$object Prado\Web\UI\WebControls\TContent
    public function registerContent($id, TContent $object)
    {
        if (isset($this->_contents[$id])) {
            throw new TConfigurationException('templatecontrol_contentid_duplicated', $id);
        } else {
            $this->_contents[$id] = $object;
        }
    }