Usage: static object: Class::method() - This class provides only STATIC methods
class Methods
public staticfunctionisDbaAndHandlerAvailable (
STRING$handler = ""
) {} :: BOOLEAN
@return: {BOOLEAN} Will return TRUE if DBA extension is available and the handler is available ; FALSE if not
@param: {STRING} $handler: *Optional* The handler to check ; leave it empty to check the handler from configs: dba.handler
Check if the DBA Extension is available with the given handler or if empty with the handler set in configs
public staticfunctiongetDbaHandler (
) {} :: STRING
@return: {STRING} The DBA Handler from configs, if available, or empty string if not
Get the current DBA Handler
public staticfunctiongetDbaHandlers (
) {} :: ARRAY
@return: {ARRAY} The array list of available handlers or empty array if DBA extension is not found
Get the list of available DBA Handlers
public staticfunctiondataPack (
MIXED$originalData
) {} :: STRING
@return: {STRING} the packed data
@param: {MIXED} $originalData: The data to be packed ; can be: string, array, number ...
Pack the data using a safe serialized format
public staticfunctiondataUnpack (
STRING$packedData
) {} :: MIXED
@return: {MIXED} the unpacked data ; can be: string, array, number ...
@param: {STRING} $packedData: The previous packed data
UnPack the data from packed serialized format to it's original state
class Properties
class Constants
documentation generated on: 2023-10-19 23:15:51 +0000