\Fuman_Db_Query_Join

The where structure of an sql statement

Summary

Methods
Properties
Constants
__construct()
setType()
getType()
getTable()
setColumnList()
getColumnList()
setPrefix()
getPrefix()
getAlias()
getOn()
setOn()
addJoinCondition()
addJoinConditionByInputType()
__clone()
No public properties found
TYPE_INNER
TYPE_LEFT
TYPE_RIGHT
No protected methods found
$_type
$_on
$_table
$_prefix
$_alias
$_columnList
N/A
No private methods found
No private properties found
N/A

Constants

TYPE_INNER

TYPE_INNER

TYPE_LEFT

TYPE_LEFT

TYPE_RIGHT

TYPE_RIGHT

Properties

$_type

$_type : string

Operator

Type

string

$_prefix

$_prefix : string

Type

string

$_alias

$_alias : string

Type

string

Methods

__construct()

__construct(\Fuman_Table  $table, string  $type = 'INNER', string|null  $prefix = null) 

Parameters

\Fuman_Table $table
string $type
string|null $prefix

setType()

setType(string  $type) : void

Setter for type

Parameters

string $type

getType()

getType() : string

Gets type

Returns

string

getTable()

getTable() : \Fuman_Table

Gets table

Returns

\Fuman_Table

setPrefix()

setPrefix(string  $prefix) : void

Setter for prefix

Parameters

string $prefix

getPrefix()

getPrefix() : string

Returns

string

getAlias()

getAlias() : string

Returns

string

getOn()

getOn() : \Fuman_Db_Where

Return {@link Fuman_Db_Where}

Returns

\Fuman_Db_Where

setOn()

setOn(\Fuman_Db_Where  $where) : void

Sets where Set {@link Fuman_Db_Where}

Parameters

\Fuman_Db_Where $where

addJoinCondition()

addJoinCondition(string  $columnName, string  $referencedColumnName, string  $referencedTableAlias, string  $operator = '=') 

Parameters

string $columnName
string $referencedColumnName
string $referencedTableAlias
string $operator

addJoinConditionByInputType()

addJoinConditionByInputType(string  $inputTypeUniqueName, string|null  $referencedTableAlias = null) 

Adds join condition by a relation input type

Parameters

string $inputTypeUniqueName
string|null $referencedTableAlias

__clone()

__clone() 

clone