Joinable
class Joinable
Constants
JOIN_SIDE_LEFT |
|
JOIN_SIDE_INNER |
|
JOIN_TYPE_ONE_TO_ONE |
|
JOIN_TYPE_MANY_TO_ONE |
|
JOIN_TYPE_ONE_TO_MANY |
|
Properties
protected string | $baseTable | ||
protected string | $baseColumn | ||
protected string | $targetTable | ||
protected string | $targetColumn | ||
protected string | $alias | ||
protected array | $conditions | ||
protected string | $joinSide | ||
protected int | $joinType | ||
protected string | $entity | ||
protected array | $entityFields |
Methods
__construct($targetTable, $targetColumn, string|null $alias = NULL)
No description
array
getConditionsForJoin(string|null $baseTableAlias = NULL)
Gets conditions required when joining to a base table
string
getBaseTable()
No description
$this
setBaseTable(string $baseTable)
No description
string
getBaseColumn()
No description
$this
setBaseColumn(string $baseColumn)
No description
string
getAlias()
No description
$this
setAlias(string $alias)
No description
string
getTargetTable()
No description
string
getTargetColumn()
No description
string
getEntity()
No description
$this
addCondition($condition)
No description
array
getExtraJoinConditions()
No description
$this
setConditions(array $conditions)
No description
string
getJoinSide()
No description
$this
setJoinSide(string $joinSide)
No description
int
getJoinType()
No description
$this
setJoinType(int $joinType)
No description
array
toArray()
No description
getEntityFields()
No description
Details
at line 109
__construct($targetTable, $targetColumn, string|null $alias = NULL)
at line 126
array
getConditionsForJoin(string|null $baseTableAlias = NULL)
Gets conditions required when joining to a base table