ILIAS  trunk Revision v11.0_alpha-1731-gff9cd7e2bd3
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
ilQueryUtilsInterface Interface Reference

Interface ilQueryUtilsInterface. More...

+ Inheritance diagram for ilQueryUtilsInterface:
+ Collaboration diagram for ilQueryUtilsInterface:

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 $a_field_name, string $a_seperator=",", ?string $a_order=null)
 
 cast (string $a_field_name, $a_dest_type)
 

Detailed Description

Member Function Documentation

◆ cast()

ilQueryUtilsInterface::cast ( string  $a_field_name,
  $a_dest_type 
)
Parameters
mixed$a_dest_type

Implemented in ilMySQLQueryUtils, and ilQueryUtils.

◆ concat()

ilQueryUtilsInterface::concat ( array  $values,
bool  $allow_null = true 
)

Implemented in ilMySQLQueryUtils, and ilQueryUtils.

◆ createDatabase()

ilQueryUtilsInterface::createDatabase ( string  $name,
string  $charset = "utf8",
string  $collation = "" 
)

Implemented in ilMySQLQueryUtils, and ilQueryUtils.

◆ createTable()

ilQueryUtilsInterface::createTable ( string  $name,
array  $fields,
array  $options = [] 
)
Exceptions

Implemented in ilMySQLQueryUtils, and ilQueryUtils.

◆ free()

ilQueryUtilsInterface::free ( ilPDOStatement  $statement)

Implemented in ilMySQLQueryUtils, and ilQueryUtils.

◆ groupConcat()

ilQueryUtilsInterface::groupConcat ( string  $a_field_name,
string  $a_seperator = ",",
?string  $a_order = null 
)

Implemented in ilMySQLQueryUtils, and ilQueryUtils.

◆ in()

ilQueryUtilsInterface::in ( string  $field,
array  $values,
bool  $negate = false,
string  $type = "" 
)
Parameters
string[]$values

Implemented in ilQueryUtils, and ilMySQLQueryUtils.

◆ like()

ilQueryUtilsInterface::like ( string  $column,
string  $type,
string  $value = "?",
bool  $case_insensitive = true 
)
Exceptions

Implemented in ilMySQLQueryUtils, and ilQueryUtils.

◆ locate()

ilQueryUtilsInterface::locate ( string  $a_needle,
string  $a_string,
int  $a_start_pos = 1 
)

Implemented in ilMySQLQueryUtils, and ilQueryUtils.

◆ lock()

ilQueryUtilsInterface::lock ( array  $tables)

Implemented in ilMySQLQueryUtils, and ilQueryUtils.

◆ now()

ilQueryUtilsInterface::now ( )

Implemented in ilMySQLQueryUtils, and ilQueryUtils.

◆ quote()

ilQueryUtilsInterface::quote (   $value,
?string  $type = null 
)
Parameters
mixed$value

Implemented in ilMySQLQueryUtils, and ilQueryUtils.

◆ quoteIdentifier()

ilQueryUtilsInterface::quoteIdentifier ( string  $identifier)

Implemented in ilMySQLQueryUtils, and ilQueryUtils.

◆ unlock()

ilQueryUtilsInterface::unlock ( )

Implemented in ilMySQLQueryUtils, and ilQueryUtils.


The documentation for this interface was generated from the following file: