db_Core Class Reference

Function needed for making cross-database SQL. More...

Static Public Member Functions

static bitmask_to_array ($bitmask)
 Both mysql and oracle supports logical and, but in completely different ways.
static bitmask_to_string ($bitmask)
 Both mysql and oracle supports logical and, but in completely different ways.

Detailed Description

Function needed for making cross-database SQL.


Member Function Documentation

static db_Core::bitmask_to_array ( bitmask  )  [static]

Both mysql and oracle supports logical and, but in completely different ways.

Workaround by generating a list of set bits in a bitmask.

Parameters:
$bitmask A bitmask
Returns:
An array of the bits that were set
static db_Core::bitmask_to_string ( bitmask  )  [static]

Both mysql and oracle supports logical and, but in completely different ways.

Workaround by generating a comma-separated string of the set bit values

Parameters:
$bitmask A bitmask
Returns:
A string of the set bits

The documentation for this class was generated from the following file:
 All Data Structures Functions Variables

Generated on 6 May 2013 for ninja by  doxygen 1.6.1