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.