API Documentation

CodeGenerator/Abstract.php

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: Abstract.php 20096 2010-01-06 02:05:09Z bkarwin $
Classes
Zend_CodeGenerator_Abstract

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_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
$_sourceContent
$_isSourceDirty
Methods
__construct
setConfig
setOptions
setSourceContent
getSourceContent
_init
_prepare
generate
__toString

Description

Properties

$_isSourceDirty

bool $_isSourceDirty = 'true'

Details

$_isSourceDirty
bool
visibility
protected
default
true
final
false
static
false

$_sourceContent

string $_sourceContent = 'null'

Details

$_sourceContent
string
visibility
protected
default
null
final
false
static
false

Methods

__construct

__construct( array $options = array ) :

__construct()

Arguments
$options
array
Details
visibility
public
final
false
static
false

__toString

__toString( ) : string

__toString() - casting to a string will in turn call generate()

Output
string
Details
visibility
public
final
true
static
false

_init

_init( ) :

_init() - this is called before the constuctor

Details
visibility
protected
final
false
static
false

_prepare

_prepare( ) :

_prepare() - this is called at construction completion

Details
visibility
protected
final
false
static
false

generate

generate( ) :

generate() - must be implemented by the child

Details
visibility
public
final
false
static
false

getSourceContent

getSourceContent( ) : string

getSourceContent()

Output
string
Details
visibility
public
final
false
static
false

setConfig

setConfig( Zend_Config $config ) : Zend_CodeGenerator_Abstract

setConfig()

Arguments
$config
Zend_Config
Details
visibility
public
final
false
static
false

setOptions

setOptions( array $options ) : Zend_CodeGenerator_Abstract

setOptions()

Arguments
$options
array
Details
visibility
public
final
false
static
false

setSourceContent

setSourceContent( string $sourceContent ) :

setSourceContent()

Arguments
$sourceContent
string
Details
visibility
public
final
false
static
false
Documentation was generated by DocBlox.