Zend Framework  1.12
Public Member Functions | List of all members
Zend_Reflection_Method Class Reference

Public Member Functions

 getDocblock ($reflectionClass= 'Zend_Reflection_Docblock')
 Retrieve method docblock reflection.
 
 getStartLine ($includeDocComment=false)
 Get start line (position) of method.
 
 getDeclaringClass ($reflectionClass= 'Zend_Reflection_Class')
 Get reflection of declaring class.
 
 getParameters ($reflectionClass= 'Zend_Reflection_Parameter')
 Get all method parameter reflection objects.
 
 getContents ($includeDocblock=true)
 Get method contents.
 
 getBody ()
 Get method body.
 

Member Function Documentation

getBody ( )

Get method body.

Returns
string
getContents (   $includeDocblock = true)

Get method contents.

Parameters
bool$includeDocblock
Returns
string
getDeclaringClass (   $reflectionClass = 'Zend_Reflection_Class')

Get reflection of declaring class.

Parameters
string$reflectionClassName of reflection class to use
Returns
Zend_Reflection_Class
getDocblock (   $reflectionClass = 'Zend_Reflection_Docblock')

Retrieve method docblock reflection.

Returns
Zend_Reflection_Docblock
Exceptions
Zend_Reflection_Exception
getParameters (   $reflectionClass = 'Zend_Reflection_Parameter')

Get all method parameter reflection objects.

Parameters
string$reflectionClassName of reflection class to use
Returns
array of Zend_Reflection_Parameter objects
getStartLine (   $includeDocComment = false)

Get start line (position) of method.

Parameters
bool$includeDocComment
Returns
int