PHP Class Newscoop\Entity\UserAttribute

Datei anzeigen Open project: sourcefabric/newscoop Class Usage Examples

Protected Properties

Property Type Description
$attribute string
$user Newscoop\Entity\User
$value string

Public Methods

Method Description
__construct ( string $name, string $value, User $user )
getName ( ) : string Get attribute name
getValue ( ) : string Get attribute value
setValue ( mixed $value ) : Newscoop\Entity\UserAttribute Set attribute value

Method Details

__construct() public method

public __construct ( string $name, string $value, User $user )
$name string
$value string
$user User

getName() public method

Get attribute name
public getName ( ) : string
return string

getValue() public method

Get attribute value
public getValue ( ) : string
return string

setValue() public method

Set attribute value
public setValue ( mixed $value ) : Newscoop\Entity\UserAttribute
$value mixed
return Newscoop\Entity\UserAttribute

Property Details

$attribute protected_oe property

protected string $attribute
return string

$user protected_oe property

protected Newscoop\Entity\User $user
return Newscoop\Entity\User

$value protected_oe property

protected string $value
return string