umbrello 2.39.1
Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology
|
#include <php5writer.h>
Private Member Functions | |
void | writeOperations (UMLClassifier *c, QTextStream &php) |
void | writeOperations (const QString &classname, UMLOperationList &opList, QTextStream &php, bool interface=false, bool generateErrorStub=false) |
void | writeAttributes (UMLClassifier *c, QTextStream &php) |
void | writeAttributes (UMLAttributeList &atList, QTextStream &php) |
Class Php5Writer is a PHP code generator for UMLClassifier objects. Just call writeClass and feed it a UMLClassifier.
Php5Writer::Php5Writer | ( | ) |
|
virtual |
|
virtual |
|
virtual |
Get list of reserved keywords.
Reimplemented from CodeGenerator.
|
private |
Write a list of class attributes.
atList | the list of attributes |
php | output stream for the PHP file |
|
private |
Write all the attributes of a class.
c | the class we are generating code for |
php | output stream for the PHP file |
|
virtual |
Call this method to generate Php code for a UMLClassifier.
c | the class you want to generate code for. |
Implements SimpleCodeGenerator.
|
private |
Write a list of class operations.
classname | the name of the class |
opList | the list of operations |
php | output stream for the PHP file |
isInterface | indicates if the operation is an interface member |
generateErrorStub | true generates trigger_error("Implement " . __FUNCTION__) |
|
private |
Write all operations for a given class.
c | the classifier we are generating code for |
php | output stream for the PHP file |