eZPublish  4.5
eZModuleFunctionInfo Class Reference

The class eZModuleFunctionInfo does. More...

Public Member Functions

 callClassMethod ($methodName, $classObject, $parameterArray)
 
 execute ($functionName, $functionParameters)
 
 executeClassMethod ($className, $methodName, $functionParameterDefinitions, $functionParameters)
 
 eZModuleFunctionInfo ($moduleName)
 
 isParameterArray ($functionName, $parameterName)
 
 isValid ()
 
 loadDefinition ()
 
 objectForClass ($className)
 
 preExecute ($functionName)
 

Public Attributes

 $FunctionList
 
 $IsValid
 
 $ModuleName
 
const ERROR_CLASS_INSTANTIATE_FAILED = 7
 
const ERROR_MISSING_PARAMETER = 8
 
const ERROR_NO_CLASS = 5
 
const ERROR_NO_CLASS_METHOD = 6
 

Detailed Description

The class eZModuleFunctionInfo does.

Member Function Documentation

eZModuleFunctionInfo::callClassMethod (   $methodName,
  $classObject,
  $parameterArray 
)
Deprecated:
use call_user_func_array() instead
eZModuleFunctionInfo::execute (   $functionName,
  $functionParameters 
)
eZModuleFunctionInfo::executeClassMethod (   $className,
  $methodName,
  $functionParameterDefinitions,
  $functionParameters 
)

Referenced by execute().

eZModuleFunctionInfo::eZModuleFunctionInfo (   $moduleName)

Constructor

eZModuleFunctionInfo::isParameterArray (   $functionName,
  $parameterName 
)

Check if a parameter for a function is an array

Parameters
functionNamefunction name
parameterNameparameter name
Returns
true if parameter is supposed to be array
eZModuleFunctionInfo::isValid ( )
eZModuleFunctionInfo::loadDefinition ( )
eZModuleFunctionInfo::objectForClass (   $className)

Referenced by executeClassMethod(), and preExecute().

eZModuleFunctionInfo::preExecute (   $functionName)

Pre execute, used by template compilation to check as much as possible before runtime.

Parameters
functionNamefunction name
Returns
function definition, false if fails.

Member Data Documentation

eZModuleFunctionInfo::$FunctionList

Referenced by loadDefinition().

eZModuleFunctionInfo::$IsValid

Referenced by isValid().

eZModuleFunctionInfo::$ModuleName

Referenced by execute(), and preExecute().

const eZModuleFunctionInfo::ERROR_CLASS_INSTANTIATE_FAILED = 7

Referenced by execute(), and executeClassMethod().

const eZModuleFunctionInfo::ERROR_MISSING_PARAMETER = 8

Referenced by execute(), and executeClassMethod().

const eZModuleFunctionInfo::ERROR_NO_CLASS = 5

Referenced by execute(), and executeClassMethod().

const eZModuleFunctionInfo::ERROR_NO_CLASS_METHOD = 6

Referenced by execute(), and executeClassMethod().


The documentation for this class was generated from the following file: