API Documentation

CodeGenerator/Php/Parameter.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: Parameter.php 22765 2010-08-02 03:13:29Z ramon $
Classes
Zend_CodeGenerator_Php_Parameter

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_Parameter

Extends from
Zend_CodeGenerator_Php_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
$_type
$_name
$_defaultValue
$_position
$_passedByReference
Methods
fromReflection
setType
getType
setName
getName
setDefaultValue
getDefaultValue
setPosition
getPosition
getPassedByReference
setPassedByReference
generate

Description

Properties

$_defaultValue

string $_defaultValue = 'null'

Details

$_defaultValue
string
visibility
protected
default
null
final
false
static
false

$_name

string $_name = 'null'

Details

$_name
string
visibility
protected
default
null
final
false
static
false

$_passedByReference

bool $_passedByReference = 'false'

Details

$_passedByReference
bool
visibility
protected
default
false
final
false
static
false

$_position

int $_position = 'null'

Details

$_position
int
visibility
protected
default
null
final
false
static
false

$_type

string $_type = 'null'

Details

$_type
string
visibility
protected
default
null
final
false
static
false

Methods

fromReflection

fromReflection( Zend_Reflection_Parameter $reflectionParameter ) : Zend_CodeGenerator_Php_Parameter

fromReflection()

Arguments
$reflectionParameter
Zend_Reflection_Parameter
Details
visibility
public
final
false
static
true

generate

generate( ) : string

generate()

Output
string
Details
visibility
public
final
false
static
false

getDefaultValue

getDefaultValue( ) : string

getDefaultValue()

Output
string
Details
visibility
public
final
false
static
false

getName

getName( ) : string

getName()

Output
string
Details
visibility
public
final
false
static
false

getPassedByReference

getPassedByReference( ) : bool

Output
bool
Details
visibility
public
final
false
static
false

getPosition

getPosition( ) : int

getPosition()

Output
int
Details
visibility
public
final
false
static
false

getType

getType( ) : string

getType()

Output
string
Details
visibility
public
final
false
static
false

setDefaultValue

setDefaultValue( null|bool|string|int|float|Zend_CodeGenerator_Php_Parameter_DefaultValue $defaultValue ) : Zend_CodeGenerator_Php_Parameter

Set the default value of the parameter.

Certain variables are difficult to expres

Arguments
$defaultValue
nullboolstringintfloatZend_CodeGenerator_Php_Parameter_DefaultValue
Details
visibility
public
final
false
static
false

setName

setName( string $name ) : Zend_CodeGenerator_Php_Parameter

setName()

Arguments
$name
string
Details
visibility
public
final
false
static
false

setPassedByReference

setPassedByReference( bool $passedByReference ) : Zend_CodeGenerator_Php_Parameter

Arguments
$passedByReference
bool
Details
visibility
public
final
false
static
false

setPosition

setPosition( int $position ) : Zend_CodeGenerator_Php_Parameter

setPosition()

Arguments
$position
int
Details
visibility
public
final
false
static
false

setType

setType( string $type ) : Zend_CodeGenerator_Php_Parameter

setType()

Arguments
$type
string
Details
visibility
public
final
false
static
false
Documentation was generated by DocBlox.