\JCORE\DATA\APIDATA_UTIL_API

Interface DATA_UTIL_API

Summary

Methods
Properties
Constants
scrubWhitespace()
cleanMicrotime()
scrubString()
getEnumValues()
_selectEnum()
_selectFromResult()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

scrubWhitespace()

scrubWhitespace(string  $stringval) : string

scrubWhitespace

Parameters

string $stringval

Returns

string —

stringval

cleanMicrotime()

cleanMicrotime(float  $setTime = null) : string

cleanMicrotime

Parameters

float $setTime

Returns

string —

usec

scrubString()

scrubString(  $stringVal,   $invalidList = "\"\\?*:/@|<>") : \JCORE\DATA\API\mixedstringval

scrubString

Parameters

$stringVal
$invalidList

Returns

\JCORE\DATA\API\mixedstringval

getEnumValues()

getEnumValues(string  $DSN, string  $table, string  $column) : string|boolean

getEnumValues - postgres work with this?

Parameters

string $DSN
string $table
string $column

Returns

string|boolean —

stringval|false

_selectEnum()

_selectEnum(array  $arrayVal, string  $preSelect, string  $IDname,   $scriptVal = '') : string|boolean

_selectEnum

Parameters

array $arrayVal
string $preSelect
string $IDname
$scriptVal

Returns

string|boolean —

stringval|false

_selectFromResult()

_selectFromResult(mixed  $result,   $args = array()) : string|boolean

_selectFromResult args["dspCol"] = 'NodeName'; args["idCol"] = 'RuleItemID'; args["preSelect"] = 'wdf'; args["DOMID"] = $_REQUEST["extFK"];

Parameters

mixed $result
$args

Returns

string|boolean —

stringval|false