Class ilQueryUtils.
More...
|
| __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) |
| - Parameters
-
string | $a_field_name | |
string | $a_seperator | |
string | $a_order | |
- Returns
- string
More...
|
|
| cast ($a_field_name, $a_dest_type) |
| - Parameters
-
string | $a_field_name | |
mixed | $a_dest_type | |
- Returns
- string
More...
|
|
Class ilQueryUtils.
Definition at line 8 of file class.ilQueryUtils.php.
◆ __construct()
ilMySQLQueryUtils constructor.
- Parameters
-
\ilDBInterface | $ilDBInterface | |
Definition at line 22 of file class.ilQueryUtils.php.
References $column, $name, $options, $type, array, cast(), concat(), createDatabase(), createTable(), free(), groupConcat(), in(), like(), locate(), lock(), now(), quote(), quoteIdentifier(), and unlock().
24 $this->db_instance = $ilDBInterface;
◆ cast()
ilQueryUtils::cast |
( |
|
$a_field_name, |
|
|
|
$a_dest_type |
|
) |
| |
|
abstract |
◆ concat()
ilQueryUtils::concat |
( |
array |
$values, |
|
|
|
$allow_null = true |
|
) |
| |
|
abstract |
◆ createDatabase()
ilQueryUtils::createDatabase |
( |
|
$a_name, |
|
|
|
$a_charset = "utf8" , |
|
|
|
$a_collation = "" |
|
) |
| |
|
abstract |
◆ createTable()
ilQueryUtils::createTable |
( |
|
$name, |
|
|
|
$fields, |
|
|
|
$options = array() |
|
) |
| |
|
abstract |
◆ free()
◆ groupConcat()
ilQueryUtils::groupConcat |
( |
|
$a_field_name, |
|
|
|
$a_seperator = "," , |
|
|
|
$a_order = null |
|
) |
| |
|
abstract |
◆ in()
ilQueryUtils::in |
( |
|
$field, |
|
|
|
$values, |
|
|
|
$negate = false , |
|
|
|
$type = "" |
|
) |
| |
|
abstract |
◆ like()
ilQueryUtils::like |
( |
|
$column, |
|
|
|
$type, |
|
|
|
$value = "?" , |
|
|
|
$case_insensitive = true |
|
) |
| |
|
abstract |
◆ locate()
ilQueryUtils::locate |
( |
|
$a_needle, |
|
|
|
$a_string, |
|
|
|
$a_start_pos = 1 |
|
) |
| |
|
abstract |
◆ lock()
ilQueryUtils::lock |
( |
array |
$tables | ) |
|
|
abstract |
◆ now()
◆ quote()
ilQueryUtils::quote |
( |
|
$value, |
|
|
|
$type = null |
|
) |
| |
|
abstract |
◆ quoteIdentifier()
ilQueryUtils::quoteIdentifier |
( |
|
$identifier | ) |
|
|
abstract |
◆ unlock()
◆ $db_instance
ilQueryUtils::$db_instance |
|
protected |
The documentation for this class was generated from the following file: