API Documentation

CodeGenerator/Php/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_CodeGenerator
subpackage
PHP
version
$Id: Method.php 20096 2010-01-06 02:05:09Z bkarwin $
Classes
Zend_CodeGenerator_Php_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_CodeGenerator_Php_Method

Extends from
Zend_CodeGenerator_Php_Member_Abstract
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_CodeGenerator
Properties
$_docblock
$_isFinal
$_parameters
$_body
Methods
fromReflection
setFinal
setParameters
setParameter
getParameters
setBody
getBody
generate

Description

Properties

$_body

string $_body = 'null'

Details

$_body
string
visibility
protected
default
null
final
false
static
false

$_docblock

Zend_CodeGenerator_Php_Docblock $_docblock = 'null'

Details

$_docblock
Zend_CodeGenerator_Php_Docblock
visibility
protected
default
null
final
false
static
false

$_isFinal

bool $_isFinal = 'false'

Details

$_isFinal
bool
visibility
protected
default
false
final
false
static
false

$_parameters

array $_parameters = 'array'

Details

$_parameters
array
visibility
protected
default
array
final
false
static
false

Methods

fromReflection

fromReflection( Zend_Reflection_Method $reflectionMethod ) : Zend_CodeGenerator_Php_Method

fromReflection()

Arguments
$reflectionMethod
Zend_Reflection_Method
Details
visibility
public
final
false
static
true

generate

generate( ) : string

generate()

Output
string
Details
visibility
public
final
false
static
false

getBody

getBody( ) : string

getBody()

Output
string
Details
visibility
public
final
false
static
false

getParameters

getParameters( ) : array

getParameters()

Output
array
Array of Zend_CodeGenerator_Php_Parameter
Details
visibility
public
final
false
static
false

setBody

setBody( string $body ) : Zend_CodeGenerator_Php_Method

setBody()

Arguments
$body
string
Details
visibility
public
final
false
static
false

setFinal

setFinal( bool $isFinal ) :

setFinal()

Arguments
$isFinal
bool
Details
visibility
public
final
false
static
false

setParameter

setParameter( Zend_CodeGenerator_Php_Parameter|array $parameter ) : Zend_CodeGenerator_Php_Method

setParameter()

Arguments
$parameter
Zend_CodeGenerator_Php_Parameterarray
Details
visibility
public
final
false
static
false

setParameters

setParameters( array $parameters ) : Zend_CodeGenerator_Php_Method

setParameters()

Arguments
$parameters
array
Details
visibility
public
final
false
static
false
Documentation was generated by DocBlox.