ILIAS
trunk Revision v11.0_alpha-1749-g1a06bdef097
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
Public Member Functions | |
asSQLStatement (ActiveRecord $activeRecord, ilDBInterface $db) | |
setLeft () | |
setRght () | |
setInner () | |
setFields (array $fields) | |
getFields () | |
setOnFirstField (string $on_first_field) | |
getOnFirstField () | |
setOnSecondField (string $on_second_field) | |
getOnSecondField () | |
setOperator (string $operator) | |
getOperator () | |
setTableName (string $table_name) | |
getTableName () | |
setType (string $type) | |
getType () | |
setBothExternal (bool $both_external) | |
getBothExternal () | |
setFullNames (bool $full_names) | |
getFullNames () | |
isIsMapped () | |
setIsMapped (bool $is_mapped) | |
![]() | |
asSQLStatement (ActiveRecord $activeRecord, ilDBInterface $db) | |
getTableNameAs () | |
setTableNameAs (string $table_name_as) | |
Data Fields | |
const | TYPE_NORMAL = self::TYPE_INNER |
const | TYPE_LEFT = 'LEFT' |
const | TYPE_RIGHT = 'RIGHT' |
const | TYPE_INNER = 'INNER' |
const | AS_TEXT = ' AS ' |
Protected Member Functions | |
asStatementText (ActiveRecord $activeRecord, ilDBInterface $db, string $as=' AS ') | |
![]() | |
wrapFields (array $fields, ilDBInterface $db) | |
wrapField (string $field, ilDBInterface $db) | |
Protected Attributes | |
string | $type = self::TYPE_NORMAL |
string | $table_name = '' |
array | $fields = ['*'] |
string | $operator='=' |
string | $on_first_field = '' |
string | $on_second_field = '' |
bool | $full_names = false |
bool | $both_external = false |
bool | $is_mapped = false |
![]() | |
string | $table_name_as = '' |
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.
ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.
If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning Class arJoin
Definition at line 25 of file class.arJoin.php.
arJoin::asSQLStatement | ( | ActiveRecord | $activeRecord, |
ilDBInterface | $db | ||
) |
Definition at line 64 of file class.arJoin.php.
References asStatementText().
|
protected |
Definition at line 42 of file class.arJoin.php.
References getBothExternal(), ActiveRecord\getConnectorContainerName(), getOnFirstField(), getOnSecondField(), getOperator(), getTableName(), arStatement\getTableNameAs(), getType(), and arStatement\wrapField().
Referenced by asSQLStatement().
arJoin::getBothExternal | ( | ) |
Definition at line 155 of file class.arJoin.php.
References $both_external.
Referenced by asStatementText().
arJoin::getFields | ( | ) |
arJoin::getFullNames | ( | ) |
arJoin::getOnFirstField | ( | ) |
Definition at line 105 of file class.arJoin.php.
References $on_first_field.
Referenced by asStatementText().
arJoin::getOnSecondField | ( | ) |
Definition at line 115 of file class.arJoin.php.
References $on_second_field.
Referenced by asStatementText().
arJoin::getOperator | ( | ) |
Definition at line 125 of file class.arJoin.php.
Referenced by asStatementText().
arJoin::getTableName | ( | ) |
Definition at line 135 of file class.arJoin.php.
References $table_name.
Referenced by asStatementText().
arJoin::getType | ( | ) |
Definition at line 145 of file class.arJoin.php.
References $type.
Referenced by asStatementText().
arJoin::isIsMapped | ( | ) |
arJoin::setBothExternal | ( | bool | $both_external | ) |
arJoin::setFields | ( | array | $fields | ) |
arJoin::setFullNames | ( | bool | $full_names | ) |
arJoin::setInner | ( | ) |
Definition at line 79 of file class.arJoin.php.
References setType().
arJoin::setIsMapped | ( | bool | $is_mapped | ) |
arJoin::setLeft | ( | ) |
Definition at line 69 of file class.arJoin.php.
References setType().
arJoin::setOnFirstField | ( | string | $on_first_field | ) |
arJoin::setOnSecondField | ( | string | $on_second_field | ) |
arJoin::setOperator | ( | string | $operator | ) |
Definition at line 120 of file class.arJoin.php.
arJoin::setRght | ( | ) |
Definition at line 74 of file class.arJoin.php.
References setType().
arJoin::setTableName | ( | string | $table_name | ) |
arJoin::setType | ( | string | $type | ) |
Definition at line 140 of file class.arJoin.php.
References $type.
Referenced by setInner(), setLeft(), and setRght().
|
protected |
Definition at line 39 of file class.arJoin.php.
Referenced by getBothExternal(), and setBothExternal().
|
protected |
Definition at line 34 of file class.arJoin.php.
Referenced by getFields(), and setFields().
|
protected |
Definition at line 38 of file class.arJoin.php.
Referenced by getFullNames(), and setFullNames().
|
protected |
Definition at line 40 of file class.arJoin.php.
Referenced by isIsMapped(), and setIsMapped().
|
protected |
Definition at line 36 of file class.arJoin.php.
Referenced by getOnFirstField(), and setOnFirstField().
|
protected |
Definition at line 37 of file class.arJoin.php.
Referenced by getOnSecondField(), and setOnSecondField().
|
protected |
Definition at line 35 of file class.arJoin.php.
|
protected |
Definition at line 33 of file class.arJoin.php.
Referenced by getTableName(), and setTableName().
|
protected |
Definition at line 32 of file class.arJoin.php.
const arJoin::AS_TEXT = ' AS ' |
Definition at line 31 of file class.arJoin.php.
const arJoin::TYPE_INNER = 'INNER' |
Definition at line 30 of file class.arJoin.php.
Referenced by ActiveRecordList\innerjoin().
const arJoin::TYPE_LEFT = 'LEFT' |
Definition at line 28 of file class.arJoin.php.
Referenced by ActiveRecordList\leftjoin().
const arJoin::TYPE_NORMAL = self::TYPE_INNER |
Definition at line 27 of file class.arJoin.php.
const arJoin::TYPE_RIGHT = 'RIGHT' |
Definition at line 29 of file class.arJoin.php.