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

ManyToManyParser. More...

Public Member Functions

 __construct ($db, $instance, $member=null)
 
 init ($annot=false)
 
 getMember ()
 
 setMember ($member)
 
 getJoinTable ()
 
 setJoinTable ($joinTable)
 
 getMyFkField ()
 
 setMyFkField ($myFkField)
 
 getFkField ()
 
 setFkField ($fkField)
 
 getTargetEntity ()
 
 setTargetEntity ($targetEntity)
 
 getTargetEntityClass ()
 
 setTargetEntityClass ($targetEntityClass)
 
 getTargetEntityTable ()
 
 setTargetEntityTable ($targetEntityTable)
 
 getMyPk ()
 
 setMyPk ($myPk)
 
 getPk ()
 
 setPk ($pk)
 
 getInversedBy ()
 
 setInversedBy ($inversedBy)
 
 getInstance ()
 
 setInstance ($instance)
 
 getSQL ($alias="", $aliases=null)
 
 getConcatSQL ()
 
 getParserWhereMask ($mask="'{value}'")
 
 generateConcatSQL ()
 
 addValue ($value)
 
 getWhereValues ()
 

Private Member Functions

 _init ($class, $annot)
 
 getParserConcatWhereMask ($mask="'{value}'")
 
 getParserConcatWhereInMask ($mask="'{values}'")
 

Private Attributes

 $table
 
 $member
 
 $joinTable
 
 $myFkField
 
 $fkField
 
 $targetEntity
 
 $targetEntityClass
 
 $targetEntityTable
 
 $myPk
 
 $inversedBy
 
 $pk
 
 $instance
 
 $whereValues
 
 $db
 

Detailed Description

ManyToManyParser.

Author
jc
Version
1.1.4

Definition at line 13 of file ManyToManyParser.php.

Constructor & Destructor Documentation

◆ __construct()

__construct (   $db,
  $instance,
  $member = null 
)

Definition at line 34 of file ManyToManyParser.php.

Member Function Documentation

◆ _init()

_init (   $class,
  $annot 
)
private

Definition at line 57 of file ManyToManyParser.php.

◆ addValue()

addValue (   $value)

Definition at line 244 of file ManyToManyParser.php.

◆ generateConcatSQL()

generateConcatSQL ( )

Definition at line 227 of file ManyToManyParser.php.

◆ getConcatSQL()

getConcatSQL ( )

Definition at line 205 of file ManyToManyParser.php.

◆ getFkField()

getFkField ( )

Definition at line 116 of file ManyToManyParser.php.

◆ getInstance()

getInstance ( )

Definition at line 179 of file ManyToManyParser.php.

◆ getInversedBy()

getInversedBy ( )

Definition at line 170 of file ManyToManyParser.php.

◆ getJoinTable()

getJoinTable ( )

Definition at line 98 of file ManyToManyParser.php.

◆ getMember()

getMember ( )

Definition at line 89 of file ManyToManyParser.php.

◆ getMyFkField()

getMyFkField ( )

Definition at line 107 of file ManyToManyParser.php.

◆ getMyPk()

getMyPk ( )

Definition at line 152 of file ManyToManyParser.php.

◆ getParserConcatWhereInMask()

getParserConcatWhereInMask (   $mask = "'{values}'")
private

Definition at line 222 of file ManyToManyParser.php.

◆ getParserConcatWhereMask()

getParserConcatWhereMask (   $mask = "'{value}'")
private

Definition at line 217 of file ManyToManyParser.php.

◆ getParserWhereMask()

getParserWhereMask (   $mask = "'{value}'")

Definition at line 211 of file ManyToManyParser.php.

◆ getPk()

getPk ( )

Definition at line 161 of file ManyToManyParser.php.

◆ getSQL()

getSQL (   $alias = "",
  $aliases = null 
)

Definition at line 188 of file ManyToManyParser.php.

◆ getTargetEntity()

getTargetEntity ( )

Definition at line 125 of file ManyToManyParser.php.

◆ getTargetEntityClass()

getTargetEntityClass ( )

Definition at line 134 of file ManyToManyParser.php.

◆ getTargetEntityTable()

getTargetEntityTable ( )

Definition at line 143 of file ManyToManyParser.php.

◆ getWhereValues()

getWhereValues ( )
Returns
array

Definition at line 252 of file ManyToManyParser.php.

◆ init()

init (   $annot = false)

Definition at line 41 of file ManyToManyParser.php.

◆ setFkField()

setFkField (   $fkField)

Definition at line 120 of file ManyToManyParser.php.

◆ setInstance()

setInstance (   $instance)

Definition at line 183 of file ManyToManyParser.php.

◆ setInversedBy()

setInversedBy (   $inversedBy)

Definition at line 174 of file ManyToManyParser.php.

◆ setJoinTable()

setJoinTable (   $joinTable)

Definition at line 102 of file ManyToManyParser.php.

◆ setMember()

setMember (   $member)

Definition at line 93 of file ManyToManyParser.php.

◆ setMyFkField()

setMyFkField (   $myFkField)

Definition at line 111 of file ManyToManyParser.php.

◆ setMyPk()

setMyPk (   $myPk)

Definition at line 156 of file ManyToManyParser.php.

◆ setPk()

setPk (   $pk)

Definition at line 165 of file ManyToManyParser.php.

◆ setTargetEntity()

setTargetEntity (   $targetEntity)

Definition at line 129 of file ManyToManyParser.php.

◆ setTargetEntityClass()

setTargetEntityClass (   $targetEntityClass)

Definition at line 138 of file ManyToManyParser.php.

◆ setTargetEntityTable()

setTargetEntityTable (   $targetEntityTable)

Definition at line 147 of file ManyToManyParser.php.

Field Documentation

◆ $db

$db
private

Definition at line 32 of file ManyToManyParser.php.

◆ $fkField

$fkField
private

Definition at line 18 of file ManyToManyParser.php.

◆ $instance

$instance
private

Definition at line 25 of file ManyToManyParser.php.

◆ $inversedBy

$inversedBy
private

Definition at line 23 of file ManyToManyParser.php.

◆ $joinTable

$joinTable
private

Definition at line 16 of file ManyToManyParser.php.

◆ $member

$member
private

Definition at line 15 of file ManyToManyParser.php.

◆ $myFkField

$myFkField
private

Definition at line 17 of file ManyToManyParser.php.

◆ $myPk

$myPk
private

Definition at line 22 of file ManyToManyParser.php.

◆ $pk

$pk
private

Definition at line 24 of file ManyToManyParser.php.

◆ $table

$table
private

Definition at line 14 of file ManyToManyParser.php.

◆ $targetEntity

$targetEntity
private

Definition at line 19 of file ManyToManyParser.php.

◆ $targetEntityClass

$targetEntityClass
private

Definition at line 20 of file ManyToManyParser.php.

◆ $targetEntityTable

$targetEntityTable
private

Definition at line 21 of file ManyToManyParser.php.

◆ $whereValues

$whereValues
private

Definition at line 26 of file ManyToManyParser.php.


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