| ILIAS
    Release_4_1_x_branch Revision 61804
    | 
 Inheritance diagram for MDB2_Statement_Common:
 Inheritance diagram for MDB2_Statement_Common: Collaboration diagram for MDB2_Statement_Common:
 Collaboration diagram for MDB2_Statement_Common:| Public Member Functions | |
| __construct (&$db, &$statement, $positions, $query, $types, $result_types, $is_manip=false, $limit=null, $offset=null) | |
| Constructor. | |
| MDB2_Statement_Common (&$db, &$statement, $positions, $query, $types, $result_types, $is_manip=false, $limit=null, $offset=null) | |
| PHP 4 Constructor. | |
| bindValue ($parameter, $value, $type=null) | |
| Set the value of a parameter of a prepared query. | |
| bindValueArray ($values, $types=null) | |
| Set the values of multiple a parameter of a prepared query in bulk. | |
| bindParam ($parameter, &$value, $type=null) | |
| Bind a variable to a parameter of a prepared query. | |
| bindParamArray (&$values, $types=null) | |
| Bind the variables of multiple a parameter of a prepared query in bulk. | |
| & | execute ($values=null, $result_class=true, $result_wrap_class=false) | 
| Execute a prepared query statement. | |
| & | _execute ($result_class=true, $result_wrap_class=false) | 
| Execute a prepared query statement helper method. | |
| free () | |
| Release resources allocated for the specified prepared query. | |
| Data Fields | |
| $db | |
| $statement | |
| $query | |
| $result_types | |
| $types | |
| $values = array() | |
| $limit | |
| $offset | |
| $is_manip | |
| MDB2_Statement_Common::__construct | ( | & | $db, | 
| & | $statement, | ||
| $positions, | |||
| $query, | |||
| $types, | |||
| $result_types, | |||
| $is_manip = false, | |||
| $limit = null, | |||
| $offset = null | |||
| ) | 
Constructor.
Definition at line 3888 of file MDB2.php.
References $db, $is_manip, $limit, $offset, $query, $result_types, $statement, and $types.
Referenced by MDB2_Statement_Common().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| & MDB2_Statement_Common::_execute | ( | $result_class = true, | |
| $result_wrap_class = false | |||
| ) | 
Execute a prepared query statement helper method.
| mixed | specifies which result class to use | 
| mixed | specifies which class to wrap results in | 
private
Reimplemented in MDB2_Statement_mysql, and MDB2_Statement_oci8.
Definition at line 4082 of file MDB2.php.
References $limit, $offset, $query, $result, PEAR\isError(), and MDB2_ERROR_NOT_FOUND.
Referenced by execute().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| MDB2_Statement_Common::bindParam | ( | $parameter, | |
| & | $value, | ||
| $type = null | |||
| ) | 
Bind a variable to a parameter of a prepared query.
| int | the order number of the parameter in the query statement. The order number of the first parameter is 1. | 
| mixed | variable that is meant to be bound to specified parameter. The type of the value depends on the $type argument. | 
| string | specifies the type of the field | 
public
Definition at line 3989 of file MDB2.php.
References MDB2_ERROR_NOT_FOUND, and MDB2_OK.
Referenced by bindParamArray().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| MDB2_Statement_Common::bindParamArray | ( | & | $values, | 
| $types = null | |||
| ) | 
Bind the variables of multiple a parameter of a prepared query in bulk.
| array | specifies all necessary information for bindParam() the array elements must use keys corresponding to the number of the position of the parameter. | 
| array | specifies the types of the fields | 
public
Definition at line 4021 of file MDB2.php.
References $types, $values, bindParam(), PEAR\isError(), and MDB2_OK.
 Here is the call graph for this function:
 Here is the call graph for this function:| MDB2_Statement_Common::bindValue | ( | $parameter, | |
| $value, | |||
| $type = null | |||
| ) | 
Set the value of a parameter of a prepared query.
| int | the order number of the parameter in the query statement. The order number of the first parameter is 1. | 
| mixed | value that is meant to be assigned to specified parameter. The type of the value depends on the $type argument. | 
| string | specifies the type of the field | 
public
Definition at line 3928 of file MDB2.php.
References MDB2_ERROR_NOT_FOUND, and MDB2_OK.
Referenced by bindValueArray().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| MDB2_Statement_Common::bindValueArray | ( | $values, | |
| $types = null | |||
| ) | 
Set the values of multiple a parameter of a prepared query in bulk.
| array | specifies all necessary information for bindValue() the array elements must use keys corresponding to the number of the position of the parameter. | 
| array | specifies the types of the fields | 
public
Definition at line 3960 of file MDB2.php.
References $types, $values, bindValue(), PEAR\isError(), and MDB2_OK.
Referenced by execute().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| & MDB2_Statement_Common::execute | ( | $values = null, | |
| $result_class = true, | |||
| $result_wrap_class = false | |||
| ) | 
Execute a prepared query statement.
| array | specifies all necessary information for bindParam() the array elements must use keys corresponding to the number of the position of the parameter. | 
| mixed | specifies which result class to use | 
| mixed | specifies which class to wrap results in | 
public
Definition at line 4050 of file MDB2.php.
References $result, $values, _execute(), bindValueArray(), PEAR\isError(), and MDB2_ERROR.
 Here is the call graph for this function:
 Here is the call graph for this function:| MDB2_Statement_Common::free | ( | ) | 
