Reflection API

#95

Class Methods

The following methods can be invoked on instances of this class.

getClassChildren(string strNameSpace, mixed arrProperties)

Returns classes for a given name space

getClass(string strClass)

Returns array with all info about the class

getMethods(mixed strClass, array arrProperties)

Returns the methods for a class

getControlMap(string strNodeName)

Returns information about a particular element type

getComponents(mixed strNameSpace)

Returns the reflection data for all the components

getControls(mixed strNameSpace)

Returns the reflection data for all the controls

getComponentList()

Returns a list of the components

getLocalClassName(string strClassId)

Returns the local part of a class name from a full class_id

cleanName(string str)

Cleans a class or namespace to

getResourceNameSpace(string strResource)

Returns a namespace path of the resource

getResourceClass(string strResource)

Returns a class folder of the resource

__call(mixed strName, array arrArguments)

Magic function to trap calls to undefined functions and throw an exception rather than
a fatal error.

__callStatic(mixed strName, array arrArguments)

Magic function to trap static calls to undefined functions and throw an exception rather
than a fatal error.

classGetFolder()

Returns the folder where the class exists

__set_state(mixed arrValues)

classGetFolderResources()

Returns the folder where the class's resources exist

classGetSrcFile()

Returns the folder where the class exists

classGetSrcHash()

Returns the folder where the class exists

classGetReflection()

Returns the reflection data for the current class

classGetReflectionAnnotation(string strField)

Returns a specific class annotation for the current class