PHP 클래스 WellCommerce\Bundle\CategoryBundle\Entity\Category

저자: Adam Piotrowski ([email protected])
상속: 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
파일 보기 프로젝트 열기: wellcommerce/wellcommerce 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$children Doctrine\Common\Collections\Collection
$parent null | WellCommerce\Bundle\CategoryBundle\Entity\CategoryInterface
$products Doctrine\Common\Collections\Collection

공개 메소드들

메소드 설명
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 )

메소드 상세

addChild() 공개 메소드

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

addProduct() 공개 메소드

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

getChildren() 공개 메소드

public getChildren ( )

getParent() 공개 메소드

public getParent ( )

getProducts() 공개 메소드

public getProducts ( )

setChildren() 공개 메소드

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

setParent() 공개 메소드

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

setProducts() 공개 메소드

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

프로퍼티 상세

$children 보호되어 있는 프로퍼티

protected Collection,Doctrine\Common\Collections $children
리턴 Doctrine\Common\Collections\Collection

$parent 보호되어 있는 프로퍼티

protected null|CategoryInterface,WellCommerce\Bundle\CategoryBundle\Entity $parent
리턴 null | WellCommerce\Bundle\CategoryBundle\Entity\CategoryInterface

$products 보호되어 있는 프로퍼티

protected Collection,Doctrine\Common\Collections $products
리턴 Doctrine\Common\Collections\Collection