Ubiquity 2.5.2
php rapid development framework
Loading...
Searching...
No Matches
ModelParser Class Reference

Public Member Functions

 parse ($modelClass)
 
 asArray ()
 
 __toString ()
 

Protected Member Functions

 initSwapClasses ($className)
 
 swapValues ($arrayOrValue)
 
 swapArrayValues (array $values, $original, $replacement)
 
 swapValue ($value, $original, $replacement)
 

Protected Attributes

 $global
 
 $primaryKeys
 
 $manytoOneMembers
 
 $oneToManyMembers
 
 $manyToManyMembers
 
 $joinColumnMembers
 
 $joinTableMembers
 
 $nullableMembers = []
 
 $notSerializableMembers = []
 
 $fieldNames
 
 $memberNames
 
 $fieldTypes = []
 
 $transformers = []
 
 $accessors = []
 
 $yuml
 
 $swapClasses = []
 

Detailed Description

Definition at line 19 of file ModelParser.php.

Member Function Documentation

◆ __toString()

__toString ( )

Definition at line 200 of file ModelParser.php.

◆ asArray()

asArray ( )

Definition at line 142 of file ModelParser.php.

◆ initSwapClasses()

initSwapClasses (   $className)
protected

Definition at line 53 of file ModelParser.php.

◆ parse()

parse (   $modelClass)

Definition at line 90 of file ModelParser.php.

◆ swapArrayValues()

swapArrayValues ( array  $values,
  $original,
  $replacement 
)
protected

Definition at line 74 of file ModelParser.php.

◆ swapValue()

swapValue (   $value,
  $original,
  $replacement 
)
protected

Definition at line 86 of file ModelParser.php.

◆ swapValues()

swapValues (   $arrayOrValue)
protected

Definition at line 62 of file ModelParser.php.

Field Documentation

◆ $accessors

$accessors = []
protected

Definition at line 47 of file ModelParser.php.

◆ $fieldNames

$fieldNames
protected

Definition at line 39 of file ModelParser.php.

◆ $fieldTypes

$fieldTypes = []
protected

Definition at line 43 of file ModelParser.php.

◆ $global

$global
protected

Definition at line 21 of file ModelParser.php.

◆ $joinColumnMembers

$joinColumnMembers
protected

Definition at line 31 of file ModelParser.php.

◆ $joinTableMembers

$joinTableMembers
protected

Definition at line 33 of file ModelParser.php.

◆ $manyToManyMembers

$manyToManyMembers
protected

Definition at line 29 of file ModelParser.php.

◆ $manytoOneMembers

$manytoOneMembers
protected

Definition at line 25 of file ModelParser.php.

◆ $memberNames

$memberNames
protected

Definition at line 41 of file ModelParser.php.

◆ $notSerializableMembers

$notSerializableMembers = []
protected

Definition at line 37 of file ModelParser.php.

◆ $nullableMembers

$nullableMembers = []
protected

Definition at line 35 of file ModelParser.php.

◆ $oneToManyMembers

$oneToManyMembers
protected

Definition at line 27 of file ModelParser.php.

◆ $primaryKeys

$primaryKeys
protected

Definition at line 23 of file ModelParser.php.

◆ $swapClasses

$swapClasses = []
protected

Definition at line 51 of file ModelParser.php.

◆ $transformers

$transformers = []
protected

Definition at line 45 of file ModelParser.php.

◆ $yuml

$yuml
protected

Definition at line 49 of file ModelParser.php.


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