API Documentation

Reflection/Class.php

Includes Classes 
category
Zend
copyright
Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
license
http://framework.zend.com/license/new-bsd New BSD License
package
Zend_Reflection
version
$Id: Class.php 20096 2010-01-06 02:05:09Z bkarwin $
Classes
Zend_Reflection_Class

Description

Zend Framework

LICENSE

This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to license@zend.com so we can send you a copy immediately.

Zend_Reflection_Class

Extends from
ReflectionClass
category
Zend
copyright
Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
license
http://framework.zend.com/license/new-bsd New BSD License
package
Zend_Reflection
Methods
getDeclaringFile
getDocblock
getStartLine
getContents
getInterfaces
getMethod
getMethods
getParentClass
getProperty
getProperties

Description

Methods

getContents

getContents( bool $includeDocblock = true ) : string

Return the contents of the class

Arguments
$includeDocblock
bool
Output
string
Details
visibility
public
final
false
static
false

getDeclaringFile

getDeclaringFile(  $reflectionClass = Zend_Reflection_File ) : Zend_Reflection_File

Return the reflection file of the declaring file.

Arguments
$reflectionClass
Details
visibility
public
final
false
static
false

getDocblock

getDocblock( string $reflectionClass = Zend_Reflection_Docblock ) : Zend_Reflection_Docblock

Return the classes Docblock reflection object

Arguments
$reflectionClass
string
Name of reflection class to use
Details
visibility
public
final
false
static
false
throws
for missing docblock or invalid reflection class

getInterfaces

getInterfaces( string $reflectionClass = Zend_Reflection_Class ) : array

Get all reflection objects of implemented interfaces

Arguments
$reflectionClass
string
Name of reflection class to use
Output
array
Array of Zend_Reflection_Class
Details
visibility
public
final
false
static
false

getMethod

getMethod( string $name, string $reflectionClass = Zend_Reflection_Method ) : Zend_Reflection_Method

Return method reflection by name

Arguments
$name
string
$reflectionClass
string
Reflection class to utilize
Details
visibility
public
final
false
static
false

getMethods

getMethods( string $filter = 1, string $reflectionClass = Zend_Reflection_Method ) : array

Get reflection objects of all methods

Arguments
$filter
string
$reflectionClass
string
Reflection class to use for methods
Output
array
Array of Zend_Reflection_Method objects
Details
visibility
public
final
false
static
false

getParentClass

getParentClass( string $reflectionClass = Zend_Reflection_Class ) : Zend_Reflection_Class

Get parent reflection class of reflected class

Arguments
$reflectionClass
string
Name of Reflection class to use
Details
visibility
public
final
false
static
false

getProperties

getProperties( int $filter = 1, string $reflectionClass = Zend_Reflection_Property ) : array

Return reflection properties of this class

Arguments
$filter
int
$reflectionClass
string
Name of reflection class to use
Output
array
Array of Zend_Reflection_Property
Details
visibility
public
final
false
static
false

getProperty

getProperty( string $name, string $reflectionClass = Zend_Reflection_Property ) : Zend_Reflection_Property

Return reflection property of this class by name

Arguments
$name
string
$reflectionClass
string
Name of reflection class to use
Details
visibility
public
final
false
static
false

getStartLine

getStartLine( bool $includeDocComment = false ) : int

Return the start line of the class

Arguments
$includeDocComment
bool
Output
int
Details
visibility
public
final
false
static
false
Documentation was generated by DocBlox.