Abstract utility class containing caching and sql loading function
| package | Gems |
|---|---|
| subpackage | Util |
| copyright | Copyright (c) 2015 Erasmus MC |
| license | New BSD License |
| since | Class available since version 1.7.2 Mar 2, 2016 1:42:12 PM |
| inherited_from | \Gems\Util\UtilAbstract |
__get(string $name) : \MUtil_Lazy_Call
string
\MUtil_Lazy_CallafterRegistry() : void
checkMonitors() : array
arrayof messagescleanupForCacheId(string $cacheId) : string
string
stringgetCronMailMonitor() : \MUtil\Util\MonitorJob
\MUtil\Util\MonitorJobreverseMaintenanceMonitor() : boolean
booleanTrue when the job was startedstartCronMailMonitor() : boolean
booleanTrue when the job was started_getMailTo(string $monitorName, string $where = null) : boolean
stringProjectSettings name
stringOptional, a gems__staff SQL WHERE statement
boolean_getObjectsAllCached(string $cacheId, object $object, mixed $sql, array $binds= null, mixed $tags= array()) : array
stringThe class is prepended to this id
objectThe object to put the data in
mixedstring or \Zend_Db_Select
arraysql paramters
mixedatring or array of strings
array_getSelectAllCached(string $cacheId, mixed $sql, array $binds= array(), mixed $tags= array()) : array
stringThe class is prepended to this id
mixedstring or \Zend_Db_Select
arraysql paramters
mixedatring or array of strings
array_getSelectPairsCached(string $cacheId, mixed $sql, array $binds= array(), mixed $tags= array(), string $sort= null) : array
stringThe class is prepended to this id
mixedstring or \Zend_Db_Select
arraysql paramters
mixedatring or array of strings
stringOptional function to sort on, only known functions will do
array_getSelectPairsProcessedCached(string $cacheId, mixed $sql, callable $function, array $binds= array(), mixed $tags= array(), string $sort= null) : array
stringThe class is prepended to this id
mixedstring or \Zend_Db_Select
callableThe function called with each row to form the result
arraysql paramters
mixedstring or array of strings
stringOptional function to sort on, only known functions will do
array_getSelectProcessedCached(string $cacheId, mixed $sql, callable $function, string $keyField, mixed $tags= array(), string $sort= null) : array
stringThe class is prepended to this id
mixedstring or \Zend_Db_Select
callableThe function called with each row to form the result
stringThe field containing the key for each row
mixedstring or array of strings
stringOptional function to sort on, only known functions will do
array_sortResult(array $result, \Gems\Util\strng $sort = 'asort')
array
\Gems\Util\strng
$cache : \Zend_Cache_Core
$db : \Zend_Db_Adapter_Abstract
$locale : \Zend_Locale
$project : \Gems_Project_ProjectSettings
$source : \MUtil_Registry_Source
$util : \Gems_Util