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


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:
$user The current user.
An array of metadata.

Definition at line 48 of file MetadataUtil.php.

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

Sets new metadata.

$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]
$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 Jun 26 07:10:27 2017