'0', 'title' => '', 'group_name' => '', 'name' => '', 'icon' => '', 'url' => '', 'append_title' => '', 'append_url' => '', 'displayorder' => '0', 'type' => 'url', 'is_display' => '1', 'is_system' => '0', 'permission_name' => '', ); public function getAllByPermissionNameNotEmpty() { return $this->where('permission_name !=', '')->getall('permission_name'); } public function getTopMenu() { return $this->where('is_system !=', 1)->getall(); } }