PHP Class WellCommerce\Bundle\NewsBundle\Entity\News

Author: Adam Piotrowski ([email protected])
Inheritance: implements WellCommerce\Bundle\NewsBundle\Entity\NewsInterface, use trait Knp\DoctrineBehaviors\Model\Translatable\Translatable, use trait Knp\DoctrineBehaviors\Model\Timestampable\Timestampable, use trait Knp\DoctrineBehaviors\Model\Blameable\Blameable, use trait WellCommerce\Bundle\AppBundle\Doctrine\ORM\Behaviours\PhotoTrait
Datei anzeigen Open project: wellcommerce/wellcommerce Class Usage Examples

Protected Properties

Property Type Description
$endDate DateTime
$featured boolean
$publish boolean
$startDate DateTime

Public Methods

Method Description
getEndDate ( ) : DateTime
getFeatured ( ) : boolean
getPublish ( ) : boolean
getStartDate ( ) : DateTime
setEndDate ( DateTime $endDate )
setFeatured ( $featured )
setPublish ( boolean $publish )
setStartDate ( DateTime $startDate )

Method Details

getEndDate() public method

public getEndDate ( ) : DateTime
return DateTime

getFeatured() public method

public getFeatured ( ) : boolean
return boolean

getPublish() public method

public getPublish ( ) : boolean
return boolean

getStartDate() public method

public getStartDate ( ) : DateTime
return DateTime

setEndDate() public method

public setEndDate ( DateTime $endDate )
$endDate DateTime

setFeatured() public method

public setFeatured ( $featured )

setPublish() public method

public setPublish ( boolean $publish )
$publish boolean

setStartDate() public method

public setStartDate ( DateTime $startDate )
$startDate DateTime

Property Details

$endDate protected_oe property

protected DateTime $endDate
return DateTime

$publish protected_oe property

protected bool $publish
return boolean

$startDate protected_oe property

protected DateTime $startDate
return DateTime