NAME ^

php_reflection.pir - PHP reflection Library

DESCRIPTION ^

Functions ^

mixed Reflection::export(Reflector r [, bool return])

Exports a reflection object. Returns the output if TRUE is specified for return, printing it otherwise.

NOT IMPLEMENTED.

array Reflection::getModifierNames(int modifiers)

Returns an array of modifier names

NOT IMPLEMENTED.

void ReflectionClass::__construct(mixed argument)

Constructor. Takes a string or an instance as an argument

NOT IMPLEMENTED.

string ReflectionClass::__toString()

Returns a string representation

NOT IMPLEMENTED.

mixed ReflectionClass::export(mixed argument [, bool return])

Exports a reflection object. Returns the output if TRUE is specified for return, printing it otherwise.

NOT IMPLEMENTED.

mixed ReflectionClass::getConstant(string name)

Returns the class' constant specified by its name

NOT IMPLEMENTED.

array ReflectionClass::getConstants()

Returns an associative array containing this class' constants and their values

NOT IMPLEMENTED.

ReflectionMethod ReflectionClass::getConstructor()

Returns the class' constructor if there is one, NULL otherwise

NOT IMPLEMENTED.

array ReflectionClass::getDefaultProperties()

Returns an associative array containing copies of all default property values of the class

NOT IMPLEMENTED.

string ReflectionClass::getDocComment()

Returns the doc comment for this class

NOT IMPLEMENTED.

int ReflectionClass::getEndLine()

Returns the line this class' declaration ends at

NOT IMPLEMENTED.

ReflectionExtension|NULL ReflectionClass::getExtension()

Returns NULL or the extension the class belongs to

NOT IMPLEMENTED.

string|false ReflectionClass::getExtensionName()

Returns false or the name of the extension the class belongs to

NOT IMPLEMENTED.

string ReflectionClass::getFileName()

Returns the filename of the file this class was declared in

NOT IMPLEMENTED.

String[] ReflectionClass::getInterfaceNames()

Returns an array of names of interfaces this class implements

NOT IMPLEMENTED.

ReflectionClass[] ReflectionClass::getInterfaces()

Returns an array of interfaces this class implements

NOT IMPLEMENTED.

ReflectionMethod ReflectionClass::getMethod(string name)

Returns the class' method specified by its name

NOT IMPLEMENTED.

ReflectionMethod[] ReflectionClass::getMethods([long $filter])

Returns an array of this class' methods

NOT IMPLEMENTED.

int ReflectionClass::getModifiers()

Returns a bitfield of the access modifiers for this class

NOT IMPLEMENTED.

string ReflectionClass::getName()

Returns the class' name

NOT IMPLEMENTED.

ReflectionClass ReflectionClass::getParentClass()

Returns the class' parent class, or, if none exists, FALSE

NOT IMPLEMENTED.

ReflectionProperty[] ReflectionClass::getProperties([long $filter])

Returns an array of this class' properties

NOT IMPLEMENTED.

ReflectionProperty ReflectionClass::getProperty(string name)

Returns the class' property specified by its name

NOT IMPLEMENTED.

int ReflectionClass::getStartLine()

Returns the line this class' declaration starts at

NOT IMPLEMENTED.

array ReflectionClass::getStaticProperties()

Returns an associative array containing all static property values of the class

NOT IMPLEMENTED.

mixed ReflectionClass::getStaticPropertyValue(string name [, mixed default])

Returns the value of a static property

NOT IMPLEMENTED.

bool ReflectionClass::hasConstant(string name)

Returns whether a constant exists or not

NOT IMPLEMENTED.

bool ReflectionClass::hasMethod(string name)

Returns whether a method exists or not

NOT IMPLEMENTED.

bool ReflectionClass::hasProperty(string name)

Returns whether a property exists or not

NOT IMPLEMENTED.

bool ReflectionClass::implementsInterface(string|ReflectionClass interface_name)

Returns whether this class is a subclass of another class

NOT IMPLEMENTED.

bool ReflectionClass::isAbstract()

Returns whether this class is abstract

NOT IMPLEMENTED.

bool ReflectionClass::isFinal()

Returns whether this class is final

NOT IMPLEMENTED.

bool ReflectionClass::isInstance(stdclass object)

Returns whether the given object is an instance of this class

NOT IMPLEMENTED.

bool ReflectionClass::isInstantiable()

Returns whether this class is instantiable

NOT IMPLEMENTED.

bool ReflectionClass::isInterface()

Returns whether this is an interface or a class

NOT IMPLEMENTED.

bool ReflectionClass::isInternal()

Returns whether this class is an internal class

NOT IMPLEMENTED.

bool ReflectionClass::isIterateable()

Returns whether this class is iterateable (can be used inside foreach)

NOT IMPLEMENTED.

bool ReflectionClass::isSubclassOf(string|ReflectionClass class)

Returns whether this class is a subclass of another class

NOT IMPLEMENTED.

bool ReflectionClass::isUserDefined()

Returns whether this class is user-defined

NOT IMPLEMENTED.

stdclass ReflectionClass::newInstance(mixed *args, ...)

