API Documentation

Reflection/Method.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: Method.php 20096 2010-01-06 02:05:09Z bkarwin $
Classes
Zend_Reflection_Method

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_Method

Extends from
ReflectionMethod
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
getDocblock
getStartLine
getDeclaringClass
getParameters
getContents
getBody

Description

Methods

getBody

getBody( ) : string

Get method body

Output
string
Details
visibility
public
final
false
static
false

getContents

getContents( bool $includeDocblock = true ) : string

Get method contents

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

getDeclaringClass

getDeclaringClass( string $reflectionClass = Zend_Reflection_Class ) : Zend_Reflection_Class

Get reflection of declaring class

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

getDocblock

getDocblock(  $reflectionClass = Zend_Reflection_Docblock ) : Zend_Reflection_Docblock

Retrieve method docblock reflection

Arguments
$reflectionClass
Details
visibility
public
final
false
static
false
throws

getParameters

getParameters( string $reflectionClass = Zend_Reflection_Parameter ) : array

Get all method parameter reflection objects

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

getStartLine

getStartLine( bool $includeDocComment = false ) : int

Get start line (position) of method

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