Esempio n. 1
0
 /**
  * Given a set of conditions, return a ResultWrapper
  * which will return matching database rows with the
  * fields necessary to build the group.
  *
  * @param Database $db
  * @param array $conditions
  *
  * @return ResultWrapper|false
  */
 protected static function fetchMembersFromConds($db, $conditions)
 {
     $fields = MapsLayers::databaseFields();
     $res = $db->select(array('maps_layers'), $fields, $conditions, __METHOD__);
     return $db->resultObject($res);
 }