MariaDbParameter
in package
Represents a bound parameter.
Table of Contents
Methods
- __construct() : MariaDbParameter
- Create a new MariaDbParameter.
- getBindType() : string
- Gets the type character for the mysqli bind.
- getDbType() : int
- Gets the DbType of for the parameter.
- getOrdinal() : int
- Gets the parameter number.
- getValue() : mixed
- Gets the value for the parameter.
Methods
__construct()
Create a new MariaDbParameter.
public
__construct(int $ordinal, int $type, mixed $value) : MariaDbParameter
Parameters
- $ordinal : int
-
Parameter number.
- $type : int
-
DbType number.
- $value : mixed
-
Value to bind.
Return values
MariaDbParameter —A new parameter instance.
getBindType()
Gets the type character for the mysqli bind.
public
getBindType() : string
Return values
string —Type character.
getDbType()
Gets the DbType of for the parameter.
public
getDbType() : int
Return values
int —DbType.
getOrdinal()
Gets the parameter number.
public
getOrdinal() : int
Return values
int —Parameter number.
getValue()
Gets the value for the parameter.
public
getValue() : mixed
Return values
mixed —Value.