public function index() { $data['categories'] = Model\Kelas\Category::orderBy('name', 'asc')->get(); $this->template->build('category_index', $data); }