Zend Framework
LICENSE
This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to license@zend.com so we can send you a copy immediately.

__construct(
array $options
=
array
)
:
void
__construct()
Inherited from: \Zend_CodeGenerator_Abstract::__construct()Name | Type | Description |
---|---|---|
$options | array |

__toString(
)
:
string
__toString() - casting to a string will in turn call generate()
Inherited from: \Zend_CodeGenerator_Abstract::__toString()Type | Description |
---|---|
string |

_prepare(
)
:
void
_prepare() - this is called at construction completion
Inherited from: \Zend_CodeGenerator_Abstract::_prepare()
fromReflection(
\Zend_Reflection_Class $reflectionClass
)
:
\Zend_CodeGenerator_Php_Class
fromReflection() - build a Code Generation PHP Object from a Class Reflection
Name | Type | Description |
---|---|---|
$reflectionClass | \Zend_Reflection_Class |
Type | Description |
---|---|
\Zend_CodeGenerator_Php_Class |

getDocblock(
)
:
\Zend_CodeGenerator_Php_Docblock
getDocblock()
Type | Description |
---|---|
\Zend_CodeGenerator_Php_Docblock |

getIndentation(
)
:
string|int
getIndentation()
Inherited from: \Zend_CodeGenerator_Php_Abstract::getIndentation()Type | Description |
---|---|
stringint |

getMethod(
string $methodName
)
:
\Zend_CodeGenerator_Php_Method
getMethod()
Name | Type | Description |
---|---|---|
$methodName | string |
Type | Description |
---|---|
\Zend_CodeGenerator_Php_Method |

getProperty(
string $propertyName
)
:
\Zend_CodeGenerator_Php_Property
getProperty()
Name | Type | Description |
---|---|---|
$propertyName | string |
Type | Description |
---|---|
\Zend_CodeGenerator_Php_Property |

getSourceContent(
)
:
string
getSourceContent()
Inherited from: \Zend_CodeGenerator_Abstract::getSourceContent()Type | Description |
---|---|
string |

hasMethod(
string $methodName
)
:
bool
hasMethod()
Name | Type | Description |
---|---|---|
$methodName | string |
Type | Description |
---|---|
bool |

hasProperty(
string $propertyName
)
:
bool
hasProperty()
Name | Type | Description |
---|---|---|
$propertyName | string |
Type | Description |
---|---|
bool |

setAbstract(
bool $isAbstract
)
:
\Zend_CodeGenerator_Php_Class
setAbstract()
Name | Type | Description |
---|---|---|
$isAbstract | bool |
Type | Description |
---|---|
\Zend_CodeGenerator_Php_Class |

setConfig(
\Zend_Config $config
)
:
\Zend_CodeGenerator_Abstract
setConfig()
Inherited from: \Zend_CodeGenerator_Abstract::setConfig()Name | Type | Description |
---|---|---|
$config | \Zend_Config |
Type | Description |
---|---|
\Zend_CodeGenerator_Abstract |

setDocblock(
\Zend_CodeGenerator_Php_Docblock|array|string $docblock
)
:
\Zend_CodeGenerator_Php_File
setDocblock() Set the docblock
Name | Type | Description |
---|---|---|
$docblock | \Zend_CodeGenerator_Php_Docblock|array|string |
Type | Description |
---|---|
\Zend_CodeGenerator_Php_File |

setExtendedClass(
string $extendedClass
)
:
\Zend_CodeGenerator_Php_Class
setExtendedClass()
Name | Type | Description |
---|---|---|
$extendedClass | string |
Type | Description |
---|---|
\Zend_CodeGenerator_Php_Class |

setImplementedInterfaces(
array $implementedInterfaces
)
:
\Zend_CodeGenerator_Php_Class
setImplementedInterfaces()
Name | Type | Description |
---|---|---|
$implementedInterfaces | array |
Type | Description |
---|---|
\Zend_CodeGenerator_Php_Class |

setIndentation(
string|int $indentation
)
:
\Zend_CodeGenerator_Php_Abstract
setIndentation()
Inherited from: \Zend_CodeGenerator_Php_Abstract::setIndentation()Name | Type | Description |
---|---|---|
$indentation | string|int |
Type | Description |
---|---|
\Zend_CodeGenerator_Php_Abstract |

setMethod(
array|\Zend_CodeGenerator_Php_Method $method
)
:
\Zend_CodeGenerator_Php_Class
setMethod()
Name | Type | Description |
---|---|---|
$method | array|\Zend_CodeGenerator_Php_Method |
Type | Description |
---|---|
\Zend_CodeGenerator_Php_Class |

setMethods(
array $methods
)
:
\Zend_CodeGenerator_Php_Class
setMethods()
Name | Type | Description |
---|---|---|
$methods | array |
Type | Description |
---|---|
\Zend_CodeGenerator_Php_Class |

setName(
string $name
)
:
\Zend_CodeGenerator_Php_Class
setName()
Name | Type | Description |
---|---|---|
$name | string |
Type | Description |
---|---|
\Zend_CodeGenerator_Php_Class |

setOptions(
array $options
)
:
\Zend_CodeGenerator_Abstract
setOptions()
Inherited from: \Zend_CodeGenerator_Abstract::setOptions()Name | Type | Description |
---|---|---|
$options | array |
Type | Description |
---|---|
\Zend_CodeGenerator_Abstract |

setProperties(
array $properties
)
:
\Zend_CodeGenerator_Php_Class
setProperties()
Name | Type | Description |
---|---|---|
$properties | array |
Type | Description |
---|---|
\Zend_CodeGenerator_Php_Class |

setProperty(
array|\Zend_CodeGenerator_Php_Property $property
)
:
\Zend_CodeGenerator_Php_Class
setProperty()
Name | Type | Description |
---|---|---|
$property | array|\Zend_CodeGenerator_Php_Property |
Type | Description |
---|---|
\Zend_CodeGenerator_Php_Class |

setSourceContent(
string $sourceContent
)
:
void
setSourceContent()
Inherited from: \Zend_CodeGenerator_Abstract::setSourceContent()Name | Type | Description |
---|---|---|
$sourceContent | string |

setSourceDirty(
bool $isSourceDirty
=
true
)
:
\Zend_CodeGenerator_Php_Abstract
setSourceDirty()
Inherited from: \Zend_CodeGenerator_Php_Abstract::setSourceDirty()Name | Type | Description |
---|---|---|
$isSourceDirty | bool |
Type | Description |
---|---|
\Zend_CodeGenerator_Php_Abstract |