API Documentation

CodeGenerator/Php/Class.php

Includes Classes 
category
Zend
copyright
Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
license
http://framework.zend.com/license/new-bsd New BSD License
package
Zend_CodeGenerator
subpackage
PHP
version
$Id: Class.php 21916 2010-04-16 20:41:42Z matthew $
Classes
Zend_CodeGenerator_Php_Class

Description

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.

Zend_CodeGenerator_Php_Class

Extends from
Zend_CodeGenerator_Php_Abstract
category
Zend
copyright
Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
license
http://framework.zend.com/license/new-bsd New BSD License
package
Zend_CodeGenerator
Properties
$_docblock
$_name
$_isAbstract
$_extendedClass
$_implementedInterfaces
$_properties
$_methods
Methods
fromReflection
setDocblock
getDocblock
setName
getName
setAbstract
isAbstract
setExtendedClass
getExtendedClass
setImplementedInterfaces
getImplementedInterfaces
setProperties
setProperty
getProperties
getProperty
hasProperty
setMethods
setMethod
getMethods
getMethod
hasMethod
isSourceDirty
generate
_init

Description

Properties

$_docblock

Zend_CodeGenerator_Php_Docblock $_docblock = 'null'

Details

$_docblock
Zend_CodeGenerator_Php_Docblock
visibility
protected
default
null
final
false
static
false

$_extendedClass

string $_extendedClass = 'null'

Details

$_extendedClass
string
visibility
protected
default
null
final
false
static
false

$_implementedInterfaces

array $_implementedInterfaces = 'array'

Details

$_implementedInterfaces
array
Array of string names
visibility
protected
default
array
final
false
static
false

$_isAbstract

bool $_isAbstract = 'false'

Details

$_isAbstract
bool
visibility
protected
default
false
final
false
static
false

$_methods

array $_methods = 'null'

Details

$_methods
array
Array of methods
visibility
protected
default
null
final
false
static
false

$_name

string $_name = 'null'

Details

$_name
string
visibility
protected
default
null
final
false
static
false

$_properties

array $_properties = 'null'

Details

$_properties
array
Array of properties
visibility
protected
default
null
final
false
static
false

Methods

_init

_init( ) :

_init() - is called at construction time

Details
visibility
protected
final
false
static
false

fromReflection

fromReflection( Zend_Reflection_Class $reflectionClass ) : Zend_CodeGenerator_Php_Class

fromReflection() - build a Code Generation PHP Object from a Class Reflection

Arguments
$reflectionClass
Zend_Reflection_Class
Details
visibility
public
final
false
static
true

generate

generate( ) : string

generate()

Output
string
Details
visibility
public
final
false
static
false

getDocblock

getDocblock( ) : Zend_CodeGenerator_Php_Docblock

getDocblock()

Details
visibility
public
final
false
static
false

getExtendedClass

getExtendedClass( ) : string

getExtendedClass()

Output
string
Details
visibility
public
final
false
static
false

getImplementedInterfaces

getImplementedInterfaces( ) : array

getImplementedInterfaces

Output
array
Details
visibility
public
final
false
static
false

getMethod

getMethod( string $methodName ) : Zend_CodeGenerator_Php_Method

getMethod()

Arguments
$methodName
string
Details
visibility
public
final
false
static
false

getMethods

getMethods( ) : array

getMethods()

Output
array
Details
visibility
public
final
false
static
false

getName

getName( ) : string

getName()

Output
string
Details
visibility
public
final
false
static
false

getProperties

getProperties( ) : array

getProperties()

Output
array
Details
visibility
public
final
false
static
false

getProperty

getProperty( string $propertyName ) : Zend_CodeGenerator_Php_Property

getProperty()

Arguments
$propertyName
string
Details
visibility
public
final
false
static
false

hasMethod

hasMethod( string $methodName ) : bool

hasMethod()

Arguments
$methodName
string
Output
bool
Details
visibility
public
final
false
static
false

hasProperty

hasProperty( string $propertyName ) : bool

hasProperty()

Arguments
$propertyName
string
Output
bool
Details
visibility
public
final
false
static
false

isAbstract

isAbstract( ) : bool

isAbstract()

Output
bool
Details
visibility
public
final
false
static
false

isSourceDirty

isSourceDirty( ) : bool

isSourceDirty()

Output
bool
Details
visibility
public
final
false
static
false

setAbstract

setAbstract( bool $isAbstract ) : Zend_CodeGenerator_Php_Class

setAbstract()

Arguments
$isAbstract
bool
Details
visibility
public
final
false
static
false

setDocblock

setDocblock( Zend_CodeGenerator_Php_Docblock|array|string $docblock ) : Zend_CodeGenerator_Php_File

setDocblock() Set the docblock

Arguments
$docblock
Zend_CodeGenerator_Php_Docblockarraystring
Details
visibility
public
final
false
static
false

setExtendedClass

setExtendedClass( string $extendedClass ) : Zend_CodeGenerator_Php_Class

setExtendedClass()

Arguments
$extendedClass
string
Details
visibility
public
final
false
static
false

setImplementedInterfaces

setImplementedInterfaces( array $implementedInterfaces ) : Zend_CodeGenerator_Php_Class

setImplementedInterfaces()

Arguments
$implementedInterfaces
array
Details
visibility
public
final
false
static
false

setMethod

setMethod( array|Zend_CodeGenerator_Php_Method $method ) : Zend_CodeGenerator_Php_Class

setMethod()

Arguments
$method
arrayZend_CodeGenerator_Php_Method
Details
visibility
public
final
false
static
false

setMethods

setMethods( array $methods ) : Zend_CodeGenerator_Php_Class

setMethods()

Arguments
$methods
array
Details
visibility
public
final
false
static
false

setName

setName( string $name ) : Zend_CodeGenerator_Php_Class

setName()

Arguments
$name
string
Details
visibility
public
final
false
static
false

setProperties

setProperties( array $properties ) : Zend_CodeGenerator_Php_Class

setProperties()

Arguments
$properties
array
Details
visibility
public
final
false
static
false

setProperty

setProperty( array|Zend_CodeGenerator_Php_Property $property ) : Zend_CodeGenerator_Php_Class

setProperty()

Arguments
$property
arrayZend_CodeGenerator_Php_Property
Details
visibility
public
final
false
static
false
Documentation was generated by DocBlox.