original_string: protected function loadStaticPage($page)
      {
          $layout = $this->layout ?: $this;
          try {
              $t = 'page/'.str_replace('_', '/', strtolower($page));
              $this->template->findTemplate($t);
  
              $this->page_object = $layout->add($this->page_class, $page, 'Content', array($t));
          } catch (Exception_PathFinder $e2) {
              $t = 'page/'.strtolower($page);
              $this->template->findTemplate($t);
              $this->page_object = $layout->add($this->page_class, $page, 'Content', array($t));
          }
  
          return $this->page_object;
      }
code: protected function loadStaticPage($page)
      {
          $layout = $this->layout ?: $this;
          try {
              $t = 'page/'.str_replace('_', '/', strtolower($page));
              $this->template->findTemplate($t);
  
              $this->page_object = $layout->add($this->page_class, $page, 'Content', array($t));
          } catch (Exception_PathFinder $e2) {
              $t = 'page/'.strtolower($page);
              $this->template->findTemplate($t);
              $this->page_object = $layout->add($this->page_class, $page, 'Content', array($t));
          }
  
          return $this->page_object;
      }
code_tokens: protected function loadStaticPage ( $ page ) { $ layout = $ this -> layout ? : $ this ; try { $ t = 'page/' . str_replace ( '_' , '/' , strtolower ( $ page ) ) ; $ this -> template -> findTemplate ( $ t ) ; $ this -> page_object = $ layout -> add ( $ this -> page_class , $ page , 'Content' , array ( $ t ) ) ; } catch ( Exception_PathFinder $ e2 ) { $ t = 'page/' . strtolower ( $ page ) ; $ this -> template -> findTemplate ( $ t ) ; $ this -> page_object = $ layout -> add ( $ this -> page_class , $ page , 'Content' , array ( $ t ) ) ; } return $ this -> page_object ; }
docstring: Attempts to load static page. Raises exception if not found.
  
  @param string $page
  
  @return Page
docstring_tokens: Attempts to load static page . Raises exception if not found .