API Documentation

CodeGenerator/Php/Property.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: Property.php 20096 2010-01-06 02:05:09Z bkarwin $
Classes
Zend_CodeGenerator_Php_Property

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_Property

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
$_isConst
$_defaultValue
Methods
fromReflection
setConst
isConst
setDefaultValue
getDefaultValue
generate

Description

Properties

$_defaultValue

string $_defaultValue = 'null'

Details

$_defaultValue
string
visibility
protected
default
null
final
false
static
false

$_isConst

bool $_isConst = 'null'

Details

$_isConst
bool
visibility
protected
default
null
final
false
static
false

Methods

fromReflection

fromReflection( Zend_Reflection_Property $reflectionProperty ) : Zend_CodeGenerator_Php_Property

fromReflection()

Arguments
$reflectionProperty
Zend_Reflection_Property
Details
visibility
public
final
false
static
true

generate

generate( ) : string

generate()

Output
string
Details
visibility
public
final
false
static
false

getDefaultValue

getDefaultValue( ) : Zend_CodeGenerator_Php_Property_DefaultValue

getDefaultValue()

Details
visibility
public
final
false
static
false

isConst

isConst( ) : bool

isConst()

Output
bool
Details
visibility
public
final
false
static
false

setConst

setConst( bool $const ) : Zend_CodeGenerator_Php_Property

setConst()

Arguments
$const
bool
Details
visibility
public
final
false
static
false

setDefaultValue

setDefaultValue( Zend_CodeGenerator_Php_Property_DefaultValue|string|array $defaultValue ) : Zend_CodeGenerator_Php_Property

setDefaultValue()

Arguments
$defaultValue
Zend_CodeGenerator_Php_Property_DefaultValuestringarray
Details
visibility
public
final
false
static
false
Documentation was generated by DocBlox.