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

Public Member Functions

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

Public Attributes

const LINE_FEED = "\n"
 Line feed to use in place of EOL.
 

Protected Attributes

 $_isSourceDirty = true
 
 $_indentation = ' '
 
- Protected Attributes inherited from Zend_CodeGenerator_Abstract
 $_sourceContent = null
 
 $_isSourceDirty = true
 

Additional Inherited Members

- 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

getIndentation ( )

getIndentation()

Returns
string|int
isSourceDirty ( )

isSourceDirty()

Returns
bool
setIndentation (   $indentation)

setIndentation()

Parameters
string | int$indentation
Returns
Zend_CodeGenerator_Php_Abstract
setSourceDirty (   $isSourceDirty = true)

setSourceDirty()

Parameters
bool$isSourceDirty
Returns
Zend_CodeGenerator_Php_Abstract

Member Data Documentation

$_indentation = ' '
protected
$_isSourceDirty = true
protected
const LINE_FEED = "\n"

Line feed to use in place of EOL.