Returns an instance of this class

NOT IMPLEMENTED.

stdclass ReflectionClass::newInstanceArgs([array args])

Returns an instance of this class

NOT IMPLEMENTED.

void ReflectionClass::setStaticPropertyValue($name, $value)

Sets the value of a static property

NOT IMPLEMENTED.

void ReflectionExtension::__construct(string name)

Constructor. Throws an Exception in case the given extension does not exist

NOT IMPLEMENTED.

string ReflectionExtension::__toString()

Returns a string representation

NOT IMPLEMENTED.

mixed ReflectionExtension::export(string name [, bool return])

Exports a reflection object. Returns the output if TRUE is specified for return, printing it otherwise.

NOT IMPLEMENTED.

array ReflectionExtension::getClassNames()

Returns an array containing all names of all classes of this extension

NOT IMPLEMENTED.

ReflectionClass[] ReflectionExtension::getClasses()

Returns an array containing ReflectionClass objects for all classes of this extension

NOT IMPLEMENTED.

array ReflectionExtension::getConstants()

Returns an associative array containing this extension's constants and their values

NOT IMPLEMENTED.

array ReflectionExtension::getDependencies()

Returns an array containing all names of all extensions this extension depends on

NOT IMPLEMENTED.

ReflectionFunction[] ReflectionExtension::getFunctions()

Returns an array of this extension's fuctions

NOT IMPLEMENTED.

array ReflectionExtension::getINIEntries()

Returns an associative array containing this extension's INI entries and their values

NOT IMPLEMENTED.

string ReflectionExtension::getName()

Returns this extension's name

NOT IMPLEMENTED.

string ReflectionExtension::getVersion()

Returns this extension's version

NOT IMPLEMENTED.

void ReflectionExtension::info()

Prints phpinfo block for the extension

NOT IMPLEMENTED.

void ReflectionFunction::__construct(string name)

Constructor. Throws an Exception in case the given function does not exist

NOT IMPLEMENTED.

string ReflectionFunction::__toString()

Returns a string representation

NOT IMPLEMENTED.

mixed ReflectionFunction::export(string name [, bool return])

Exports a reflection object. Returns the output if TRUE is specified for return, printing it otherwise.

NOT IMPLEMENTED.

string ReflectionFunction::getDocComment()

Returns the doc comment for this function

NOT IMPLEMENTED.

int ReflectionFunction::getEndLine()

Returns the line this function's declaration ends at

NOT IMPLEMENTED.

ReflectionExtension|NULL ReflectionFunction::getExtension()

Returns NULL or the extension the function belongs to

NOT IMPLEMENTED.

string|false ReflectionFunction::getExtensionName()

Returns false or the name of the extension the function belongs to

NOT IMPLEMENTED.

string ReflectionFunction::getFileName()

Returns the filename of the file this function was declared in

NOT IMPLEMENTED.

string ReflectionFunction::getName()

Returns this function's name

NOT IMPLEMENTED.

bool ReflectionFunction::getNumberOfParameters()

Gets the number of required parameters

NOT IMPLEMENTED.

bool ReflectionFunction::getNumberOfRequiredParameters()

Gets the number of required parameters

NOT IMPLEMENTED.

ReflectionParameter[] ReflectionFunction::getParameters()

Returns an array of parameter objects for this function

NOT IMPLEMENTED.

int ReflectionFunction::getStartLine()

Returns the line this function's declaration starts at

NOT IMPLEMENTED.

array ReflectionFunction::getStaticVariables()

Returns an associative array containing this function's static variables and their values

NOT IMPLEMENTED.

mixed ReflectionFunction::invoke(mixed *args)

Invokes the function

NOT IMPLEMENTED.

mixed ReflectionFunction::invokeArgs(array args)

Invokes the function and pass its arguments as array.

NOT IMPLEMENTED.

bool ReflectionFunction::isDeprecated()

Returns whether this function is deprecated

NOT IMPLEMENTED.

bool ReflectionFunction::isDisabled()

Returns whether this function has been disabled or not

NOT IMPLEMENTED.

bool ReflectionFunction::isInternal()

Returns whether this is an internal function

NOT IMPLEMENTED.

bool ReflectionFunction::isUserDefined()

Returns whether this is an user-defined function

NOT IMPLEMENTED.

bool ReflectionFunction::returnsReference()

Gets whether this function returns a reference

NOT IMPLEMENTED.

void ReflectionMethod::__construct(mixed class_or_method [, string name])

Constructor. Throws an Exception in case the given method does not exist

NOT IMPLEMENTED.

string ReflectionMethod::__toString()

Returns a string representation

NOT IMPLEMENTED.

mixed ReflectionMethod::export(mixed class, string name [, bool return])

Exports a reflection object. Returns the output if TRUE is specified for return, printing it otherwise.

NOT IMPLEMENTED.

ReflectionClass ReflectionMethod::getDeclaringClass()

Get the declaring class

NOT IMPLEMENTED.

int ReflectionMethod::getModifiers()

Returns a bitfield of the access modifiers for this method

NOT IMPLEMENTED.

