API Documentation

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

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_Function

Extends from
ReflectionFunction
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
getContents
getParameters
getReturn

Description

Methods

getContents

getContents( bool $includeDocblock = true ) : string

Get contents of function

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

getDocblock

getDocblock( string $reflectionClass = Zend_Reflection_Docblock ) : Zend_Reflection_Docblock

Get function docblock

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

getParameters

getParameters( string $reflectionClass = Zend_Reflection_Parameter ) : array

Get function parameters

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

getReturn

getReturn( ) : Zend_Reflection_Docblock_Tag_Return

Get return type tag

Details
visibility
public
final
false
static
false

getStartLine

getStartLine( bool $includeDocComment = false ) : int

Get start line (position) of function

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