Zend Framework  1.12
Public Member Functions | Static Public Member Functions | Protected Attributes | List of all members
Zend_CodeGenerator_Php_Property Class Reference

Public Member Functions

 setConst ($const)
 setConst()
 
 isConst ()
 isConst()
 
 setDefaultValue ($defaultValue)
 setDefaultValue()
 
 getDefaultValue ()
 getDefaultValue()
 
 generate ()
 generate()
 
- Public Member Functions inherited from Zend_CodeGenerator_Php_Member_Abstract
 setDocblock ($docblock)
 setDocblock() Set the docblock
 
 getDocblock ()
 getDocblock()
 
 setAbstract ($isAbstract)
 setAbstract()
 
 isAbstract ()
 isAbstract()
 
 setFinal ($isFinal)
 setFinal()
 
 isFinal ()
 isFinal()
 
 setStatic ($isStatic)
 setStatic()
 
 isStatic ()
 isStatic()
 
 setVisibility ($visibility)
 setVisitibility()
 
 getVisibility ()
 getVisibility()
 
 setName ($name)
 setName()
 
 getName ()
 getName()
 
- Public Member Functions inherited from Zend_CodeGenerator_Php_Abstract
 setSourceDirty ($isSourceDirty=true)
 setSourceDirty()
 
 isSourceDirty ()
 isSourceDirty()
 
 setIndentation ($indentation)
 setIndentation()
 
 getIndentation ()
 getIndentation()
 
- Public Member Functions inherited from Zend_CodeGenerator_Abstract
 __construct ($options=array())
 __construct()
 
 setConfig (Zend_Config $config)
 setConfig()
 
 setOptions (Array $options)
 setOptions()
 
 setSourceContent ($sourceContent)
 setSourceContent()
 
 getSourceContent ()
 getSourceContent()
 
 generate ()
 generate() - must be implemented by the child
 
 __toString ()
 __toString() - casting to a string will in turn call generate()
 

Static Public Member Functions

static fromReflection (Zend_Reflection_Property $reflectionProperty)
 fromReflection()
 

Protected Attributes

 $_isConst = null
 
 $_defaultValue = null
 
- Protected Attributes inherited from Zend_CodeGenerator_Php_Member_Abstract
 $_docblock = null
 
 $_isAbstract = false
 
 $_isFinal = false
 
 $_isStatic = false
 
 $_visibility = self::VISIBILITY_PUBLIC
 
 $_name = null
 
- Protected Attributes inherited from Zend_CodeGenerator_Php_Abstract
 $_isSourceDirty = true
 
 $_indentation = ' '
 
- Protected Attributes inherited from Zend_CodeGenerator_Abstract
 $_sourceContent = null
 
 $_isSourceDirty = true
 

Additional Inherited Members

- Public Attributes inherited from Zend_CodeGenerator_Php_Member_Abstract
const VISIBILITY_PUBLIC = 'public'
 #@+
 
const VISIBILITY_PROTECTED = 'protected'
 
const VISIBILITY_PRIVATE = 'private'
 
- Protected Member Functions inherited from Zend_CodeGenerator_Abstract
 _init ()
 _init() - this is called before the constuctor
 
 _prepare ()
 _prepare() - this is called at construction completion
 

Member Function Documentation

static fromReflection ( Zend_Reflection_Property  $reflectionProperty)
static
generate ( )

generate()

Returns
string
getDefaultValue ( )
isConst ( )

isConst()

Returns
bool
setConst (   $const)

setConst()

Parameters
bool$const
Returns
Zend_CodeGenerator_Php_Property
setDefaultValue (   $defaultValue)

Member Data Documentation

$_defaultValue = null
protected
$_isConst = null
protected