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

Public Member Functions

 getDeclaringFile ($reflectionClass= 'Zend_Reflection_File')
 Return the reflection file of the declaring file.
 
 getDocblock ($reflectionClass= 'Zend_Reflection_Docblock')
 Return the classes Docblock reflection object.
 
 getStartLine ($includeDocComment=false)
 Return the start line of the class.
 
 getContents ($includeDocblock=true)
 Return the contents of the class.
 
 getInterfaces ($reflectionClass= 'Zend_Reflection_Class')
 Get all reflection objects of implemented interfaces.
 
 getMethod ($name, $reflectionClass= 'Zend_Reflection_Method')
 Return method reflection by name.
 
 getMethods ($filter=-1, $reflectionClass= 'Zend_Reflection_Method')
 Get reflection objects of all methods.
 
 getParentClass ($reflectionClass= 'Zend_Reflection_Class')
 Get parent reflection class of reflected class.
 
 getProperty ($name, $reflectionClass= 'Zend_Reflection_Property')
 Return reflection property of this class by name.
 
 getProperties ($filter=-1, $reflectionClass= 'Zend_Reflection_Property')
 Return reflection properties of this class.
 

Member Function Documentation

getContents (   $includeDocblock = true)

Return the contents of the class.

Parameters
bool$includeDocblock
Returns
string
getDeclaringFile (   $reflectionClass = 'Zend_Reflection_File')

Return the reflection file of the declaring file.

Returns
Zend_Reflection_File
getDocblock (   $reflectionClass = 'Zend_Reflection_Docblock')

Return the classes Docblock reflection object.

Parameters
string$reflectionClassName of reflection class to use
Returns
Zend_Reflection_Docblock
Exceptions
Zend_Reflection_Exceptionfor missing docblock or invalid reflection class
getInterfaces (   $reflectionClass = 'Zend_Reflection_Class')

Get all reflection objects of implemented interfaces.

Parameters
string$reflectionClassName of reflection class to use
Returns
array Array of Zend_Reflection_Class
getMethod (   $name,
  $reflectionClass = 'Zend_Reflection_Method' 
)

Return method reflection by name.

Parameters
string$name
string$reflectionClassReflection class to utilize
Returns
Zend_Reflection_Method
getMethods (   $filter = -1,
  $reflectionClass = 'Zend_Reflection_Method' 
)

Get reflection objects of all methods.

Parameters
string$filter
string$reflectionClassReflection class to use for methods
Returns
array Array of Zend_Reflection_Method objects
getParentClass (   $reflectionClass = 'Zend_Reflection_Class')

Get parent reflection class of reflected class.

Parameters
string$reflectionClassName of Reflection class to use
Returns
Zend_Reflection_Class
getProperties (   $filter = -1,
  $reflectionClass = 'Zend_Reflection_Property' 
)

Return reflection properties of this class.

Parameters
int$filter
string$reflectionClassName of reflection class to use
Returns
array Array of Zend_Reflection_Property
getProperty (   $name,
  $reflectionClass = 'Zend_Reflection_Property' 
)

Return reflection property of this class by name.

Parameters
string$name
string$reflectionClassName of reflection class to use
Returns
Zend_Reflection_Property
getStartLine (   $includeDocComment = false)

Return the start line of the class.

Parameters
bool$includeDocComment
Returns
int