umbrello/umbrello
PhpWriter Class Reference
Class PhpWriter is a PHP code generator for UMLClassifier objects. More...
#include <phpwriter.h>
Inheritance diagram for PhpWriter:

Public Member Functions | |
| PhpWriter () | |
| virtual | ~PhpWriter () |
| virtual Uml::Programming_Language | getLanguage () |
| virtual const QStringList | reservedKeywords () const |
| virtual void | writeClass (UMLClassifier *c) |
Detailed Description
Class PhpWriter is a PHP code generator for UMLClassifier objects.
Just call writeClass and feed it a UMLClassifier.
Definition at line 23 of file phpwriter.h.
Constructor & Destructor Documentation
| PhpWriter::PhpWriter | ( | ) |
Definition at line 2983 of file phpwriter.cpp.
| PhpWriter::~PhpWriter | ( | ) | [virtual] |
Definition at line 2987 of file phpwriter.cpp.
Member Function Documentation
| Uml::Programming_Language PhpWriter::getLanguage | ( | ) | [virtual] |
Returns "PHP".
- Returns:
- the programming language identifier
Implements CodeGenerator.
Definition at line 3318 of file phpwriter.cpp.
| const QStringList PhpWriter::reservedKeywords | ( | ) | const [virtual] |
Get list of reserved keywords.
- Returns:
- the list of reserved keywords
Reimplemented from CodeGenerator.
Definition at line 3323 of file phpwriter.cpp.
| void PhpWriter::writeClass | ( | UMLClassifier * | c | ) | [virtual] |
Call this method to generate Php code for a UMLClassifier.
- Parameters:
-
c the class you want to generate code for.
Implements SimpleCodeGenerator.
Definition at line 2991 of file phpwriter.cpp.
The documentation for this class was generated from the following files:
KDE 4.4 API Reference