Ejemplo n.º 1
0
 /**
  * @param CM_Frontend_Render $render
  * @param CM_Page_Abstract   $page
  */
 public function __construct(CM_Frontend_Render $render, CM_Page_Abstract $page)
 {
     $this->_page = $page;
     $documentClass = $render->getSite()->getDocument();
     $document = new $documentClass();
     parent::__construct($render, $document);
 }
Ejemplo n.º 2
0
 /**
  * @param CM_Frontend_Render $render
  * @param CM_Page_Abstract   $page
  */
 public function __construct(CM_Frontend_Render $render, CM_Page_Abstract $page)
 {
     $this->_renderAdapterPage = new CM_RenderAdapter_Page($render, $page);
     parent::__construct($render, $page);
 }