public static function fetchSiteColors() { $result = array(); $userListPostHandler = Sinetsitecolors_PstObject::fetchHandlerList(); return array('result' => $userListPostHandler); }
public static function fetchListCount() { $countRes = eZPersistentObject::fetchObjectList(Sinetsitecolors_PstObject::definition(), null, array(), null, null, false); return $countRes[0]['count']; }