Exemple #1
0
 protected function action()
 {
     $pv = new PageViewer();
     $pv->setShowContentOnly($this->showContentOnly);
     $pv->setParameters($this->parameters);
     $pv->setPage($this->pageToView);
     $pv->execute();
 }
    public static function portalIndex()
    {
        /*$arrLeft = array(
              "PageViewer"=>"p"
              
              );
          $arrRight = array(
              "NewsFeedWeb"=>"getFeed",
              "PortalTemplate"=>"printIcons"
              );
          BootstrapUX::twoColoums($arrLeft, $arrRight,8,4);   */
        ?>
<div class="col-md-8 col-md-offset-2">
    <?php 
        $pp = new PageViewer();
        $pp->p();
        ?>
</div><?php 
    }
 function values()
 {
     $page = new PageViewer();
     $_GET['id'] = 11;
     $page->m();
 }