ReflectionClass ReflectionMethod::getPrototype()

Get the prototype

NOT IMPLEMENTED.

mixed ReflectionMethod::invoke(mixed object, mixed *args)

Invokes the method.

NOT IMPLEMENTED.

mixed ReflectionMethod::invokeArgs(mixed object, array args)

Invokes the function and pass its arguments as array.

NOT IMPLEMENTED.

bool ReflectionMethod::isAbstract()

Returns whether this method is abstract

NOT IMPLEMENTED.

bool ReflectionMethod::isConstructor()

Returns whether this method is the constructor

NOT IMPLEMENTED.

bool ReflectionMethod::isDestructor()

Returns whether this method is static

NOT IMPLEMENTED.

bool ReflectionMethod::isFinal()

Returns whether this method is final

NOT IMPLEMENTED.

bool ReflectionMethod::isPrivate()

Returns whether this method is private

NOT IMPLEMENTED.

bool ReflectionMethod::isProtected()

Returns whether this method is protected

NOT IMPLEMENTED.

bool ReflectionMethod::isPublic()

Returns whether this method is public

NOT IMPLEMENTED.

bool ReflectionMethod::isStatic()

Returns whether this method is static

NOT IMPLEMENTED.

void ReflectionObject::__construct(mixed argument)

Constructor. Takes an instance as an argument

NOT IMPLEMENTED.

mixed ReflectionObject::export(mixed argument [, bool return])

Exports a reflection object. Returns the output if TRUE is specified for return, printing it otherwise.

NOT IMPLEMENTED.

void ReflectionParameter::__construct(mixed function, mixed parameter)

Constructor. Throws an Exception in case the given method does not exist

NOT IMPLEMENTED.

string ReflectionParameter::__toString()

Returns a string representation

NOT IMPLEMENTED.

bool ReflectionParameter::allowsNull()

Returns whether NULL is allowed as this parameters's value

NOT IMPLEMENTED.

mixed ReflectionParameter::export(mixed function, mixed parameter [, bool return])

Exports a reflection object. Returns the output if TRUE is specified for return, printing it otherwise.

NOT IMPLEMENTED.

ReflectionClass|NULL ReflectionParameter::getClass()

Returns this parameters's class hint or NULL if there is none

NOT IMPLEMENTED.

ReflectionClass|NULL ReflectionParameter::getDeclaringClass()

Returns in which class this parameter is defined (not the typehint of the parameter)

NOT IMPLEMENTED.

ReflectionFunction ReflectionParameter::getDeclaringFunction()

Returns the ReflectionFunction for the function of this parameter

NOT IMPLEMENTED.

bool ReflectionParameter::getDefaultValue()

Returns the default value of this parameter or throws an exception

NOT IMPLEMENTED.

string ReflectionParameter::getName()

Returns this parameters's name

NOT IMPLEMENTED.

bool ReflectionParameter::getPosition()

Returns whether this parameter is an optional parameter

NOT IMPLEMENTED.

bool ReflectionParameter::isArray()

Returns whether parameter MUST be an array

NOT IMPLEMENTED.

bool ReflectionParameter::isDefaultValueAvailable()

Returns whether the default value of this parameter is available

NOT IMPLEMENTED.

bool ReflectionParameter::isOptional()

Returns whether this parameter is an optional parameter

NOT IMPLEMENTED.

bool ReflectionParameter::isPassedByReference()

Returns whether this parameters is passed to by reference

NOT IMPLEMENTED.

void ReflectionProperty::__construct(mixed class, string name)

Constructor. Throws an Exception in case the given property does not exist

NOT IMPLEMENTED.

string ReflectionProperty::__toString()

Returns a string representation

NOT IMPLEMENTED.

mixed ReflectionProperty::export(mixed class, string name [, bool return])

Exports a reflection object. Returns the output if TRUE is specified for return, printing it otherwise.

NOT IMPLEMENTED.

ReflectionClass ReflectionProperty::getDeclaringClass()

Get the declaring class

NOT IMPLEMENTED.

string ReflectionProperty::getDocComment()

Returns the doc comment for this property

NOT IMPLEMENTED.

int ReflectionProperty::getModifiers()

Returns a bitfield of the access modifiers for this property

NOT IMPLEMENTED.

string ReflectionProperty::getName()

Returns the class' name

NOT IMPLEMENTED.

mixed ReflectionProperty::getValue([stdclass object])

Returns this property's value

NOT IMPLEMENTED.

bool ReflectionProperty::isDefault()

Returns whether this property is default (declared at compilation time).

NOT IMPLEMENTED.

bool ReflectionProperty::isPrivate()

Returns whether this property is private

NOT IMPLEMENTED.

bool ReflectionProperty::isProtected()

Returns whether this property is protected

NOT IMPLEMENTED.

bool ReflectionProperty::isPublic()

Returns whether this property is public

NOT IMPLEMENTED.

bool ReflectionProperty::isStatic()

Returns whether this property is static

NOT IMPLEMENTED.

void ReflectionProperty::setValue([stdclass object,] mixed value)

Sets this property's value

NOT IMPLEMENTED.


parrot