| 
    ILIAS
    release_9 Revision v9.13-25-g2c18ec4c24f
    
   | 
  
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) | ||||
  | ||||
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 | 
Implements ilQueryUtilsInterface.
Definition at line 279 of file class.ilMySQLQueryUtils.php.
| ilMySQLQueryUtils::concat | ( | array | $values, | 
| bool | $allow_null = true  | 
        ||
| ) | 
| ilMySQLQueryUtils::createDatabase | ( | string | $name, | 
| string | $charset = "utf8",  | 
        ||
| string | $collation = ""  | 
        ||
| ) | 
Implements ilQueryUtilsInterface.
Definition at line 252 of file class.ilMySQLQueryUtils.php.
| ilMySQLQueryUtils::createTable | ( | string | $name, | 
| array | $fields, | ||
| array | $options = []  | 
        ||
| ) | 
Implements ilQueryUtilsInterface.
Definition at line 120 of file class.ilMySQLQueryUtils.php.
References quote().
 Here is the call graph for this function:| ilMySQLQueryUtils::free | ( | ilPDOStatement | $statement | ) | 
Implements ilQueryUtilsInterface.
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  | 
        ||
| ) | 
Implements ilQueryUtilsInterface.
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 | 
Implements ilQueryUtilsInterface.
Definition at line 30 of file class.ilMySQLQueryUtils.php.
References quote().
 Here is the call graph for this function:| ilMySQLQueryUtils::like | ( | string | $column, | 
| string | $type, | ||
| string | $value = "?",  | 
        ||
| bool | $case_insensitive = true  | 
        ||
| ) | 
Implements ilQueryUtilsInterface.
Definition at line 179 of file class.ilMySQLQueryUtils.php.
References 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  | 
        ||
| ) | 
Implements ilQueryUtilsInterface.
Definition at line 92 of file class.ilMySQLQueryUtils.php.
| ilMySQLQueryUtils::lock | ( | array | $tables | ) | 
Implements ilQueryUtilsInterface.
Definition at line 211 of file class.ilMySQLQueryUtils.php.
References ilDBConstants\LOCK_READ, and ilDBConstants\LOCK_WRITE.
| ilMySQLQueryUtils::now | ( | ) | 
Implements ilQueryUtilsInterface.
Definition at line 206 of file class.ilMySQLQueryUtils.php.
| ilMySQLQueryUtils::quote | ( | $value, | |
| ?string | $type = null  | 
        ||
| ) | 
| mixed | $value | 
Implements ilQueryUtilsInterface.
Definition at line 56 of file class.ilMySQLQueryUtils.php.
Referenced by createTable(), groupConcat(), in(), and like().
 Here is the caller graph for this function:| ilMySQLQueryUtils::quoteIdentifier | ( | string | $identifier | ) | 
Implements ilQueryUtilsInterface.
Definition at line 112 of file class.ilMySQLQueryUtils.php.
| ilMySQLQueryUtils::unlock | ( | ) | 
Implements ilQueryUtilsInterface.
Definition at line 247 of file class.ilMySQLQueryUtils.php.