MetadataUtil Class Reference

Static Public Member Functions

static getMetadata ($className, User $user=null)
static setMetadata ($className, array $metadata, User $user=null)
static resolveEvaluateSubString (&$subString, $resolveVariableName=null, $params=null, $defaultValue=null)

Detailed Description

TODO

Definition at line 40 of file MetadataUtil.php.


Member Function Documentation

static getMetadata ( className,
User user = null 
) [static]

Returns metadata for the given class.

See also:
getDefaultMetadata()
Parameters:
$user The current user.
Returns:
An array of metadata.

Definition at line 48 of file MetadataUtil.php.

static setMetadata ( className,
array $  metadata,
User user = null 
) [static]

Sets new metadata.

Parameters:
$metadata An array of metadata.
$user The current user.

Definition at line 83 of file MetadataUtil.php.

static resolveEvaluateSubString ( &$  subString,
resolveVariableName = null,
params = null,
defaultValue = null 
) [static]
Parameters:
$subString String|Array to be evaluated
null $resolveVariableName string|array Name the variable to be resolved in local scope
null $params string|array
null $defaultValue string

Definition at line 125 of file MetadataUtil.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Mon Oct 16 07:10:27 2017