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)

Parameters

$upaID

delete()

static UserPointAction getByID($upaID)

Parameters

$upaID

Return Value

UserPointAction

static protected getClass($row)

Parameters

$row

static array getListByPackage(Package $pkg)

Parameters

Package $pkg

Return Value

array

static UserPointAction getByHandle($upaHandle)

Parameters

$upaHandle

Return Value

UserPointAction

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

Parameters

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

protected bool setDataFromArray(array $data)

Parameters

array $data

Return Value

bool

getAttributeNames()

bool hasCustomClass()

Return Value

bool

getPackageHandle()

getPackageID()

string getUserPointActionHandle()

Return Value

string

string getUserPointActionName()

Return Value

string

int getUserPointActionID()

Return Value

int

int getUserPointActionDefaultPoints()

Return Value

int

int getUserPointActionBadgeGroupID()

Return Value

int

isUserPointActionActive()

Group getUserPointActionBadgeGroupObject()

Return Value

Group

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

Parameters

$user
ActionDescription $descr
$points
$date

save()