|
ILIAS
trunk Revision v12.0_alpha-377-g3641b37b9db
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
Inheritance diagram for arWhere:
Collaboration diagram for arWhere: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 () | |
Public Member Functions inherited from arStatement | |
| 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' |
Protected Attributes inherited from arStatement | |
| string | $table_name_as = '' |
Additional Inherited Members | |
Protected Member Functions inherited from arStatement | |
| 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 | @description Build WHERE Statement |
| arException |
Reimplemented from arStatement.
Definition at line 43 of file class.arWhere.php.
References $statement, $type, $value, ActiveRecord\getArConnector(), ActiveRecord\getArFieldList(), ActiveRecord\getConnectorContainerName(), getFieldname(), getOperator(), getStatement(), getType(), getValue(), setOperator(), and setStatement().
Here is the call graph for this function:| arWhere::getFieldname | ( | ) |
Definition at line 90 of file class.arWhere.php.
References $fieldname.
Referenced by asSQLStatement().
Here is the caller graph for this function:| arWhere::getLink | ( | ) |
| arWhere::getOperator | ( | ) |
Definition at line 100 of file class.arWhere.php.
References $operator.
Referenced by asSQLStatement().
Here is the caller graph for this function:| arWhere::getStatement | ( | ) |
Definition at line 133 of file class.arWhere.php.
References $statement.
Referenced by asSQLStatement().
Here is the caller graph for this function:| arWhere::getType | ( | ) |
Definition at line 123 of file class.arWhere.php.
References $type.
Referenced by asSQLStatement().
Here is the caller graph for this function:| arWhere::getValue | ( | ) |
Definition at line 113 of file class.arWhere.php.
References $value.
Referenced by asSQLStatement().
Here is the caller graph for this function:| arWhere::setFieldname | ( | string | $fieldname | ) |
Definition at line 85 of file class.arWhere.php.
References $fieldname.
| arWhere::setLink | ( | string | $link | ) |
Definition at line 138 of file class.arWhere.php.
References $link, and ILIAS\Repository\link().
Here is the call graph for this function:| arWhere::setOperator | ( | string | $operator | ) |
Definition at line 95 of file class.arWhere.php.
References $operator.
Referenced by asSQLStatement().
Here is the caller graph for this function:| arWhere::setStatement | ( | string | $statement | ) |
Definition at line 128 of file class.arWhere.php.
References $statement.
Referenced by asSQLStatement().
Here is the caller graph for this function:| arWhere::setType | ( | int | $type | ) |
Definition at line 118 of file class.arWhere.php.
References $type.
| arWhere::setValue | ( | mixed | $value | ) |
Definition at line 105 of file class.arWhere.php.
References $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.
Referenced by getOperator(), and setOperator().
|
protected |
Definition at line 35 of file class.arWhere.php.
Referenced by asSQLStatement(), getStatement(), and setStatement().
|
protected |
Definition at line 28 of file class.arWhere.php.
Referenced by asSQLStatement(), getType(), and setType().
|
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().