PHP Class WellCommerce\Bundle\PageBundle\Entity\Page

Author: Adam Piotrowski ([email protected])
Inheritance: implements WellCommerce\Bundle\PageBundle\Entity\PageInterface, 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\Entity\HierarchyAwareTrait, use trait WellCommerce\Bundle\ShopBundle\Entity\ShopCollectionAwareTrait
Show file Open project: wellcommerce/wellcommerce Class Usage Examples

Protected Properties

Property Type Description
$children Doctrine\Common\Collections\Collection
$clientGroups Doctrine\Common\Collections\Collection
$parent WellCommerce\Bundle\PageBundle\Entity\PageInterface | null
$publish boolean
$redirectRoute string
$redirectType integer
$redirectUrl string
$section string

Public Methods

Method Description
addChild ( WellCommerce\Bundle\PageBundle\Entity\PageInterface $child )
getChildren ( ) : Doctrine\Common\Collections\Collection
getClientGroups ( ) : Doctrine\Common\Collections\Collection
getParent ( )
getPublish ( ) : boolean
getRedirectRoute ( )
getRedirectType ( )
getRedirectUrl ( )
getSection ( ) : string
prePersist ( )
setClientGroups ( Doctrine\Common\Collections\Collection $clientGroups )
setParent ( WellCommerce\Bundle\PageBundle\Entity\PageInterface $parent = null )
setPublish ( boolean $publish )
setRedirectRoute ( $redirectRoute )
setRedirectType ( $redirectType )
setRedirectUrl ( $redirectUrl )
setSection ( string $section )

Method Details

addChild() public method

public addChild ( WellCommerce\Bundle\PageBundle\Entity\PageInterface $child )
$child WellCommerce\Bundle\PageBundle\Entity\PageInterface

getChildren() public method

public getChildren ( ) : Doctrine\Common\Collections\Collection
return Doctrine\Common\Collections\Collection

getClientGroups() public method

public getClientGroups ( ) : Doctrine\Common\Collections\Collection
return Doctrine\Common\Collections\Collection

getParent() public method

public getParent ( )

getPublish() public method

public getPublish ( ) : boolean
return boolean

getRedirectRoute() public method

public getRedirectRoute ( )

getRedirectType() public method

public getRedirectType ( )

getRedirectUrl() public method

public getRedirectUrl ( )

getSection() public method

public getSection ( ) : string
return string

prePersist() public method

public prePersist ( )

setClientGroups() public method

public setClientGroups ( Doctrine\Common\Collections\Collection $clientGroups )
$clientGroups Doctrine\Common\Collections\Collection

setParent() public method

public setParent ( WellCommerce\Bundle\PageBundle\Entity\PageInterface $parent = null )
$parent WellCommerce\Bundle\PageBundle\Entity\PageInterface

setPublish() public method

public setPublish ( boolean $publish )
$publish boolean

setRedirectRoute() public method

public setRedirectRoute ( $redirectRoute )

setRedirectType() public method

public setRedirectType ( $redirectType )

setRedirectUrl() public method

public setRedirectUrl ( $redirectUrl )

setSection() public method

public setSection ( string $section )
$section string

Property Details

$children protected property

protected Collection,Doctrine\Common\Collections $children
return Doctrine\Common\Collections\Collection

$clientGroups protected property

protected Collection,Doctrine\Common\Collections $clientGroups
return Doctrine\Common\Collections\Collection

$parent protected property

protected PageInterface,WellCommerce\Bundle\PageBundle\Entity|null $parent
return WellCommerce\Bundle\PageBundle\Entity\PageInterface | null

$publish protected property

protected bool $publish
return boolean

$redirectRoute protected property

protected string $redirectRoute
return string

$redirectType protected property

protected int $redirectType
return integer

$redirectUrl protected property

protected string $redirectUrl
return string

$section protected property

protected string $section
return string