PHP Class Newscoop\Entity\UserPoints

Afficher le fichier Open project: sourcefabric/newscoop Class Usage Examples

Protected Properties

Свойство Type Description
$action
$id
$name
$points

Méthodes publiques

Méthode Description
getAction ( ) : string Get action
getName ( ) : string Get human readable action name
getPoints ( ) : integer Get point value of action
setAction ( integer $action ) : Newscoop\Entity\UserPoints Set action
setPoints ( integer $points ) : Newscoop\Entity\UserPoints Set point value

Method Details

getAction() public méthode

Get action
public getAction ( ) : string
Résultat string

getName() public méthode

Get human readable action name
public getName ( ) : string
Résultat string

getPoints() public méthode

Get point value of action
public getPoints ( ) : integer
Résultat integer

setAction() public méthode

Set action
public setAction ( integer $action ) : Newscoop\Entity\UserPoints
$action integer
Résultat Newscoop\Entity\UserPoints

setPoints() public méthode

Set point value
public setPoints ( integer $points ) : Newscoop\Entity\UserPoints
$points integer
Résultat Newscoop\Entity\UserPoints

Property Details

$action protected_oe property

protected $action

$id protected_oe property

protected $id

$name protected_oe property

protected $name

$points protected_oe property

protected $points