Release resources allocated for the specified prepared query.
public
Reimplemented in MDB2_Statement_oci8, and MDB2_Statement_mysql.
Definition at line 4128 of file MDB2.php.
References MDB2_ERROR, and MDB2_OK.
| MDB2_Statement_Common::MDB2_Statement_Common | ( | & | $db, | 
| & | $statement, | ||
| $positions, | |||
| $query, | |||
| $types, | |||
| $result_types, | |||
| $is_manip = false, | |||
| $limit = null, | |||
| $offset = null | |||
| ) | 
PHP 4 Constructor.
Definition at line 3907 of file MDB2.php.
References $db, $is_manip, $limit, $offset, $query, $result_types, $statement, $types, and __construct().
 Here is the call graph for this function:
 Here is the call graph for this function:| MDB2_Statement_Common::$db | 
Definition at line 3872 of file MDB2.php.
Referenced by __construct(), and MDB2_Statement_Common().
| MDB2_Statement_Common::$is_manip | 
Definition at line 3880 of file MDB2.php.
Referenced by __construct(), and MDB2_Statement_Common().
| MDB2_Statement_Common::$limit | 
Definition at line 3878 of file MDB2.php.
Referenced by __construct(), _execute(), and MDB2_Statement_Common().
| MDB2_Statement_Common::$offset | 
Definition at line 3879 of file MDB2.php.
Referenced by __construct(), _execute(), and MDB2_Statement_Common().
| MDB2_Statement_Common::$query | 
Definition at line 3874 of file MDB2.php.
Referenced by __construct(), MDB2_Statement_oci8\_execute(), MDB2_Statement_mysql\_execute(), _execute(), MDB2_Statement_mysql\free(), and MDB2_Statement_Common().
| MDB2_Statement_Common::$result_types | 
Definition at line 3875 of file MDB2.php.
Referenced by __construct(), and MDB2_Statement_Common().
| MDB2_Statement_Common::$statement | 
Definition at line 3873 of file MDB2.php.
Referenced by __construct(), and MDB2_Statement_Common().
| MDB2_Statement_Common::$types | 
Definition at line 3876 of file MDB2.php.
Referenced by __construct(), bindParamArray(), bindValueArray(), and MDB2_Statement_Common().
| MDB2_Statement_Common::$values = array() | 
Definition at line 3877 of file MDB2.php.
Referenced by bindParamArray(), bindValueArray(), and execute().