# final class \SmartDbaUtilDb
{ } ::

Class: SmartDbaUtilDb - provides a Static Utility for the DBA Database Client.

- Language: PHP
- Located at: lib/core/plugins/lib_db_dba.php
- Package: Application:Plugins:Database:Dba
- Namespace: \
- Class Name: SmartDbaUtilDb
- Version: v.20240119
- Depends: extensions: PHP DBA Extension ; classes: Smart
- Usage: static object: Class::method() - This class provides only STATIC methods

## class Methods

public static function isDbaAndHandlerAvailable ( 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 static function getDbaHandler ( ) {} :: STRING
@return: {STRING} The DBA Handler from configs, if available, or empty string if not
Get the current DBA Handler
public static function getDbaHandlers ( ) {} :: 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 static function dataPack ( 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 static function dataUnpack ( 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: 2024-12-16 16:53:45 +0000

Smart.Framework © 2009-2024 unix-world.org