|
ILIAS
release_7 Revision v7.30-3-g800a261c036
|
Class ilMySQLQueryUtils. More...
Inheritance diagram for ilMySQLQueryUtils:
Collaboration diagram for ilMySQLQueryUtils:Public Member Functions | ||||||||||
| in ($field, $values, $negate=false, $type="") | ||||||||||
| quote ($value, $type=null) | ||||||||||
| concat (array $values, $allow_null=true) | ||||||||||
| locate ($a_needle, $a_string, $a_start_pos=1) | ||||||||||
| free (ilPDOStatement $statement) | ||||||||||
| quoteIdentifier ($identifier) | ||||||||||
| createTable ($name, $fields, $options=array()) | ||||||||||
| like ($column, $type, $value="?", $case_insensitive=true) | ||||||||||
| now () | ||||||||||
| lock (array $tables) | ||||||||||
| unlock () | ||||||||||
| createDatabase ($a_name, $a_charset="utf8", $a_collation="") | ||||||||||
| groupConcat ($a_field_name, $a_seperator=",", $a_order=null) | ||||||||||
| cast ($a_field_name, $a_dest_type) | ||||||||||
| ||||||||||
Public Member Functions inherited from ilQueryUtils | ||||||||||
| __construct (ilDBInterface $ilDBInterface) | ||||||||||
| ilMySQLQueryUtils constructor. More... | ||||||||||
| in ($field, $values, $negate=false, $type="") | ||||||||||
| quote ($value, $type=null) | ||||||||||
| concat (array $values, $allow_null=true) | ||||||||||
| locate ($a_needle, $a_string, $a_start_pos=1) | ||||||||||
| free (ilPDOStatement $statement) | ||||||||||
| quoteIdentifier ($identifier) | ||||||||||
| createTable ($name, $fields, $options=array()) | ||||||||||
| like ($column, $type, $value="?", $case_insensitive=true) | ||||||||||
| now () | ||||||||||
| lock (array $tables) | ||||||||||
| unlock () | ||||||||||
| createDatabase ($a_name, $a_charset="utf8", $a_collation="") | ||||||||||
| groupConcat ($a_field_name, $a_seperator=",", $a_order=null) | ||||||||||
| ||||||||||
| cast ($a_field_name, $a_dest_type) | ||||||||||
| ||||||||||
| in ($field, $values, $negate=false, $type="") | ||||||||||
| quote ($value, $type=null) | ||||||||||
| concat (array $values, $allow_null=true) | ||||||||||
| locate ($a_needle, $a_string, $a_start_pos=1) | ||||||||||
| free (ilPDOStatement $statement) | ||||||||||
| quoteIdentifier ($identifier) | ||||||||||
| createTable ($name, $fields, $options=array()) | ||||||||||
| like ($column, $type, $value="?", $case_insensitive=true) | ||||||||||
| now () | ||||||||||
| lock (array $tables) | ||||||||||
| unlock () | ||||||||||
| createDatabase ($a_name, $a_charset="utf8", $a_collation="") | ||||||||||
| groupConcat ($a_field_name, $a_seperator=",", $a_order=null) | ||||||||||
| cast ($a_field_name, $a_dest_type) | ||||||||||
Additional Inherited Members | |
Protected Attributes inherited from ilQueryUtils | |
| $db_instance | |
Class ilMySQLQueryUtils.
Definition at line 8 of file class.ilMySQLQueryUtils.php.
| ilMySQLQueryUtils::cast | ( | $a_field_name, | |
| $a_dest_type | |||
| ) |
| string | $a_field_name | |
| mixed | $a_dest_type |
Reimplemented from ilQueryUtils.
Definition at line 324 of file class.ilMySQLQueryUtils.php.
| ilMySQLQueryUtils::concat | ( | array | $values, |
$allow_null = true |
|||
| ) |
| array | $values | |
| bool | $allow_null |
Reimplemented from ilQueryUtils.
Definition at line 58 of file class.ilMySQLQueryUtils.php.
| ilMySQLQueryUtils::createDatabase | ( | $a_name, | |
$a_charset = "utf8", |
|||
$a_collation = "" |
|||
| ) |
| $a_name | ||
| string | $a_charset | |
| string | $a_collation |
Reimplemented from ilQueryUtils.
Definition at line 291 of file class.ilMySQLQueryUtils.php.
| ilMySQLQueryUtils::createTable | ( | $name, | |
| $fields, | |||
$options = array() |
|||
| ) |
| $name | ||
| $fields | ||
| array | $options |
Reimplemented from ilQueryUtils.
Definition at line 140 of file class.ilMySQLQueryUtils.php.
References $name, $query, $type, and quote().
Here is the call graph for this function:| ilMySQLQueryUtils::free | ( | ilPDOStatement | $statement | ) |
| \ilPDOStatement | $statement |
Reimplemented from ilQueryUtils.
Definition at line 115 of file class.ilMySQLQueryUtils.php.
References ilPDOStatement\closeCursor().
Here is the call graph for this function:| ilMySQLQueryUtils::groupConcat | ( | $a_field_name, | |
$a_seperator = ",", |
|||
$a_order = null |
|||
| ) |
| string | $a_field_name | |
| string | $a_seperator | |
| string | $a_order |
Reimplemented from ilQueryUtils.
Definition at line 310 of file class.ilMySQLQueryUtils.php.
References quote().
Here is the call graph for this function:| ilMySQLQueryUtils::in | ( | $field, | |
| $values, | |||
$negate = false, |
|||
$type = "" |
|||
| ) |
| string | $field | |
| string[] | $values | |
| bool | $negate | |
| string | $type |
Reimplemented from ilQueryUtils.
Definition at line 18 of file class.ilMySQLQueryUtils.php.
References $type, and quote().
Here is the call graph for this function:| ilMySQLQueryUtils::like | ( | $column, | |
| $type, | |||
$value = "?", |
|||
$case_insensitive = true |
|||
| ) |
| $column | ||
| $type | ||
| string | $value | |
| bool | $case_insensitive |
Reimplemented from ilQueryUtils.
Definition at line 198 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 | ( | $a_needle, | |
| $a_string, | |||
$a_start_pos = 1 |
|||
| ) |
| $a_needle | ||
| $a_string | ||
| int | $a_start_pos |
Reimplemented from ilQueryUtils.
Definition at line 97 of file class.ilMySQLQueryUtils.php.
| ilMySQLQueryUtils::lock | ( | array | $tables | ) |
| array | $tables |
Reimplemented from ilQueryUtils.
Definition at line 239 of file class.ilMySQLQueryUtils.php.
References ilDBConstants\LOCK_READ, and ilDBConstants\LOCK_WRITE.
| ilMySQLQueryUtils::now | ( | ) |
Reimplemented from ilQueryUtils.
Definition at line 229 of file class.ilMySQLQueryUtils.php.
| ilMySQLQueryUtils::quote | ( | $value, | |
$type = null |
|||
| ) |
| mixed | $value | |
| null | $type |
Reimplemented from ilQueryUtils.
Definition at line 47 of file class.ilMySQLQueryUtils.php.
References $type.
Referenced by createTable(), groupConcat(), in(), and like().
Here is the caller graph for this function:| ilMySQLQueryUtils::quoteIdentifier | ( | $identifier | ) |
| $identifier |
Reimplemented from ilQueryUtils.
Definition at line 127 of file class.ilMySQLQueryUtils.php.
| ilMySQLQueryUtils::unlock | ( | ) |
Reimplemented from ilQueryUtils.
Definition at line 279 of file class.ilMySQLQueryUtils.php.