Ubiquity  2.0.2
php rapid development framework
YumlModelsCreator Class Reference
+ Inheritance diagram for YumlModelsCreator:

Public Member Functions

 initYuml ($yumlString)
 
- Public Member Functions inherited from ModelsCreator
 create ($config, $initCache=true, $singleTable=null)
 

Protected Member Functions

 init ($config)
 
 getTablesName ()
 
 getFieldsInfos ($tableName)
 
 getPrimaryKeys ($tableName)
 
 getForeignKeys ($tableName, $pkName)
 
- Protected Member Functions inherited from ModelsCreator
 init ($config)
 
 createOneClass ($singleTable, $modelsDir)
 
 createRelations ()
 
 getTableName ($classname)
 
 createManyToMany ()
 
 getJoinTableArray (Model $class, JoinColumnAnnotation $joinColumn)
 
 getTablesName ()
 
 getFieldsInfos ($tableName)
 
 getPrimaryKeys ($tableName)
 
 writeFile ($filename, $data)
 

Private Attributes

 $yumlParser
 

Additional Inherited Members

- Protected Attributes inherited from ModelsCreator
 $config
 
 $tables =array()
 
 $classes =array()
 

Detailed Description

Definition at line 7 of file YumlModelsCreator.php.

Member Function Documentation

◆ getFieldsInfos()

getFieldsInfos (   $tableName)
protected

Definition at line 26 of file YumlModelsCreator.php.

◆ getForeignKeys()

getForeignKeys (   $tableName,
  $pkName 
)
protected

Definition at line 39 of file YumlModelsCreator.php.

◆ getPrimaryKeys()

getPrimaryKeys (   $tableName)
protected

Definition at line 35 of file YumlModelsCreator.php.

◆ getTablesName()

getTablesName ( )
protected

Definition at line 22 of file YumlModelsCreator.php.

◆ init()

init (   $config)
protected

Definition at line 13 of file YumlModelsCreator.php.

◆ initYuml()

initYuml (   $yumlString)

Definition at line 17 of file YumlModelsCreator.php.

Field Documentation

◆ $yumlParser

$yumlParser
private

Definition at line 11 of file YumlModelsCreator.php.


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