class WonBadgeAction extends Action (View source)

Properties

$upaID from Action
$upaHandle from Action
$upaName from Action
$upaDefaultPoints from Action
$gBadgeID from Action

Methods

load($upaID)

No description

from Action
delete()

No description

from Action
static UserPointAction
getByID($upaID)

No description

from Action
static 
getClass($row)

No description

from Action
static array
getListByPackage(Package $pkg)

No description

from Action
static UserPointAction
getByHandle($upaHandle)

No description

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

No description

from Action
bool
setDataFromArray(array $data)

No description

from Action
getAttributeNames()

No description

from Action
bool
hasCustomClass()

No description

from Action
getPackageHandle()

No description

from Action
getPackageID()

No description

from Action
string
getUserPointActionHandle()

No description

from Action
string
getUserPointActionName()

No description

from Action
int
getUserPointActionID()

No description

from Action
int
from Action
int
from Action
isUserPointActionActive()

No description

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

No description

from Action
save()

No description

from Action
addDetailedEntry($user, $group)

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()

addDetailedEntry($user, $group)

Parameters

$user
$group