PHP Class Newscoop\NewscoopBundle\Entity\SystemPreferences

Datei anzeigen Open project: sourcefabric/newscoop Class Usage Examples

Protected Properties

Property Type Description
$created_at datetime
$id integer
$option string
$value string

Public Methods

Method Description
__construct ( )
getId ( ) : integer Get id
getOption ( ) : string Gets the value of option.
getValue ( ) : string Get value
setCreatedAt ( DateTime $created_at ) : datetime Set create date
setOption ( string $option ) : string Set option
setValue ( string $value ) : string Set value

Method Details

__construct() public method

public __construct ( )

getId() public method

Get id
public getId ( ) : integer
return integer

getOption() public method

Gets the value of option.
public getOption ( ) : string
return string

getValue() public method

Get value
public getValue ( ) : string
return string

setCreatedAt() public method

Set create date
public setCreatedAt ( DateTime $created_at ) : datetime
$created_at DateTime
return datetime

setOption() public method

Set option
public setOption ( string $option ) : string
$option string
return string

setValue() public method

Set value
public setValue ( string $value ) : string
$value string
return string

Property Details

$created_at protected_oe property

protected datetime $created_at
return datetime

$id protected_oe property

protected int $id
return integer

$option protected_oe property

protected string $option
return string

$value protected_oe property

protected string $value
return string