rapila
Static Public Member Functions | List of all members
Util Class Reference

Static Public Member Functions

static equals ($mFirst, $mSecond, $sKeyMethod=null)
 
static nameForObject ($oObject)
 
static idForObject ($oObject)
 
static descriptionForObject ($oObject, $sLanguageId=null)
 
static uuid ()
 
static dumpAll ()
 
static fireDump ()
 
static addSortColumn ($oCriteria, $sSortColumn, $sSortOrder= 'asc')
 
static hasBitsSet ($iBits, $iBitmap)
 
static bitmapToBitsArray ($iBitmap)
 
static formatCreatedInfo ($oObject, $sFormat= '%x%H:%M')
 
static formatUpdatedInfo ($oObject, $sFormat= '%x%H:%M')
 

Member Function Documentation

static Util::hasBitsSet (   $iBits,
  $iBitmap 
)
static
Parameters
int$iBitsbitmap of bits to be checked (needle)
int$iBitmapbitmap to check against (haystack)
Returns
boolean, true if ALL bits of needle are set in haystack, false otherwise
static Util::idForObject (   $oObject)
static
Returns
an arbitrary object’s “id”.
Deprecated:
For BaseObjects. Use $oObject->getPKString() or $oObject->getPrimaryKey().

The documentation for this class was generated from the following file: