PACK WOC
$VERSION$
|
Abstract base class for generating output for PHP. More...
#include <phpout.h>
Public Member Functions | |
WocPHPOut (const QDomElement &) | |
initializes the output object More... | |
virtual | ~WocPHPOut ()=0 |
Public Member Functions inherited from WocOutput | |
WocOutput () | |
the constructor should set up and initialize the environment of the generator More... | |
virtual | ~WocOutput () |
currently there is no guarantee that the destructor is ever called. More... | |
Protected Member Functions | |
virtual void | finalize () |
writes any last words after parsing finished More... | |
virtual void | newClass (const WocClass &) |
creates a class More... | |
virtual void | newTable (const WocTable &) |
creates a table More... | |
virtual void | newTransaction (const WocTransaction &) |
creates a transaction More... | |
void | addLoad (QString classname, QString filename) |
helper: adds a loader line for a class to autoload.php More... | |
void | addStaticLoad (QString classname, QString filename) |
helper: adds an immediate loader line for a class to autoload.php More... | |
QString | classPrefix () |
helper: returns the class prefix More... | |
QString | className (const WocClass &c) |
helper: return the PHP-class-name of a WocClass More... | |
QString | abstractClassName (const WocClass &c) |
helper: return the PHP-class-name of a WocClass plus Abstract if it is abstract More... | |
QString | trnClassName (const WocTransaction &t) |
helper: returns the PHP-class-name for a WocTransaction More... | |
Protected Attributes | |
QString | m_basedir |
QString | m_subdir |
QString | m_fileext |
QString | m_transbase |
QString | m_lang |
QFile | m_loader |
QFile | m_schema |
QFile | m_transact |
WocPHPClass * | pclass |
WocPHPTable * | ptable |
WocPHPTransaction * | ptrans |
Friends | |
class | WocPHPClass |
class | WocPHPTable |
class | WocPHPTransaction |
class | WocPHPClientTransaction |
class | WocPHPServerTransaction |
Additional Inherited Members | |
Signals inherited from WocOutput | |
void | errorFound () |
Protected Slots inherited from WocOutput |
Abstract base class for generating output for PHP.
WocPHPOut::WocPHPOut | ( | const QDomElement & | el | ) |
initializes the output object
|
pure virtual |
|
inlineprotected |
helper: return the PHP-class-name of a WocClass plus Abstract if it is abstract
|
protected |
helper: adds a loader line for a class to autoload.php
|
protected |
helper: adds an immediate loader line for a class to autoload.php
|
inlineprotected |
helper: return the PHP-class-name of a WocClass
|
inlineprotected |
helper: returns the class prefix
|
protectedvirtual |
writes any last words after parsing finished
Implements WocOutput.
|
protectedvirtual |
creates a class
Implements WocOutput.
|
protectedvirtual |
creates a table
Implements WocOutput.
|
protectedvirtual |
creates a transaction
Implements WocOutput.
|
inlineprotected |
helper: returns the PHP-class-name for a WocTransaction
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |