Moodle  2.2.1
http://www.collinsharper.com
Zend_Server_Reflection_Parameter Class Reference

Public Member Functions

 __construct (ReflectionParameter $r, $type= 'mixed', $description= '')
 __call ($method, $args)
 getType ()
 setType ($type)
 getDescription ()
 setDescription ($description)
 setPosition ($index)
 getPosition ()

Protected Attributes

 $_reflection
 $_position
 $_type
 $_description

Detailed Description

Definition at line 33 of file Parameter.php.


Constructor & Destructor Documentation

__construct ( ReflectionParameter $  r,
type = 'mixed',
description = '' 
)

Constructor

Parameters:
ReflectionParameter$r
string$typeParameter type
string$descriptionParameter description

Definition at line 65 of file Parameter.php.

Here is the call graph for this function:


Member Function Documentation

__call ( method,
args 
)

Proxy reflection calls

Parameters:
string$method
array$args
Returns:
mixed

Definition at line 79 of file Parameter.php.

Retrieve parameter description

Returns:
string

Definition at line 120 of file Parameter.php.

Return parameter position

Returns:
int

Definition at line 157 of file Parameter.php.

getType ( )

Retrieve parameter type

Returns:
string

Definition at line 94 of file Parameter.php.

setDescription ( description)

Set parameter description

Parameters:
string | null$description
Returns:
void

Definition at line 131 of file Parameter.php.

Here is the caller graph for this function:

setPosition ( index)

Set parameter position

Parameters:
int$index
Returns:
void

Definition at line 147 of file Parameter.php.

setType ( type)

Set parameter type

Parameters:
string | null$type
Returns:
void

Definition at line 105 of file Parameter.php.

Here is the caller graph for this function:


Field Documentation

$_description [protected]

Definition at line 56 of file Parameter.php.

$_position [protected]

Definition at line 44 of file Parameter.php.

$_reflection [protected]

Definition at line 38 of file Parameter.php.

$_type [protected]

Definition at line 50 of file Parameter.php.


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Enumerations