Ubiquity  2.0.2
php rapid development framework
ClassToYuml Class Reference

Public Member Functions

 __construct ($class, $displayProperties=true, $displayAssociations=true, $displayMethods=false, $displayMethodsParams=false, $displayPropertiesTypes=false, $displayAssociationClassProperties=false)
 
 init ($hasManyToOne, $hasOneToMany)
 
 parse ()
 
 manyToOneTostring ()
 
 oneToManyTostring ()
 
 __toString ()
 
 setDisplayProperties ($displayProperties)
 
 setDisplayMethods ($displayMethods)
 
 setDisplayAssociations ($displayAssociations)
 

Protected Member Functions

 getShortClassName ($class)
 
 loadOneToManys ()
 
 loadManyToOne ()
 
 _getYumlManyToOne ()
 
 _getYumlOneToMany ()
 
 _getYumlRelationsType ($relations, $branche)
 
 _getNote ()
 
 getMethodParameters (\ReflectionMethod $method)
 
 getAccess ($property)
 

Protected Attributes

 $class
 
 $displayProperties =true
 
 $displayMethods =false
 
 $displayMethodsParams =false
 
 $displayPropertiesTypes =false
 
 $displayAssociations
 
 $displayAssociationClassProperties =false
 
 $displayForeignKeys =true
 
 $properties
 
 $oneToManys =[]
 
 $manyToOne =[]
 
 $parseResult
 
 $note
 

Detailed Description

Author
jc yuml export tool for class

Definition at line 13 of file ClassToYuml.php.

Constructor & Destructor Documentation

◆ __construct()

__construct (   $class,
  $displayProperties = true,
  $displayAssociations = true,
  $displayMethods = false,
  $displayMethodsParams = false,
  $displayPropertiesTypes = false,
  $displayAssociationClassProperties = false 
)

Definition at line 28 of file ClassToYuml.php.

Member Function Documentation

◆ __toString()

__toString ( )

Definition at line 191 of file ClassToYuml.php.

◆ _getNote()

_getNote ( )
protected

Definition at line 154 of file ClassToYuml.php.

◆ _getYumlManyToOne()

_getYumlManyToOne ( )
protected

Definition at line 137 of file ClassToYuml.php.

◆ _getYumlOneToMany()

_getYumlOneToMany ( )
protected

Definition at line 141 of file ClassToYuml.php.

◆ _getYumlRelationsType()

_getYumlRelationsType (   $relations,
  $branche 
)
protected

Definition at line 145 of file ClassToYuml.php.

◆ getAccess()

getAccess (   $property)
protected

Definition at line 171 of file ClassToYuml.php.

◆ getMethodParameters()

getMethodParameters ( \ReflectionMethod  $method)
protected

Definition at line 158 of file ClassToYuml.php.

◆ getShortClassName()

getShortClassName (   $class)
protected

Definition at line 109 of file ClassToYuml.php.

◆ init()

init (   $hasManyToOne,
  $hasOneToMany 
)

Definition at line 38 of file ClassToYuml.php.

◆ loadManyToOne()

loadManyToOne ( )
protected

Definition at line 123 of file ClassToYuml.php.

◆ loadOneToManys()

loadOneToManys ( )
protected

Definition at line 114 of file ClassToYuml.php.

◆ manyToOneTostring()

manyToOneTostring ( )

Definition at line 181 of file ClassToYuml.php.

◆ oneToManyTostring()

oneToManyTostring ( )

Definition at line 186 of file ClassToYuml.php.

◆ parse()

parse ( )

Definition at line 47 of file ClassToYuml.php.

◆ setDisplayAssociations()

setDisplayAssociations (   $displayAssociations)

Definition at line 211 of file ClassToYuml.php.

◆ setDisplayMethods()

setDisplayMethods (   $displayMethods)

Definition at line 206 of file ClassToYuml.php.

◆ setDisplayProperties()

setDisplayProperties (   $displayProperties)

Definition at line 201 of file ClassToYuml.php.

Field Documentation

◆ $class

$class
protected

Definition at line 14 of file ClassToYuml.php.

◆ $displayAssociationClassProperties

$displayAssociationClassProperties =false
protected

Definition at line 20 of file ClassToYuml.php.

◆ $displayAssociations

$displayAssociations
protected

Definition at line 19 of file ClassToYuml.php.

◆ $displayForeignKeys

$displayForeignKeys =true
protected

Definition at line 21 of file ClassToYuml.php.

◆ $displayMethods

$displayMethods =false
protected

Definition at line 16 of file ClassToYuml.php.

◆ $displayMethodsParams

$displayMethodsParams =false
protected

Definition at line 17 of file ClassToYuml.php.

◆ $displayProperties

$displayProperties =true
protected

Definition at line 15 of file ClassToYuml.php.

◆ $displayPropertiesTypes

$displayPropertiesTypes =false
protected

Definition at line 18 of file ClassToYuml.php.

◆ $manyToOne

$manyToOne =[]
protected

Definition at line 24 of file ClassToYuml.php.

◆ $note

$note
protected

Definition at line 26 of file ClassToYuml.php.

◆ $oneToManys

$oneToManys =[]
protected

Definition at line 23 of file ClassToYuml.php.

◆ $parseResult

$parseResult
protected

Definition at line 25 of file ClassToYuml.php.

◆ $properties

$properties
protected

Definition at line 22 of file ClassToYuml.php.


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