public function all() {
  $query = new \Peyote\Select('report_types');
  $query->columns('id, value')
        ->where('public', '=', 1);
  return $this->db->fetch($query);
 }
public function all() {
  $query = new \Peyote\Select('report_types');
  $query->columns('id, value')
        ->where('public', '=', 1);
  return $this->db->fetch($query);
 }
public function all ( ) { $ query = new \ Peyote \ Select ( 'report_types' ) ; $ query -> columns ( 'id, value' ) -> where ( 'public' , '=' , 1 ) ; return $ this -> db -> fetch ( $ query ) ; }
All report types

Get a list of all image report types.

@api
All report types