PHP Class Newscoop\Entity\UserPoints

Datei anzeigen Open project: sourcefabric/newscoop Class Usage Examples

Protected Properties

Property Type Description
$action
$id
$name
$points

Public Methods

Method 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 method

Get action
public getAction ( ) : string
return string

getName() public method

Get human readable action name
public getName ( ) : string
return string

getPoints() public method

Get point value of action
public getPoints ( ) : integer
return integer

setAction() public method

Set action
public setAction ( integer $action ) : Newscoop\Entity\UserPoints
$action integer
return Newscoop\Entity\UserPoints

setPoints() public method

Set point value
public setPoints ( integer $points ) : Newscoop\Entity\UserPoints
$points integer
return 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