$content = Model_Content::find()->where('slug', $slug)->get_one(); $this->template->subtitle = $content->title;
$content = Model_Content::find(1);
$content = Model_Content::find()->where('slug', $slug)->get_one(); $this->template->set('subtitle', $content->title);
'blog/(:num)/(:num)/(:num)/(:any)' => 'public/blog/content/$4',
public function action_content($slug) { Log::error('SLUG: ' . $slug); $content = Model_Content::find()->where('slug', 'goal-for-2012')->get_one(); $this->template->set('subtitle', $content->title); (... MORE ...)
It looks like you're new here. If you want to get involved, click one of these buttons!