프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$_help | string | Method help, for introspection. | |
$_name | string | External method name. | |
$_numberOfRequiredParameters | integer | Number of required parameters. | |
$_parameters | array | Method signature parameters. | |
$_returns | string | Method signature return type. |
메소드 | 설명 | |
---|---|---|
__construct ( ReflectionFunction $method ) | Constructor. | |
autoDocument ( ) : string | Returns a complete description of the method. | |
factory ( string $function, string $driver = 'Html' ) : Horde_Document | Attempts to return a concrete Horde_Document instance based on $driver. |
메소드 | 설명 | |
---|---|---|
_limitPHPType ( $type ) : string | array | Converts types from phpdoc comments (and limit to xmlrpc available types) to php type names. |
public __construct ( ReflectionFunction $method ) | ||
$method | ReflectionFunction | The PHP method to introspect. |
protected static _limitPHPType ( $type ) : string | array | ||
리턴 | string | array | The standardized php type(s). |
abstract public autoDocument ( ) : string | ||
리턴 | string | The method documentation. |
public static factory ( string $function, string $driver = 'Html' ) : Horde_Document | ||
$function | string | The method to document. |
$driver | string | The type of the concrete Horde_Document subclass to return. The class name is based on the driver. The code is dynamically included. |
리턴 | Horde_Document | The newly created concrete Horde_Document instance, or false on an error. |
protected int $_numberOfRequiredParameters | ||
리턴 | integer |