Zend Framework
1.12
|
Static Public Member Functions | |
static | registerFileCodeGenerator (Zend_CodeGenerator_Php_File $fileCodeGenerator, $fileName=null) |
static | fromReflectedFileName ($filePath, $usePreviousCodeGeneratorIfItExists=true, $includeIfNotAlreadyIncluded=true) |
fromReflectedFileName() - use this if you intend on generating code generation objects based on the same file. | |
static | fromReflection (Zend_Reflection_File $reflectionFile) |
fromReflection() | |
Protected Attributes | |
$_filename = null | |
$_docblock = null | |
$_requiredFiles = array() | |
$_classes = array() | |
$_body = null | |
![]() | |
$_isSourceDirty = true | |
$_indentation = ' ' | |
![]() | |
$_sourceContent = null | |
$_isSourceDirty = true | |
Static Protected Attributes | |
static | $_fileCodeGenerators = array() |
static | $_markerDocblock = '/* Zend_CodeGenerator_Php_File-DocblockMarker */' |
static | $_markerRequire = '/* Zend_CodeGenerator_Php_File-RequireMarker: {?} */' |
static | $_markerClass = '/* Zend_CodeGenerator_Php_File-ClassMarker: {?} */' |
Additional Inherited Members | |
![]() | |
const | LINE_FEED = "\n" |
Line feed to use in place of EOL. | |
![]() | |
_init () | |
_init() - this is called before the constuctor | |
_prepare () | |
_prepare() - this is called at construction completion | |
|
static |
fromReflectedFileName() - use this if you intend on generating code generation objects based on the same file.
This will keep previous changes to the file in tact during the same PHP process
string | $filePath | |
bool | $usePreviousCodeGeneratorIfItExists | |
bool | $includeIfNotAlreadyIncluded |
|
static |
generate | ( | ) |
getBody | ( | ) |
getClass | ( | $name = null | ) |
getClasses | ( | ) |
getDocblock | ( | ) |
Get docblock.
getFilename | ( | ) |
getRequiredFiles | ( | ) |
isSourceDirty | ( | ) |
|
static |
setBody | ( | $body | ) |
setClass | ( | $class | ) |
setClasses | ( | Array | $classes | ) |
setDocblock | ( | $docblock | ) |
setDocblock() Set the docblock
Zend_CodeGenerator_Php_Docblock | array | string | $docblock |
setFilename | ( | $filename | ) |
setRequiredFiles | ( | $requiredFiles | ) |
write | ( | ) |
|
protected |
|
protected |
|
protected |
|
staticprotected |
|
protected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
protected |