public function action_cmg() { if (!Sentry::user()->has_access('customers_cmginfo_read') && !Sentry::user()->has_access('customers_all_read')) { self::no_access(); } View::set_global('columns', array_map('Inflector::humanize', Model_Ajax::getColumns('cmginfo'))); $this->template->title = 'Customers » Cmg'; $this->template->content = View::forge('customers/cmg'); }