|
ILIAS
release_8 Revision v8.24
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
Inheritance diagram for ilMySQLQueryUtils:
Collaboration diagram for ilMySQLQueryUtils:Public Member Functions | ||||
| in (string $field, array $values, bool $negate=false, string $type="") | ||||
| quote ($value, ?string $type=null) | ||||
| concat (array $values, bool $allow_null=true) | ||||
| locate (string $a_needle, string $a_string, int $a_start_pos=1) | ||||
| free (ilPDOStatement $statement) | ||||
| quoteIdentifier (string $identifier) | ||||
| createTable (string $name, array $fields, array $options=[]) | ||||
| like (string $column, string $type, string $value="?", bool $case_insensitive=true) | ||||
| now () | ||||
| lock (array $tables) | ||||
| unlock () | ||||
| createDatabase (string $name, string $charset="utf8", string $collation="") | ||||
| groupConcat (string $field_name, string $seperator=",", string $order=null) | ||||
| cast (string $a_field_name, $a_dest_type) | ||||
| ||||
Public Member Functions inherited from ilQueryUtils | ||||
| __construct (ilDBInterface $ilDBInterface) | ||||
| ilMySQLQueryUtils constructor. More... | ||||
| in (string $field, array $values, bool $negate=false, string $type="") | ||||
| quote ($value, ?string $type=null) | ||||
| concat (array $values, bool $allow_null=true) | ||||
| locate (string $a_needle, string $a_string, int $a_start_pos=1) | ||||
| free (ilPDOStatement $statement) | ||||
| quoteIdentifier (string $identifier) | ||||
| createTable (string $name, array $fields, array $options=[]) | ||||
| like (string $column, string $type, string $value="?", bool $case_insensitive=true) | ||||
| now () | ||||
| lock (array $tables) | ||||
| unlock () | ||||
| createDatabase (string $name, string $charset="utf8", string $collation="") | ||||
| groupConcat (string $a_field_name, string $a_seperator=",", string $a_order=null) | ||||
| cast (string $a_field_name, $a_dest_type) | ||||
| ||||
| in (string $field, array $values, bool $negate=false, string $type="") | ||||
| quote ($value, ?string $type=null) | ||||
| concat (array $values, bool $allow_null=true) | ||||
| locate (string $a_needle, string $a_string, int $a_start_pos=1) | ||||
| free (ilPDOStatement $statement) | ||||
| quoteIdentifier (string $identifier) | ||||
| createTable (string $name, array $fields, array $options=[]) | ||||
| like (string $column, string $type, string $value="?", bool $case_insensitive=true) | ||||
| now () | ||||
| lock (array $tables) | ||||
| unlock () | ||||
| createDatabase (string $name, string $charset="utf8", string $collation="") | ||||
| groupConcat (string $a_field_name, string $a_seperator=",", string $a_order=null) | ||||
| cast (string $a_field_name, $a_dest_type) | ||||
Additional Inherited Members | |
Protected Attributes inherited from ilQueryUtils | |
| ilDBInterface | $db_instance |
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 ilMySQLQueryUtils
Definition at line 25 of file class.ilMySQLQueryUtils.php.
| ilMySQLQueryUtils::cast | ( | string | $a_field_name, |
| $a_dest_type | |||
| ) |
| mixed | $a_dest_type |
Reimplemented from ilQueryUtils.
Definition at line 279 of file class.ilMySQLQueryUtils.php.
| ilMySQLQueryUtils::concat | ( | array | $values, |
| bool | $allow_null = true |
||
| ) |
Reimplemented from ilQueryUtils.
Definition at line 61 of file class.ilMySQLQueryUtils.php.
| ilMySQLQueryUtils::createDatabase | ( | string | $name, |
| string | $charset = "utf8", |
||
| string | $collation = "" |
||
| ) |
Reimplemented from ilQueryUtils.
Definition at line 252 of file class.ilMySQLQueryUtils.php.
References $name.
| ilMySQLQueryUtils::createTable | ( | string | $name, |
| array | $fields, | ||
| array | $options = [] |
||
| ) |
Reimplemented from ilQueryUtils.
Definition at line 120 of file class.ilMySQLQueryUtils.php.
References $name, $query, $type, and quote().
Here is the call graph for this function:| ilMySQLQueryUtils::free | ( | ilPDOStatement | $statement | ) |
Reimplemented from ilQueryUtils.
Definition at line 105 of file class.ilMySQLQueryUtils.php.
References ilPDOStatement\closeCursor().
Here is the call graph for this function:| ilMySQLQueryUtils::groupConcat | ( | string | $field_name, |
| string | $seperator = ",", |
||
| string | $order = null |
||
| ) |
Reimplemented from ilQueryUtils.
Definition at line 263 of file class.ilMySQLQueryUtils.php.
References quote().
Here is the call graph for this function:| ilMySQLQueryUtils::in | ( | string | $field, |
| array | $values, | ||
| bool | $negate = false, |
||
| string | $type = "" |
||
| ) |
| string[] | $values |
Reimplemented from ilQueryUtils.
Definition at line 30 of file class.ilMySQLQueryUtils.php.
References $type, and quote().
Here is the call graph for this function:| ilMySQLQueryUtils::like | ( | string | $column, |
| string | $type, | ||
| string | $value = "?", |
||
| bool | $case_insensitive = true |
||
| ) |
Reimplemented from ilQueryUtils.
Definition at line 179 of file class.ilMySQLQueryUtils.php.
References $type, quote(), ilDBConstants\T_CLOB, and ilDBConstants\T_TEXT.
Here is the call graph for this function:| ilMySQLQueryUtils::locate | ( | string | $a_needle, |
| string | $a_string, | ||
| int | $a_start_pos = 1 |
||
| ) |
Reimplemented from ilQueryUtils.
Definition at line 92 of file class.ilMySQLQueryUtils.php.
| ilMySQLQueryUtils::lock | ( | array | $tables | ) |
Reimplemented from ilQueryUtils.
Definition at line 211 of file class.ilMySQLQueryUtils.php.
References ilDBConstants\LOCK_READ, and ilDBConstants\LOCK_WRITE.
| ilMySQLQueryUtils::now | ( | ) |
Reimplemented from ilQueryUtils.
Definition at line 206 of file class.ilMySQLQueryUtils.php.
| ilMySQLQueryUtils::quote | ( | $value, | |
| ?string | $type = null |
||
| ) |
| mixed | $value |
Reimplemented from ilQueryUtils.
Definition at line 56 of file class.ilMySQLQueryUtils.php.
References $type.
Referenced by createTable(), groupConcat(), in(), and like().
Here is the caller graph for this function:| ilMySQLQueryUtils::quoteIdentifier | ( | string | $identifier | ) |
Reimplemented from ilQueryUtils.
Definition at line 112 of file class.ilMySQLQueryUtils.php.
| ilMySQLQueryUtils::unlock | ( | ) |
Reimplemented from ilQueryUtils.
Definition at line 247 of file class.ilMySQLQueryUtils.php.