All Data Structures Functions Variables Pages
Static Public Member Functions
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
$userThe 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
$metadataAn array of metadata.
$userThe current user.

Definition at line 83 of file MetadataUtil.php.

static resolveEvaluateSubString ( $subString,
  $resolveVariableName = null,
  $params = null,
  $defaultValue = null 
)
static
Parameters
$subStringString|Array to be evaluated
null$resolveVariableNamestring|array Name the variable to be resolved in local scope
null$paramsstring|array
null$defaultValuestring

Definition at line 125 of file MetadataUtil.php.


The documentation for this class was generated from the following file:
Generated on Wed Apr 8 2020 07:11:12