ILIAS
trunk Revision v11.0_alpha-1769-g99a433fe2dc
|
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) | |
setFieldname (string $fieldname) | |
getFieldname () | |
setOperator (string $operator) | |
getOperator () | |
setValue (mixed $value) | |
getValue () | |
setType (int $type) | |
getType () | |
setStatement (string $statement) | |
getStatement () | |
setLink (string $link) | |
getLink () | |
![]() | |
asSQLStatement (ActiveRecord $activeRecord, ilDBInterface $db) | |
getTableNameAs () | |
setTableNameAs (string $table_name_as) | |
Data Fields | |
const | TYPE_STRING = 1 |
const | TYPE_REGULAR = 2 |
Protected Attributes | |
int | $type = self::TYPE_REGULAR |
string | $fieldname = '' |
$value | |
string | $operator='=' |
string | $statement = '' |
string | $link = 'AND' |
![]() | |
string | $table_name_as = '' |
Additional Inherited Members | |
![]() | |
wrapFields (array $fields, ilDBInterface $db) | |
wrapField (string $field, ilDBInterface $db) | |
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 arWhere
Definition at line 24 of file class.arWhere.php.
arWhere::asSQLStatement | ( | ActiveRecord | $activeRecord, |
ilDBInterface | $db | ||
) |
ilDBInterface | $db | Build WHERE Statement |
arException |
Definition at line 43 of file class.arWhere.php.
References $value, ActiveRecord\getArConnector(), ActiveRecord\getArFieldList(), ActiveRecord\getConnectorContainerName(), getFieldname(), getOperator(), getStatement(), getType(), getValue(), null, setOperator(), and setStatement().
arWhere::getFieldname | ( | ) |
Definition at line 90 of file class.arWhere.php.
References $fieldname.
Referenced by asSQLStatement().
arWhere::getLink | ( | ) |
arWhere::getOperator | ( | ) |
Definition at line 100 of file class.arWhere.php.
Referenced by asSQLStatement().
arWhere::getStatement | ( | ) |
Definition at line 133 of file class.arWhere.php.
References $statement.
Referenced by asSQLStatement().
arWhere::getType | ( | ) |
Definition at line 123 of file class.arWhere.php.
References $type.
Referenced by asSQLStatement().
arWhere::getValue | ( | ) |
Definition at line 113 of file class.arWhere.php.
References $value.
Referenced by asSQLStatement().
arWhere::setFieldname | ( | string | $fieldname | ) |
arWhere::setLink | ( | string | $link | ) |
Definition at line 138 of file class.arWhere.php.
References $link, and ILIAS\Repository\link().
arWhere::setOperator | ( | string | $operator | ) |
Definition at line 95 of file class.arWhere.php.
Referenced by asSQLStatement().
arWhere::setStatement | ( | string | $statement | ) |
Definition at line 128 of file class.arWhere.php.
References $statement.
Referenced by asSQLStatement().
arWhere::setType | ( | int | $type | ) |
arWhere::setValue | ( | mixed | $value | ) |
|
protected |
Definition at line 29 of file class.arWhere.php.
Referenced by getFieldname(), and setFieldname().
|
protected |
Definition at line 36 of file class.arWhere.php.
|
protected |
Definition at line 34 of file class.arWhere.php.
|
protected |
Definition at line 35 of file class.arWhere.php.
Referenced by getStatement(), and setStatement().
|
protected |
Definition at line 28 of file class.arWhere.php.
|
protected |
Definition at line 33 of file class.arWhere.php.
Referenced by asSQLStatement(), getValue(), and setValue().
const arWhere::TYPE_REGULAR = 2 |
Definition at line 27 of file class.arWhere.php.
const arWhere::TYPE_STRING = 1 |
Definition at line 26 of file class.arWhere.php.
Referenced by ActiveRecordList\where().