API Documentation

Zend/CodeGenerator/Php/Property.php

Show: inherited
Table of Contents

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.

Category
Zend  
Copyright
Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  
Package
Zend_CodeGenerator  
Subpackage
PHP  
Version
$Id: Property.php 24594 2012-01-05 21:27:01Z matthew $  

\Zend_CodeGenerator_Php_Property

Package: Zend\CodeGenerator

Parent(s)
\Zend_CodeGenerator_Php_Member_Abstract < \Zend_CodeGenerator_Php_Abstract < \Zend_CodeGenerator_Abstract
Category
Zend  
Copyright
Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  

Properties

Propertyprotectedstring  $_defaultValue= 'null'

Default valuenullDetails
Type
string
Propertyprotectedbool  $_isConst= 'null'

Default valuenullDetails
Type
bool

Methods

methodpublicfromReflection( \Zend_Reflection_Property $reflectionProperty ) : \Zend_CodeGenerator_Php_Property
static

fromReflection()

Parameters
Name Type Description
$reflectionProperty \Zend_Reflection_Property
Returns
Type Description
\Zend_CodeGenerator_Php_Property
methodpublicgenerate( ) : string

generate()

Returns
Type Description
string
methodpublicgetDefaultValue( ) : \Zend_CodeGenerator_Php_Property_DefaultValue

getDefaultValue()

methodpublicisConst( ) : bool

isConst()

Returns
Type Description
bool
methodpublicsetConst( bool $const ) : \Zend_CodeGenerator_Php_Property

setConst()

Parameters
Name Type Description
$const bool
Returns
Type Description
\Zend_CodeGenerator_Php_Property
methodpublicsetDefaultValue( \Zend_CodeGenerator_Php_Property_DefaultValue|string|array $defaultValue ) : \Zend_CodeGenerator_Php_Property

setDefaultValue()

Parameters
Name Type Description
$defaultValue \Zend_CodeGenerator_Php_Property_DefaultValue|string|array
Returns
Type Description
\Zend_CodeGenerator_Php_Property
Documentation was generated by DocBlox 0.15.1.