umbrello 2.34.70-5524f40e1
Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology
Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
PHPImport Class Reference

#include <phpimport.h>

Inheritance diagram for PHPImport:
Collaboration diagram for PHPImport:

Public Member Functions

 PHPImport (CodeImpThread *thread=0)
 
virtual ~PHPImport ()
 
- Public Member Functions inherited from ClassImport
 ClassImport (CodeImpThread *thread=0)
 
virtual ~ClassImport ()
 
bool importFiles (const QStringList &fileNames)
 
bool importFile (const QString &fileName)
 
void setRootPath (const QString &path)
 
bool enabled () const
 

Protected Member Functions

void initialize ()
 
void initPerFile ()
 
bool parseFile (const QString &fileName)
 
- Protected Member Functions inherited from ClassImport
void log (const QString &file, const QString &text)
 
void log (const QString &text)
 

Private Member Functions

void feedTheModel (const QString &fileName)
 

Private Attributes

PHPImportPrivatem_d
 

Additional Inherited Members

- Static Public Member Functions inherited from ClassImport
static ClassImportcreateImporterByFileExt (const QString &fileName, CodeImpThread *thread=0)
 
- Protected Attributes inherited from ClassImport
CodeImpThreadm_thread
 thread in which the work of importing is done More...
 
bool m_enabled
 state of importer More...
 
QString m_rootPath
 root path of import More...
 

Detailed Description

PHP code import

Author
Ralf Habacker Bugs and comments to umbre.nosp@m.llo-.nosp@m.devel.nosp@m.@kde.nosp@m..org or https://bugs.kde.org

Constructor & Destructor Documentation

◆ PHPImport()

PHPImport::PHPImport ( CodeImpThread thread = 0)
explicit

Constructor.

◆ ~PHPImport()

PHPImport::~PHPImport ( )
virtual

Destructor.

Member Function Documentation

◆ feedTheModel()

void PHPImport::feedTheModel ( const QString &  fileName)
private

Auxiliary method for recursively traversing the #include dependencies in order to feed innermost includes to the model before dependent includes. It is important that includefiles are fed to the model in proper order so that references between UML objects are created properly.

Parameters
fileNamethe file to import
Here is the call graph for this function:

◆ initialize()

void PHPImport::initialize ( )
protectedvirtual

Implement abstract operation from ClassImport for PHP

Implements ClassImport.

◆ initPerFile()

void PHPImport::initPerFile ( )
protectedvirtual

Implement abstract operation from ClassImport for PHP

Reimplemented from ClassImport.

◆ parseFile()

bool PHPImport::parseFile ( const QString &  fileName)
protectedvirtual

Import a single file.

Parameters
fileNameThe file to import.

Implements ClassImport.

Here is the call graph for this function:

Member Data Documentation

◆ m_d

PHPImportPrivate* PHPImport::m_d
private

The documentation for this class was generated from the following files: