反射的所有api
Extension [ extension #17 Reflection version $Id: 1cf65cee164ed57874ce2d29e5c46b82f6139524 $ ] { - Classes [12] { Class [ class ReflectionException extends Exception ] { - Constants [0] { } - Static properties [0] { } - Static methods [0] { } - Properties [4] { Property [ protected $message ] Property [ protected $code ] Property [ protected $file ] Property [ protected $line ] } - Methods [9] { Method [ public method __construct ] { - Parameters [3] { Parameter #0 [ $message ] Parameter #1 [ $code ] Parameter #2 [ $previous ] } } Method [ final public method getMessage ] { } Method [ final public method getCode ] { } Method [ final public method getFile ] { } Method [ final public method getLine ] { } Method [ final public method getTrace ] { } Method [ final public method getPrevious ] { } Method [ final public method getTraceAsString ] { } Method [ public method __toString ] { } } } Class [ class Reflection ] { - Constants [0] { } - Static properties [0] { } - Static methods [2] { Method [ static public method getModifierNames ] { - Parameters [1] { Parameter #0 [ $modifiers ] } } Method [ static public method export ] { - Parameters [2] { Parameter #0 [ Reflector $reflector ] Parameter #1 [ $return ] } } } - Properties [0] { } - Methods [0] { } } Interface [ interface Reflector ] { - Constants [0] { } - Static properties [0] { } - Static methods [1] { Method [ abstract static public method export ] { } } - Properties [0] { } - Methods [1] { Method [ abstract public method __toString ] { - Parameters [0] { } } } } Class [ abstract class ReflectionFunctionAbstract implements Reflector ] { - Constants [0] { } - Static properties [0] { } - Static methods [0] { } - Properties [1] { Property [ public $name ] } - Methods [23] { Method [ final private method __clone ] { - Parameters [0] { } } Method [ abstract public method __toString ] { - Parameters [0] { } } Method [ public method inNamespace ] { - Parameters [0] { } } Method [ public method isClosure ] { - Parameters [0] { } } Method [ public method isDeprecated ] { - Parameters [0] { } } Method [ public method isInternal ] { - Parameters [0] { } } Method [ public method isUserDefined ] { - Parameters [0] { } } Method [ public method getClosureThis ] { - Parameters [0] { } } Method [ public method getClosureScopeClass ] { - Parameters [0] { } } Method [ public method getDocComment ] { - Parameters [0] { } } Method [ public method getEndLine ] { - Parameters [0] { } } Method [ public method getExtension ] { - Parameters [0] { } } Method [ public method getExtensionName ] { - Parameters [0] { } } Method [ public method getFileName ] { - Parameters [0] { } } Method [ public method getName ] { - Parameters [0] { } } Method [ public method getNamespaceName ] { - Parameters [0] { } } Method [ public method getNumberOfParameters ] { - Parameters [0] { } } Method [ public method getNumberOfRequiredParameters ] { - Parameters [0] { } } Method [ public method getParameters ] { - Parameters [0] { } } Method [ public method getShortName ] { - Parameters [0] { } } Method [ public method getStartLine ] { - Parameters [0] { } } Method [ public method getStaticVariables ] { - Parameters [0] { } } Method [ public method returnsReference ] { - Parameters [0] { } } } } Class [ class ReflectionFunction extends ReflectionFunctionAbstract implements Reflector ] { - Constants [1] { Constant [ integer IS_DEPRECATED ] { 262144 } } - Static properties [0] { } - Static methods [1] { Method [ static public method export ] { - Parameters [2] { Parameter #0 [ $name ] Parameter #1 [ $return ] } } } - Properties [1] { Property [ public $name ] } - Methods [27] { Method [ public method __construct ] { - Parameters [1] { Parameter #0 [ $name ] } } Method [ public method __toString ] { - Parameters [0] { } } Method [ public method isDisabled ] { - Parameters [0] { } } Method [ public method invoke ] { - Parameters [1] { Parameter #0 [ $args ] } } Method [ public method invokeArgs ] { - Parameters [1] { Parameter #0 [ array $args ] } } Method [ public method getClosure ] { - Parameters [0] { } } Method [ public method inNamespace ] { - Parameters [0] { } } Method [ public method isClosure ] { - Parameters [0] { } } Method [ public method isDeprecated ] { - Parameters [0] { } } Method [ public method isInternal ] { - Parameters [0] { } } Method [ public method isUserDefined ] { - Parameters [0] { } } Method [ public method getClosureThis ] { - Parameters [0] { } } Method [ public method getClosureScopeClass ] { - Parameters [0] { } } Method [ public method getDocComment ] { - Parameters [0] { } } Method [ public method getEndLine ] { - Parameters [0] { } } Method [ public method getExtension ] { - Parameters [0] { } } Method [ public method getExtensionName ] { - Parameters [0] { } } Method [ public method getFileName ] { - Parameters [0] { } } Method [ public method getName ] { - Parameters [0] { } } Method [ public method getNamespaceName ] { - Parameters [0] { } } Method [ public method getNumberOfParameters ] { - Parameters [0] { } } Method [ public method getNumberOfRequiredParameters ] { - Parameters [0] { } } Method [ public method getParameters ] { - Parameters [0] { } } Method [ public method getShortName ] { - Parameters [0] { } } Method [ public method getStartLine ] { - Parameters [0] { } } Method [ public method getStaticVariables ] { - Parameters [0] { } } Method [ public method returnsReference ] { - Parameters [0] { } } } } Class [ class ReflectionParameter implements Reflector ] { - Constants [0] { } - Static properties [0] { } - Static methods [1] { Method [ static public method export ] { - Parameters [3] { Parameter #0 [ $function ] Parameter #1 [ $parameter ] Parameter #2 [ $return ] } } } - Properties [1] { Property [ public $name ] } - Methods [16] { Method [ final private method __clone ] { - Parameters [0] { } } Method [ public method __construct ] { - Parameters [2] { Parameter #0 [ $function ] Parameter #1 [ $parameter ] } } Method [ public method __toString ] { - Parameters [0] { } } Method [ public method getName ] { - Parameters [0] { } } Method [ public method isPassedByReference ] { - Parameters [0] { } } Method [ public method canBePassedByValue ] { - Parameters [0] { } } Method [ public method getDeclaringFunction ] { - Parameters [0] { } } Method [ public method getDeclaringClass ] { - Parameters [0] { } } Method [ public method getClass ] { - Parameters [0] { } } Method [ public method isArray ] { - Parameters [0] { } } Method [ public method isCallable ] { - Parameters [0] { } } Method [ public method allowsNull ] { - Parameters [0] { } } Method [ public method getPosition ] { - Parameters [0] { } } Method [ public method isOptional ] { - Parameters [0] { } } Method [ public method isDefaultValueAvailable ] { - Parameters [0] { } } Method [ public method getDefaultValue ] { - Parameters [0] { } } } } Class [ class ReflectionMethod extends ReflectionFunctionAbstract implements Reflector ] { - Constants [6] { Constant [ integer IS_STATIC ] { 1 } Constant [ integer IS_PUBLIC ] { 256 } Constant [ integer IS_PROTECTED ] { 512 } Constant [ integer IS_PRIVATE ] { 1024 } Constant [ integer IS_ABSTRACT ] { 2 } Constant [ integer IS_FINAL ] { 4 } } - Static properties [0] { } - Static methods [1] { Method [ static public method export ] { - Parameters [3] { Parameter #0 [ $class ] Parameter #1 [ $name ] Parameter #2 [ $return ] } } } - Properties [2] { Property [ public $name ] Property [ public $class ] } - Methods [38] { Method [ public method __construct ] { - Parameters [2] { Parameter #0 [ $class_or_method ] Parameter #1 [ $name ] } } Method [ public method __toString ] { - Parameters [0] { } } Method [ public method isPublic ] { - Parameters [0] { } } Method [ public method isPrivate ] { - Parameters [0] { } } Method [ public method isProtected ] { - Parameters [0] { } } Method [ public method isAbstract ] { - Parameters [0] { } } Method [ public method isFinal ] { - Parameters [0] { } } Method [ public method isStatic ] { - Parameters [0] { } } Method [ public method isConstructor ] { - Parameters [0] { } } Method [ public method isDestructor ] { - Parameters [0] { } } Method [ public method getClosure ] { - Parameters [1] { Parameter #0 [ $object ] } } Method [ public method getModifiers ] { - Parameters [0] { } } Method [ public method invoke ] { - Parameters [2] { Parameter #0 [ $object ] Parameter #1 [ $args ] } } Method [ public method invokeArgs ] { - Parameters [2] { Parameter #0 [ $object ] Parameter #1 [ array $args ] } } Method [ public method getDeclaringClass ] { - Parameters [0] { } } Method [ public method getPrototype ] { - Parameters [0] { } } Method [ public method setAccessible ] { - Parameters [1] { Parameter #0 [ $value ] } } Method [ public method inNamespace ] { - Parameters [0] { } } Method [ public method isClosure ] { - Parameters [0] { } } Method [ public method isDeprecated ] { - Parameters [0] { } } Method [ public method isInternal ] { - Parameters [0] { } } Method [ public method isUserDefined ] { - Parameters [0] { } } Method [ public method getClosureThis ] { - Parameters [0] { } } Method [ public method getClosureScopeClass ] { - Parameters [0] { } } Method [ public method getDocComment ] { - Parameters [0] { } } Method [ public method getEndLine ] { - Parameters [0] { } } Method [ public method getExtension ] { - Parameters [0] { } } Method [ public method getExtensionName ] { - Parameters [0] { } } Method [ public method getFileName ] { - Parameters [0] { } } Method [ public method getName ] { - Parameters [0] { } } Method [ public method getNamespaceName ] { - Parameters [0] { } } Method [ public method getNumberOfParameters ] { - Parameters [0] { } } Method [ public method getNumberOfRequiredParameters ] { - Parameters [0] { } } Method [ public method getParameters ] { - Parameters [0] { } } Method [ public method getShortName ] { - Parameters [0] { } } Method [ public method getStartLine ] { - Parameters [0] { } } Method [ public method getStaticVariables ] { - Parameters [0] { } } Method [ public method returnsReference ] { - Parameters [0] { } } } } Class [ class ReflectionClass implements Reflector ] { - Constants [3] { Constant [ integer IS_IMPLICIT_ABSTRACT ] { 16 } Constant [ integer IS_EXPLICIT_ABSTRACT ] { 32 } Constant [ integer IS_FINAL ] { 64 } } - Static properties [0] { } - Static methods [1] { Method [ static public method export ] { - Parameters [2] { Parameter #0 [ $argument ] Parameter #1 [ $return ] } } } - Properties [1] { Property [ public $name ] } - Methods [49] { Method [ final private method __clone ] { - Parameters [0] { } } Method [ public method __construct ] { - Parameters [1] { Parameter #0 [ $argument ] } } Method [ public method __toString ] { - Parameters [0] { } } Method [ public method getName ] { - Parameters [0] { } } Method [ public method isInternal ] { - Parameters [0] { } } Method [ public method isUserDefined ] { - Parameters [0] { } } Method [ public method isInstantiable ] { - Parameters [0] { } } Method [ public method isCloneable ] { - Parameters [0] { } } Method [ public method getFileName ] { - Parameters [0] { } } Method [ public method getStartLine ] { - Parameters [0] { } } Method [ public method getEndLine ] { - Parameters [0] { } } Method [ public method getDocComment ] { - Parameters [0] { } } Method [ public method getConstructor ] { - Parameters [0] { } } Method [ public method hasMethod ] { - Parameters [1] { Parameter #0 [ $name ] } } Method [ public method getMethod ] { - Parameters [1] { Parameter #0 [ $name ] } } Method [ public method getMethods ] { - Parameters [1] { Parameter #0 [ $filter ] } } Method [ public method hasProperty ] { - Parameters [1] { Parameter #0 [ $name ] } } Method [ public method getProperty ] { - Parameters [1] { Parameter #0 [ $name ] } } Method [ public method getProperties ] { - Parameters [1] { Parameter #0 [ $filter ] } } Method [ public method hasConstant ] { - Parameters [1] { Parameter #0 [ $name ] } } Method [ public method getConstants ] { - Parameters [0] { } } Method [ public method getConstant ] { - Parameters [1] { Parameter #0 [ $name ] } } Method [ public method getInterfaces ] { - Parameters [0] { } } Method [ public method getInterfaceNames ] { - Parameters [0] { } } Method [ public method isInterface ] { - Parameters [0] { } } Method [ public method getTraits ] { - Parameters [0] { } } Method [ public method getTraitNames ] { - Parameters [0] { } } Method [ public method getTraitAliases ] { - Parameters [0] { } } Method [ public method isTrait ] { - Parameters [0] { } } Method [ public method isAbstract ] { - Parameters [0] { } } Method [ public method isFinal ] { - Parameters [0] { } } Method [ public method getModifiers ] { - Parameters [0] { } } Method [ public method isInstance ] { - Parameters [1] { Parameter #0 [ $object ] } } Method [ public method newInstance ] { - Parameters [1] { Parameter #0 [ $args ] } } Method [ public method newInstanceWithoutConstructor ] { - Parameters [0] { } } Method [ public method newInstanceArgs ] { - Parameters [1] { Parameter #0 [ array $args ] } } Method [ public method getParentClass ] { - Parameters [0] { } } Method [ public method isSubclassOf ] { - Parameters [1] { Parameter #0 [ $class ] } } Method [ public method getStaticProperties ] { - Parameters [0] { } } Method [ public method getStaticPropertyValue ] { - Parameters [2] { Parameter #0 [ $name ] Parameter #1 [ $default ] } } Method [ public method setStaticPropertyValue ] { - Parameters [2] { Parameter #0 [ $name ] Parameter #1 [ $value ] } } Method [ public method getDefaultProperties ] { - Parameters [0] { } } Method [ public method isIterateable ] { - Parameters [0] { } } Method [ public method implementsInterface ] { - Parameters [1] { Parameter #0 [ $interface ] } } Method [ public method getExtension ] { - Parameters [0] { } } Method [ public method getExtensionName ] { - Parameters [0] { } } Method [ public method inNamespace ] { - Parameters [0] { } } Method [ public method getNamespaceName ] { - Parameters [0] { } } Method [ public method getShortName ] { - Parameters [0] { } } } } Class [ class ReflectionObject extends ReflectionClass implements Reflector ] { - Constants [3] { Constant [ integer IS_IMPLICIT_ABSTRACT ] { 16 } Constant [ integer IS_EXPLICIT_ABSTRACT ] { 32 } Constant [ integer IS_FINAL ] { 64 } } - Static properties [0] { } - Static methods [1] { Method [ static public method export ] { - Parameters [2] { Parameter #0 [ $argument ] Parameter #1 [ $return ] } } } - Properties [1] { Property [ public $name ] } - Methods [48] { Method [ public method __construct ] { - Parameters [1] { Parameter #0 [ $argument ] } } Method [ public method __toString ] { - Parameters [0] { } } Method [ public method getName ] { - Parameters [0] { } } Method [ public method isInternal ] { - Parameters [0] { } } Method [ public method isUserDefined ] { - Parameters [0] { } } Method [ public method isInstantiable ] { - Parameters [0] { } } Method [ public method isCloneable ] { - Parameters [0] { } } Method [ public method getFileName ] { - Parameters [0] { } } Method [ public method getStartLine ] { - Parameters [0] { } } Method [ public method getEndLine ] { - Parameters [0] { } } Method [ public method getDocComment ] { - Parameters [0] { } } Method [ public method getConstructor ] { - Parameters [0] { } } Method [ public method hasMethod ] { - Parameters [1] { Parameter #0 [ $name ] } } Method [ public method getMethod ] { - Parameters [1] { Parameter #0 [ $name ] } } Method [ public method getMethods ] { - Parameters [1] { Parameter #0 [ $filter ] } } Method [ public method hasProperty ] { - Parameters [1] { Parameter #0 [ $name ] } } Method [ public method getProperty ] { - Parameters [1] { Parameter #0 [ $name ] } } Method [ public method getProperties ] { - Parameters [1] { Parameter #0 [ $filter ] } } Method [ public method hasConstant ] { - Parameters [1] { Parameter #0 [ $name ] } } Method [ public method getConstants ] { - Parameters [0] { } } Method [ public method getConstant ] { - Parameters [1] { Parameter #0 [ $name ] } } Method [ public method getInterfaces ] { - Parameters [0] { } } Method [ public method getInterfaceNames ] { - Parameters [0] { } } Method [ public method isInterface ] { - Parameters [0] { } } Method [ public method getTraits ] { - Parameters [0] { } } Method [ public method getTraitNames ] { - Parameters [0] { } } Method [ public method getTraitAliases ] { - Parameters [0] { } } Method [ public method isTrait ] { - Parameters [0] { } } Method [ public method isAbstract ] { - Parameters [0] { } } Method [ public method isFinal ] { - Parameters [0] { } } Method [ public method getModifiers ] { - Parameters [0] { } } Method [ public method isInstance ] { - Parameters [1] { Parameter #0 [ $object ] } } Method [ public method newInstance ] { - Parameters [1] { Parameter #0 [ $args ] } } Method [ public method newInstanceWithoutConstructor ] { - Parameters [0] { } } Method [ public method newInstanceArgs ] { - Parameters [1] { Parameter #0 [ array $args ] } } Method [ public method getParentClass ] { - Parameters [0] { } } Method [ public method isSubclassOf ] { - Parameters [1] { Parameter #0 [ $class ] } } Method [ public method getStaticProperties ] { - Parameters [0] { } } Method [ public method getStaticPropertyValue ] { - Parameters [2] { Parameter #0 [ $name ] Parameter #1 [ $default ] } } Method [ public method setStaticPropertyValue ] { - Parameters [2] { Parameter #0 [ $name ] Parameter #1 [ $value ] } } Method [ public method getDefaultProperties ] { - Parameters [0] { } } Method [ public method isIterateable ] { - Parameters [0] { } } Method [ public method implementsInterface ] { - Parameters [1] { Parameter #0 [ $interface ] } } Method [ public method getExtension ] { - Parameters [0] { } } Method [ public method getExtensionName ] { - Parameters [0] { } } Method [ public method inNamespace ] { - Parameters [0] { } } Method [ public method getNamespaceName ] { - Parameters [0] { } } Method [ public method getShortName ] { - Parameters [0] { } } } } Class [ class ReflectionProperty implements Reflector ] { - Constants [4] { Constant [ integer IS_STATIC ] { 1 } Constant [ integer IS_PUBLIC ] { 256 } Constant [ integer IS_PROTECTED ] { 512 } Constant [ integer IS_PRIVATE ] { 1024 } } - Static properties [0] { } - Static methods [1] { Method [ static public method export ] { - Parameters [3] { Parameter #0 [ $class ] Parameter #1 [ $name ] Parameter #2 [ $return ] } } } - Properties [2] { Property [ public $name ] Property [ public $class ] } - Methods [15] { Method [ final private method __clone ] { - Parameters [0] { } } Method [ public method __construct ] { - Parameters [2] { Parameter #0 [ $class ] Parameter #1 [ $name ] } } Method [ public method __toString ] { - Parameters [0] { } } Method [ public method getName ] { - Parameters [0] { } } Method [ public method getValue ] { - Parameters [1] { Parameter #0 [ $object ] } } Method [ public method setValue ] { - Parameters [2] { Parameter #0 [ $object ] Parameter #1 [ $value ] } } Method [ public method isPublic ] { - Parameters [0] { } } Method [ public method isPrivate ] { - Parameters [0] { } } Method [ public method isProtected ] { - Parameters [0] { } } Method [ public method isStatic ] { - Parameters [0] { } } Method [ public method isDefault ] { - Parameters [0] { } } Method [ public method getModifiers ] { - Parameters [0] { } } Method [ public method getDeclaringClass ] { - Parameters [0] { } } Method [ public method getDocComment ] { - Parameters [0] { } } Method [ public method setAccessible ] { - Parameters [1] { Parameter #0 [ $visible ] } } } } Class [ class ReflectionExtension implements Reflector ] { - Constants [0] { } - Static properties [0] { } - Static methods [1] { Method [ static public method export ] { - Parameters [2] { Parameter #0 [ $name ] Parameter #1 [ $return ] } } } - Properties [1] { Property [ public $name ] } - Methods [14] { Method [ final private method __clone ] { - Parameters [0] { } } Method [ public method __construct ] { - Parameters [1] { Parameter #0 [ $name ] } } Method [ public method __toString ] { - Parameters [0] { } } Method [ public method getName ] { - Parameters [0] { } } Method [ public method getVersion ] { - Parameters [0] { } } Method [ public method getFunctions ] { - Parameters [0] { } } Method [ public method getConstants ] { - Parameters [0] { } } Method [ public method getINIEntries ] { - Parameters [0] { } } Method [ public method getClasses ] { - Parameters [0] { } } Method [ public method getClassNames ] { - Parameters [0] { } } Method [ public method getDependencies ] { - Parameters [0] { } } Method [ public method info ] { - Parameters [0] { } } Method [ public method isPersistent ] { - Parameters [0] { } } Method [ public method isTemporary ] { - Parameters [0] { } } } } Class [ class ReflectionZendExtension implements Reflector ] { - Constants [0] { } - Static properties [0] { } - Static methods [1] { Method [ static public method export ] { - Parameters [2] { Parameter #0 [ $name ] Parameter #1 [ $return ] } } } - Properties [1] { Property [ public $name ] } - Methods [8] { Method [ final private method __clone ] { - Parameters [0] { } } Method [ public method __construct ] { - Parameters [1] { Parameter #0 [ $name ] } } Method [ public method __toString ] { - Parameters [0] { } } Method [ public method getName ] { - Parameters [0] { } } Method [ public method getVersion ] { - Parameters [0] { } } Method [ public method getAuthor ] { - Parameters [0] { } } Method [ public method getURL ] { - Parameters [0] { } } Method [ public method getCopyright ] { - Parameters [0] { } } } } } }