Ubiquity  2.0.3
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 11 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 26 of file ClassToYuml.php.

Member Function Documentation

◆ __toString()

__toString ( )

Definition at line 189 of file ClassToYuml.php.

◆ _getNote()

_getNote ( )
protected

Definition at line 152 of file ClassToYuml.php.

◆ _getYumlManyToOne()

_getYumlManyToOne ( )
protected

Definition at line 135 of file ClassToYuml.php.

◆ _getYumlOneToMany()

_getYumlOneToMany ( )
protected

Definition at line 139 of file ClassToYuml.php.

◆ _getYumlRelationsType()

_getYumlRelationsType (   $relations,
  $branche 
)
protected

Definition at line 143 of file ClassToYuml.php.

◆ getAccess()

getAccess (   $property)
protected

Definition at line 169 of file ClassToYuml.php.

◆ getMethodParameters()

getMethodParameters ( \ReflectionMethod  $method)
protected

Definition at line 156 of file ClassToYuml.php.

◆ getShortClassName()

getShortClassName (   $class)
protected

Definition at line 107 of file ClassToYuml.php.

◆ init()

init (   $hasManyToOne,
  $hasOneToMany 
)

Definition at line 36 of file ClassToYuml.php.

◆ loadManyToOne()

loadManyToOne ( )
protected

Definition at line 121 of file ClassToYuml.php.

◆ loadOneToManys()

loadOneToManys ( )
protected

Definition at line 112 of file ClassToYuml.php.

◆ manyToOneTostring()

manyToOneTostring ( )

Definition at line 179 of file ClassToYuml.php.

◆ oneToManyTostring()

oneToManyTostring ( )

Definition at line 184 of file ClassToYuml.php.

◆ parse()

parse ( )

Definition at line 45 of file ClassToYuml.php.

◆ setDisplayAssociations()

setDisplayAssociations (   $displayAssociations)

Definition at line 209 of file ClassToYuml.php.

◆ setDisplayMethods()

setDisplayMethods (   $displayMethods)

Definition at line 204 of file ClassToYuml.php.

◆ setDisplayProperties()

setDisplayProperties (   $displayProperties)

Definition at line 199 of file ClassToYuml.php.

Field Documentation

◆ $class

$class
protected

Definition at line 12 of file ClassToYuml.php.

◆ $displayAssociationClassProperties

$displayAssociationClassProperties =false
protected

Definition at line 18 of file ClassToYuml.php.

◆ $displayAssociations

$displayAssociations
protected

Definition at line 17 of file ClassToYuml.php.

◆ $displayForeignKeys

$displayForeignKeys =true
protected

Definition at line 19 of file ClassToYuml.php.

◆ $displayMethods

$displayMethods =false
protected

Definition at line 14 of file ClassToYuml.php.

◆ $displayMethodsParams

$displayMethodsParams =false
protected

Definition at line 15 of file ClassToYuml.php.

◆ $displayProperties

$displayProperties =true
protected

Definition at line 13 of file ClassToYuml.php.

◆ $displayPropertiesTypes

$displayPropertiesTypes =false
protected

Definition at line 16 of file ClassToYuml.php.

◆ $manyToOne

$manyToOne =[]
protected

Definition at line 22 of file ClassToYuml.php.

◆ $note

$note
protected

Definition at line 24 of file ClassToYuml.php.

◆ $oneToManys

$oneToManys =[]
protected

Definition at line 21 of file ClassToYuml.php.

◆ $parseResult

$parseResult
protected

Definition at line 23 of file ClassToYuml.php.

◆ $properties

$properties
protected

Definition at line 20 of file ClassToYuml.php.


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