umbrello 26.03.70-1a62d36 Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

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:

## Public Member Functions

| PHPImport (CodeImpThread *thread=nullptr)
virtual | ~PHPImport ()
Public Member Functions inherited from ClassImport
| ClassImport (CodeImpThread *thread=nullptr)
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
virtual void | initialize ()=0
virtual void | initPerFile ()
virtual bool | parseFile (const QString &fileName)=0
void | log (const QString &file, const QString &text)
void | log (const QString &text)

## Private Member Functions

void | feedTheModel (const QString &fileName)

## Private Attributes

PHPImportPrivate * | m_d

## Additional Inherited Members

Static Public Member Functions inherited from ClassImport
static ClassImport * | createImporterByFileExt (const QString &fileName, CodeImpThread *thread=nullptr)
Protected Attributes inherited from ClassImport
CodeImpThread * | m_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 = `nullptr` | ) |

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

  fileName | the file to import

## ◆ initialize()

void PHPImport::initialize | ( |  | ) |

protected virtual

Implement abstract operation from ClassImport for PHP

Implements ClassImport.

## ◆ initPerFile()

void PHPImport::initPerFile | ( |  | ) |

protected virtual

Implement abstract operation from ClassImport for PHP

Reimplemented from ClassImport.

## ◆ parseFile()

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

protected virtual

Import a single file.

Parameters

  fileName | The file to import.

Implements ClassImport.

## Member Data Documentation

## ◆ m_d

PHPImportPrivate* PHPImport::m_d

private

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

- umbrello/codeimport/phpimport.h
- umbrello/codeimport/phpimport.cpp