Utility function for the user of consents.
package |
Gems |
subpackage |
Util |
copyright |
Copyright (c) 2015 Erasmus MC |
license |
New BSD License |
since |
Class available since version 1.7.1 |
inherited_from |
\Gems_Registry_CachedArrayTargetAbstract |
Methods
Creates the object.
__construct(mixed $id)
Inherited
Parameters
$id
mixed
Whatever identifies this object.
Returns a callable if a method is called as a variable
__get(string $name) : Callable
Inherited
Parameters
$name
string
Returns
Callable
Compatibility mode, for use with logical operators returns this->getCode()
__toString() : string
Can you use the data with this code
canBeUsed() : boolean
Should be called after answering the request to allow the Target
to check if all required registry values have been set correctly.
checkRegistryRequestsAnswers() : boolean
Inherited
Returns
boolean
False if required are missing.
Returns the complete record.
getAllData() : array
The reception code.
getCode() : string
getDescription()
getDescription() : boolean
hasDescription()
hasDescription() : boolean
Empty the cache of the organization
invalidateCache() : \Gems_User_Organization
Inherited
Returns
\Gems_User_Organization
(continutation pattern)
isset() safe array access helper function.
_get(string $name) : mixed
Inherited
Parameters
$name
string
Returns
mixed
array access test helper function.
_has(string $name) : boolean
Inherited
Parameters
$name
string
Returns
boolean
Changes a value and signals the cache.
_set(string $name, mixed $value) : \Gems_Registry_CachedArrayTargetAbstract
Inherited
Parameters
$name
string
$value
mixed
Returns
\Gems_Registry_CachedArrayTargetAbstract
(continuation pattern)
Load the data when the cache is empty.
loadData(mixed $id) : array
inherited_from |
\Gems_Registry_CachedArrayTargetAbstract::loadData() |
Parameters
$id
mixed
Returns
array
The array of data values
Load the data when the cache is empty.
loadData(mixed $id) : array
Inherited
Parameters
$id
mixed
Returns
array
The array of data values
Get the cacheId for the organization
_getCacheId() : string
Inherited
Properties
Does this data item exist?
$exists : boolean
The current data.
$_data : array
The id for this data
$_id : mixed
$cache
$cache : \Zend_Cache_Core
$db
$db : \Zend_Db_Adapter_Abstract
Return false on checkRegistryRequestsAnswers when the anser is not an array
$requireArray : boolean
inherited_from |
\Gems_Registry_CachedArrayTargetAbstract::requireArray |
Return false on checkRegistryRequestsAnswers when the anser is not an array
$requireArray : boolean