[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/libraries/vendor/maximebf/debugbar/src/DebugBar/DataCollector/PDO/ -> TraceablePDOStatement.php (summary)

(no description)

File Size: 130 lines (5 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

TraceablePDOStatement:: (5 methods):
  __construct()
  bindColumn()
  bindParam()
  bindValue()
  execute()


Class: TraceablePDOStatement  - X-Ref

A traceable PDO statement to use with Traceablepdo

__construct(TraceablePDO $pdo)   X-Ref
TraceablePDOStatement constructor.

param: TraceablePDO $pdo

bindColumn($column, &$param, $type = null, $maxlen = null, $driverdata = null)   X-Ref
Bind a column to a PHP variable

param: mixed $column Number of the column (1-indexed) or name of the column in the result set
param: mixed $param  Name of the PHP variable to which the column will be bound.
param: int   $type [optional] Data type of the parameter, specified by the PDO::PARAM_*
param: int   $maxlen [optional] A hint for pre-allocation.
param: mixed $driverdata [optional] Optional parameter(s) for the driver.
return: bool  TRUE on success or FALSE on failure.

bindParam($parameter, &$variable, $data_type = PDO::PARAM_STR, $length = null, $driver_options = null)   X-Ref
Binds a parameter to the specified variable name

param: mixed $parameter Parameter identifier. For a prepared statement using named
param: mixed $variable  Name of the PHP variable to bind to the SQL statement parameter.
param: int $data_type [optional] Explicit data type for the parameter using the PDO::PARAM_*
param: int $length [optional] Length of the data type. To indicate that a parameter is an OUT
param: mixed $driver_options [optional]
return: bool TRUE on success or FALSE on failure.

bindValue($parameter, $value, $data_type = PDO::PARAM_STR)   X-Ref
Binds a value to a parameter

param: mixed $parameter Parameter identifier. For a prepared statement using named
param: mixed $value The value to bind to the parameter.
param: int   $data_type [optional] Explicit data type for the parameter using the PDO::PARAM_*
return: bool TRUE on success or FALSE on failure.

execute($input_parameters = null)   X-Ref
Executes a prepared statement

param: array $input_parameters [optional] An array of values with as many elements as there
return: bool TRUE on success or FALSE on failure.



Generated: Wed Sep 7 05:41:13 2022 Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer