예제 #1
0
파일: Recall.php 프로젝트: piotrazsko/sushi
 public function action_interesting()
 {
     $article = new Model_Article();
     $text = $article->get_text('interesting');
     $text = $text[0]['text'];
     $content = View::factory('/pages/interesting');
     $content->text = $text;
     $this->template->content = $content;
 }
예제 #2
0
파일: Static.php 프로젝트: piotrazsko/sushi
 public function action_about()
 {
     $article = new Model_Article();
     $text = $article->get_text('about');
     $text = $text[0]['text'];
     $content = View::factory('/pages/about');
     $content->text = $text;
     //      $this->template->text = $text;
     $this->template->content = $content;
 }