src/Kunstmaan/NodeBundle/Repository/NodeRepository.php
public function findAllDistinctPageClasses()
    {
        $qb = $this->createQueryBuilder('n')
            ->select('n.refEntityName')
            ->where('n.deleted = 0')
            ->distinct(true);

        return $qb->getQuery()->getArrayResult();
    }
public function findAllDistinctPageClasses()
    {
        $qb = $this->createQueryBuilder('n')
            ->select('n.refEntityName')
            ->where('n.deleted = 0')
            ->distinct(true);

        return $qb->getQuery()->getArrayResult();
    }
public function findAllDistinctPageClasses ( ) { $ qb = $ this -> createQueryBuilder ( 'n' ) -> select ( 'n.refEntityName' ) -> where ( 'n.deleted = 0' ) -> distinct ( true ) ; return $ qb -> getQuery ( ) -> getArrayResult ( ) ; }
Finds all different page classes currently registered as nodes

@return string[]
Finds all different page classes currently registered as nodes