Admin_Bootstrap::_initPlaceholders PHP Метод

_initPlaceholders() защищенный Метод

Init view placeholders
protected _initPlaceholders ( )
    protected function _initPlaceholders()
    {
        $this->bootstrap('view');
        $this->_view = $view = $this->getResource('view');
        // content title
        $view->placeholder('title')->setPrefix('<h1>')->setPostfix('</h1>');
        // content sidebar
        // not using prefix/postfix to detect if is empty
        $view->placeholder('sidebar')->setSeparator('</div><div class="sidebar">' . "\n");
        Zend_Controller_Front::getInstance()->registerPlugin(new \Newscoop\Controller\Plugin\Js($this->getOptions()));
        $view->addHelperPath(APPLICATION_PATH . '/modules/admin/views/helpers', 'Admin_View_Helper');
        $jsPlaceholder = $view->getHelper('JQueryReady');
        $view->getHelper('JQueryUtils')->setPlaceholder($jsPlaceholder);
    }