umbrello API Documentation

Php5Writer Class Reference

class Php5Writer is a PHP code generator for UMLClassifier objects Just call writeClass and feed it a UMLClassifier; More...

#include <php5writer.h>

Inheritance diagram for Php5Writer:

SimpleCodeGenerator CodeGenerator List of all members.

Public Member Functions

virtual void writeClass (UMLClassifier *c)
 call this method to generate Php code for a UMLClassifier
virtual Uml::Programming_Language getLanguage ()
 returns "PHP"
virtual const QStringList reservedKeywords () const
 get list of reserved keywords

Detailed Description

class Php5Writer is a PHP code generator for UMLClassifier objects Just call writeClass and feed it a UMLClassifier;

Definition at line 31 of file php5writer.h.


Member Function Documentation

void Php5Writer::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 2997 of file php5writer.cpp.

References CodeGenerator::cleanName(), CodeGenerator::codeGenerated(), CodeGenerator::findFileName(), CodeGenerator::findObjectsRelated(), CodeGenerator::getHeadingFile(), UMLAssociation::getMulti(), UMLObject::getName(), UMLAssociation::getObject(), and CodeGenerator::openFile().

Uml::Programming_Language Php5Writer::getLanguage  )  [virtual]
 

returns "PHP"

Implements CodeGenerator.

Definition at line 3401 of file php5writer.cpp.

const QStringList Php5Writer::reservedKeywords  )  const [virtual]
 

get list of reserved keywords

Reimplemented from CodeGenerator.

Definition at line 3405 of file php5writer.cpp.


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for umbrello Version 3.1.0.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Tue Jun 26 08:08:05 2007 by doxygen 1.4.1 written by Dimitri van Heesch, © 1997-2003