class Action (View source)

Properties

$upaID
$upaHandle
$upaName
$upaDefaultPoints
$gBadgeID

Methods

load($upaID)

No description

delete()

No description

static UserPointAction
getByID($upaID)

No description

static 
getClass($row)

No description

static array
getListByPackage(Package $pkg)

No description

static UserPointAction
getByHandle($upaHandle)

No description

static 
add($upaHandle, $upaName, $upaDefaultPoints, $group, $upaIsActive = true, $pkg = false)

No description

bool
setDataFromArray(array $data)

No description

getAttributeNames()

No description

bool
hasCustomClass()

No description

getPackageHandle()

No description

getPackageID()

No description

string
getUserPointActionHandle()

No description

string
getUserPointActionName()

No description

int
getUserPointActionID()

No description

int
int
isUserPointActionActive()

No description

Group
addEntry($user, ActionDescription $descr, $points = false, $date = null)

No description

save()

No description

Details

load($upaID)

No description

Parameters

$upaID

delete()

No description

static UserPointAction getByID($upaID)

No description

Parameters

$upaID

Return Value

UserPointAction

static protected getClass($row)

No description

Parameters

$row

static array getListByPackage(Package $pkg)

No description

Parameters

Package $pkg

Return Value

array

static UserPointAction getByHandle($upaHandle)

No description

Parameters

$upaHandle

Return Value

UserPointAction

static add($upaHandle, $upaName, $upaDefaultPoints, $group, $upaIsActive = true, $pkg = false)

No description

Parameters

$upaHandle
$upaName
$upaDefaultPoints
$group
$upaIsActive
$pkg

protected bool setDataFromArray(array $data)

No description

Parameters

array $data

Return Value

bool

getAttributeNames()

No description

bool hasCustomClass()

No description

Return Value

bool

getPackageHandle()

No description

getPackageID()

No description

string getUserPointActionHandle()

No description

Return Value

string

string getUserPointActionName()

No description

Return Value

string

int getUserPointActionID()

No description

Return Value

int

int getUserPointActionDefaultPoints()

No description

Return Value

int

int getUserPointActionBadgeGroupID()

No description

Return Value

int

isUserPointActionActive()

No description

Group getUserPointActionBadgeGroupObject()

No description

Return Value

Group

addEntry($user, ActionDescription $descr, $points = false, $date = null)

No description

Parameters

$user
ActionDescription $descr
$points
$date

save()

No description