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
Afficher le fichier Open project: wellcommerce/wellcommerce Class Usage Examples

Protected Properties

Свойство Type Description
$endDate DateTime
$featured boolean
$publish boolean
$startDate DateTime

Méthodes publiques

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

Method Details

getEndDate() public méthode

public getEndDate ( ) : DateTime
Résultat DateTime

getFeatured() public méthode

public getFeatured ( ) : boolean
Résultat boolean

getPublish() public méthode

public getPublish ( ) : boolean
Résultat boolean

getStartDate() public méthode

public getStartDate ( ) : DateTime
Résultat DateTime

setEndDate() public méthode

public setEndDate ( DateTime $endDate )
$endDate DateTime

setFeatured() public méthode

public setFeatured ( $featured )

setPublish() public méthode

public setPublish ( boolean $publish )
$publish boolean

setStartDate() public méthode

public setStartDate ( DateTime $startDate )
$startDate DateTime

Property Details

$endDate protected_oe property

protected DateTime $endDate
Résultat DateTime

$publish protected_oe property

protected bool $publish
Résultat boolean

$startDate protected_oe property

protected DateTime $startDate
Résultat DateTime