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

Public Member Functions

 __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()
 

Protected Member Functions

 _init ()
 _init() - this is called before the constuctor
 
 _prepare ()
 _prepare() - this is called at construction completion
 

Protected Attributes

 $_sourceContent = null
 
 $_isSourceDirty = true
 

Constructor & Destructor Documentation

__construct (   $options = array())

__construct()

Parameters
array$options

Member Function Documentation

__toString ( )
final

__toString() - casting to a string will in turn call generate()

Returns
string
_init ( )
protected

_init() - this is called before the constuctor

_prepare ( )
protected

_prepare() - this is called at construction completion

generate ( )
abstract

generate() - must be implemented by the child

getSourceContent ( )

getSourceContent()

Returns
string
setConfig ( Zend_Config  $config)
setOptions ( Array  $options)

setOptions()

Parameters
array$options
Returns
Zend_CodeGenerator_Abstract
setSourceContent (   $sourceContent)

setSourceContent()

Parameters
string$sourceContent

Member Data Documentation

$_isSourceDirty = true
protected
$_sourceContent = null
protected