Helpers
in package
Table of Contents
Methods
- convertBooleanValue() : string
- extractFloat() : float
- extractInt() : int
- extractString() : string
- validateInt() : int
Methods
convertBooleanValue()
public
static convertBooleanValue(bool $value) : string
Parameters
- $value : bool
Return values
stringextractFloat()
public
static extractFloat(mixed $value) : float
Parameters
- $value : mixed
Return values
floatextractInt()
public
static extractInt(mixed $value, int $minValue[, int $gnumericNull = 0 ][, bool $ooBoolOk = false ]) : int
Parameters
- $value : mixed
- $minValue : int
- $gnumericNull : int = 0
- $ooBoolOk : bool = false
Return values
intextractString()
public
static extractString(mixed $value[, bool $throwIfError = false ]) : string
Parameters
- $value : mixed
-
String value from which to extract characters
- $throwIfError : bool = false
Return values
stringvalidateInt()
public
static validateInt(mixed $value[, bool $throwIfError = false ]) : int
Parameters
- $value : mixed
- $throwIfError : bool = false