|
ILIAS
release_4-4 Revision
|
Inheritance 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. More... | |
| MDB2_Statement_Common (&$db, &$statement, $positions, $query, $types, $result_types, $is_manip=false, $limit=null, $offset=null) | |
| PHP 4 Constructor. More... | |
| bindValue ($parameter, $value, $type=null) | |
| Set the value of a parameter of a prepared query. More... | |
| bindValueArray ($values, $types=null) | |
| Set the values of multiple a parameter of a prepared query in bulk. More... | |
| bindParam ($parameter, &$value, $type=null) | |
| Bind a variable to a parameter of a prepared query. More... | |
| bindParamArray (&$values, $types=null) | |
| Bind the variables of multiple a parameter of a prepared query in bulk. More... | |
| & | execute ($values=null, $result_class=true, $result_wrap_class=false) |
| Execute a prepared query statement. More... | |
| & | _execute ($result_class=true, $result_wrap_class=false) |
| Execute a prepared query statement helper method. More... | |
| free () | |
| Release resources allocated for the specified prepared query. More... | |
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 |
|||
| ) |
| & 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
Definition at line 4082 of file MDB2.php.
References $query, $result, PEAR\isError(), and MDB2_ERROR_NOT_FOUND.
Here is the call 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.
| 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 PEAR\isError(), and MDB2_OK.
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.
| 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 PEAR\isError(), and MDB2_OK.
Here is the call 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, PEAR\isError(), and MDB2_ERROR.
Here is the call graph for this function:| MDB2_Statement_Common::free | ( | ) |
Release resources allocated for the specified prepared query.
public
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.