PHP Class WellCommerce\Bundle\CategoryBundle\Entity\Category

Author: Adam Piotrowski ([email protected])
Inheritance: implements WellCommerce\Bundle\CategoryBundle\Entity\CategoryInterface, 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\EnableableTrait, use trait WellCommerce\Bundle\ShopBundle\Entity\ShopCollectionAwareTrait, use trait WellCommerce\Bundle\AppBundle\Entity\HierarchyAwareTrait
Afficher le fichier Open project: wellcommerce/wellcommerce Class Usage Examples

Protected Properties

Свойство Type Description
$children Doctrine\Common\Collections\Collection
$parent null | WellCommerce\Bundle\CategoryBundle\Entity\CategoryInterface
$products Doctrine\Common\Collections\Collection

Méthodes publiques

Méthode Description
addChild ( WellCommerce\Bundle\CategoryBundle\Entity\CategoryInterface $child )
addProduct ( WellCommerce\Bundle\ProductBundle\Entity\ProductInterface $product )
getChildren ( )
getParent ( )
getProducts ( )
setChildren ( Doctrine\Common\Collections\Collection $children )
setParent ( WellCommerce\Bundle\CategoryBundle\Entity\CategoryInterface $parent = null )
setProducts ( Doctrine\Common\Collections\Collection $products )

Method Details

addChild() public méthode

public addChild ( WellCommerce\Bundle\CategoryBundle\Entity\CategoryInterface $child )
$child WellCommerce\Bundle\CategoryBundle\Entity\CategoryInterface

addProduct() public méthode

public addProduct ( WellCommerce\Bundle\ProductBundle\Entity\ProductInterface $product )
$product WellCommerce\Bundle\ProductBundle\Entity\ProductInterface

getChildren() public méthode

public getChildren ( )

getParent() public méthode

public getParent ( )

getProducts() public méthode

public getProducts ( )

setChildren() public méthode

public setChildren ( Doctrine\Common\Collections\Collection $children )
$children Doctrine\Common\Collections\Collection

setParent() public méthode

public setParent ( WellCommerce\Bundle\CategoryBundle\Entity\CategoryInterface $parent = null )
$parent WellCommerce\Bundle\CategoryBundle\Entity\CategoryInterface

setProducts() public méthode

public setProducts ( Doctrine\Common\Collections\Collection $products )
$products Doctrine\Common\Collections\Collection

Property Details

$children protected_oe property

protected Collection,Doctrine\Common\Collections $children
Résultat Doctrine\Common\Collections\Collection

$parent protected_oe property

protected null|CategoryInterface,WellCommerce\Bundle\CategoryBundle\Entity $parent
Résultat null | WellCommerce\Bundle\CategoryBundle\Entity\CategoryInterface

$products protected_oe property

protected Collection,Doctrine\Common\Collections $products
Résultat Doctrine\Common\Collections\Collection