ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
ilDBStatement Interface Reference

Interface ilDBStatement. More...

+ Inheritance diagram for ilDBStatement:
+ Collaboration diagram for ilDBStatement:

Public Member Functions

 fetchRow ($fetch_mode)
 
 fetch ($fetch_mode=ilDBConstants::FETCHMODE_ASSOC)
 
 rowCount ()
 
 numRows ()
 
 fetchObject ()
 
 fetchAssoc ()
 
 execute ($a_data=null)
 

Detailed Description

Member Function Documentation

◆ execute()

ilDBStatement::execute (   $a_data = null)
Parameters
array$a_data
Returns
|

Implemented in MDB2_Result_Common, and ilPDOStatement.

◆ fetch()

ilDBStatement::fetch (   $fetch_mode = ilDBConstants::FETCHMODE_ASSOC)
Parameters
int$fetch_mode
Returns
mixed

Implemented in MDB2_Result_Common, and ilPDOStatement.

◆ fetchAssoc()

ilDBStatement::fetchAssoc ( )
Returns
array

Implemented in MDB2_Result_Common, and ilPDOStatement.

◆ fetchObject()

ilDBStatement::fetchObject ( )
Returns
stdClass

Implemented in MDB2_Result_Common, and ilPDOStatement.

◆ fetchRow()

ilDBStatement::fetchRow (   $fetch_mode)
Parameters
$fetch_modeint Is either ilDBConstants::FETCHMODE_ASSOC OR ilDBConstants::FETCHMODE_OBJECT
Returns
mixed Returns an array in fetchmode assoc and an object in fetchmode object.

Implemented in ilPDOStatement.

◆ numRows()

◆ rowCount()

ilDBStatement::rowCount ( )
Returns
int

Implemented in MDB2_Result_Common, and ilPDOStatement.


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