original_string: public function layout_Content()
      {
          $page = str_replace('/', '_', $this->page);
  
          if (method_exists($this, $pagefunc = 'page_'.$page)) {
              $p = $this->add('Page', $this->page, 'Content');
              $this->$pagefunc($p);
          } else {
              $this->app->locate('page', str_replace('_', '/', $this->page).'.php');
              $this->add('page_'.$page, $page, 'Content');
              //throw new BaseException("No such page: ".$this->page);
          }
      }
code: public function layout_Content()
      {
          $page = str_replace('/', '_', $this->page);
  
          if (method_exists($this, $pagefunc = 'page_'.$page)) {
              $p = $this->add('Page', $this->page, 'Content');
              $this->$pagefunc($p);
          } else {
              $this->app->locate('page', str_replace('_', '/', $this->page).'.php');
              $this->add('page_'.$page, $page, 'Content');
              //throw new BaseException("No such page: ".$this->page);
          }
      }
code_tokens: public function layout_Content ( ) { $ page = str_replace ( '/' , '_' , $ this -> page ) ; if ( method_exists ( $ this , $ pagefunc = 'page_' . $ page ) ) { $ p = $ this -> add ( 'Page' , $ this -> page , 'Content' ) ; $ this -> $ pagefunc ( $ p ) ; } else { $ this -> app -> locate ( 'page' , str_replace ( '_' , '/' , $ this -> page ) . '.php' ) ; $ this -> add ( 'page_' . $ page , $ page , 'Content' ) ; //throw new BaseException("No such page: ".$this->page); } }
docstring: Default handling of Content page. To be replaced by App_Frontend
  This function initializes content. Content is page-dependant.
docstring_tokens: Default handling of Content page . To be replaced by App_Frontend This function initializes content . Content is page - dependant .