original_string: public function defaultTemplate()
      {
          if (isset($_GET['cut_page'])) {
              return array('page');
          }
  
          $page_name = 'page/'.strtolower($this->short_name);
          // See if we can locate the page
          try {
              $p = $this->app->locate('template', $page_name.'.html');
          } catch (Exception_PathFinder $e) {
              return array('page');
          }
  
          return array($page_name, '_top');
      }
code: public function defaultTemplate()
      {
          if (isset($_GET['cut_page'])) {
              return array('page');
          }
  
          $page_name = 'page/'.strtolower($this->short_name);
          // See if we can locate the page
          try {
              $p = $this->app->locate('template', $page_name.'.html');
          } catch (Exception_PathFinder $e) {
              return array('page');
          }
  
          return array($page_name, '_top');
      }
code_tokens: public function defaultTemplate ( ) { if ( isset ( $ _GET [ 'cut_page' ] ) ) { return array ( 'page' ) ; } $ page_name = 'page/' . strtolower ( $ this -> short_name ) ; // See if we can locate the page try { $ p = $ this -> app -> locate ( 'template' , $ page_name . '.html' ) ; } catch ( Exception_PathFinder $ e ) { return array ( 'page' ) ; } return array ( $ page_name , '_top' ) ; }
docstring: Set default template
  
  @return array|string
docstring_tokens: Set default template