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.

array
$_implementedInterfaces= 'array()'
array()
Details
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 |

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 |

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 |

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 |

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 |

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 |