PHP 클래스 PartKeepr\CategoryBundle\Services\CategoryService

파일 보기 프로젝트 열기: partkeepr/PartKeepr 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( EntityManager $entityManager, $entityClass )
ensureRootNodeExists ( ) Creates the root node for a tree if it doesn't exist.
getEntityClass ( )
getRootNode ( ) : AbstractCategory Returns the root node for a tree.

메소드 상세

__construct() 공개 메소드

public __construct ( EntityManager $entityManager, $entityClass )
$entityManager Doctrine\ORM\EntityManager

ensureRootNodeExists() 공개 메소드

Creates the root node for a tree if it doesn't exist.

getEntityClass() 공개 메소드

public getEntityClass ( )

getRootNode() 공개 메소드

Returns the root node for a tree.
public getRootNode ( ) : AbstractCategory
리턴 PartKeepr\CategoryBundle\Entity\AbstractCategory