11 lines
409 B
PHP
11 lines
409 B
PHP
<?php defined('SYSPATH') or die('No direct script access.');
|
|
|
|
class Controller_Navigation extends Controller_Template {
|
|
public $template = 'navigation';
|
|
public function action_standard() {
|
|
$page = new Model_Page();
|
|
$this->template->pages = ORM::factory('page')->where('id','>','1')->order_by('order','ASC')->find_all()->as_array('id');
|
|
}
|
|
public function action_view(){$this->request->redirect('');}
|
|
}
|