Documentation

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
string

extractFloat()

public static extractFloat(mixed $value) : float
Parameters
$value : mixed
Return values
float

extractInt()

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
int

extractString()

public static extractString(mixed $value[, bool $throwIfError = false ]) : string
Parameters
$value : mixed

String value from which to extract characters

$throwIfError : bool = false
Return values
string

validateInt()

public static validateInt(mixed $value) : int
Parameters
$value : mixed
Return values
int

        
On this page

Search results