category Zend
package Zend_CodeGenerator
copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
license New BSD License
inherited_from \Zend_CodeGenerator_Abstract

 Methods

__construct()

__construct(array $options = array()
Inherited

Parameters

$options

array

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

__toString() : string
Inherited

Returns

string

generate()

generate() : string
inherited_from \Zend_CodeGenerator_Abstract::generate()

Returns

string

generate() - must be implemented by the child

generate() 
Inherited

getContent()

getContent() : string

Returns

string

getSourceContent()

getSourceContent() : string
Inherited

Returns

string

setConfig()

setConfig(\Zend_Config $config) : \Zend_CodeGenerator_Abstract
Inherited

Parameters

$config

\Zend_Config

Returns

\Zend_CodeGenerator_Abstract

setContent()

setContent(string $content) : \Zend_CodeGenerator_Php_Body

Parameters

$content

string

Returns

\Zend_CodeGenerator_Php_Body

setOptions()

setOptions(array $options) : \Zend_CodeGenerator_Abstract
Inherited

Parameters

$options

array

Returns

\Zend_CodeGenerator_Abstract

setSourceContent()

setSourceContent(string $sourceContent) 
Inherited

Parameters

$sourceContent

string

_init() - this is called before the constuctor

_init() 
Inherited

_prepare() - this is called at construction completion

_prepare() 
Inherited

 Properties

 

$_content

$_content : string

Default

null
 

$_isSourceDirty

$_isSourceDirty : boolean

Default

true
 

$_sourceContent

$_sourceContent : string

Default

null