IP.Board  3.3.0
classes_like_registry Class Reference

Quick registry class for common methods. More...

Static Public Member Functions

static getApp ()
static getArea ()
static getKey ($relId, $memberId=null)
static getTotalCount ()
static setApp ($app)
static setArea ($area)
static setTotalCount ($count)

Static Protected Attributes

static $app = null
static $area = null
static $bootstraps = array()
static $count = null

Detailed Description

Quick registry class for common methods.

Author:
Matt

Member Function Documentation

static getApp ( ) [static]

Get application key

Returns:
string
static getArea ( ) [static]

Get area key

Returns:
string
static getKey ( relId,
memberId = null 
) [static]

Build key, either for cache table or full table

Parameters:
integer$relIdRelationship ID
integer$memberIdMember ID
Returns:
binary Binary key
static getTotalCount ( ) [static]

Get total count (saves on queries)

Returns:
integer
static setApp ( app) [static]

Set application key

Parameters:
string$appApplication key
Returns:
void
static setArea ( area) [static]

Set area key

Parameters:
string$areaArea key
Returns:
void
static setTotalCount ( count) [static]

Set total count (saves on queries)

Parameters:
integer$countLikes count
Returns:
void

Field Documentation

$app = null [static, protected]

App key

$area = null [static, protected]

Area key

$bootstraps = array() [static, protected]

Cached bootstrap loaders

$count = null [static, protected]

Total count


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