public function findAllMountPagesByWhereClause(string $whereClause) : array
    {
        $queryBuilder = $this->getQueryBuilder();
        $queryBuilder->getRestrictions()->removeAll();
        $queryBuilder
            ->select(
                'uid',
                'mount_pid AS mountPageSource',
                'uid AS mountPageDestination',
                'mount_pid_ol AS mountPageOverlayed')
            ->from($this->table)
            ->add('where', $whereClause);

        $this->addDefaultLanguageUidConstraint($queryBuilder);

        return $queryBuilder->execute()->fetchAll();
    }
public function findAllMountPagesByWhereClause(string $whereClause) : array
    {
        $queryBuilder = $this->getQueryBuilder();
        $queryBuilder->getRestrictions()->removeAll();
        $queryBuilder
            ->select(
                'uid',
                'mount_pid AS mountPageSource',
                'uid AS mountPageDestination',
                'mount_pid_ol AS mountPageOverlayed')
            ->from($this->table)
            ->add('where', $whereClause);

        $this->addDefaultLanguageUidConstraint($queryBuilder);

        return $queryBuilder->execute()->fetchAll();
    }
public function findAllMountPagesByWhereClause ( string $ whereClause ) : array { $ queryBuilder = $ this -> getQueryBuilder ( ) ; $ queryBuilder -> getRestrictions ( ) -> removeAll ( ) ; $ queryBuilder -> select ( 'uid' , 'mount_pid AS mountPageSource' , 'uid AS mountPageDestination' , 'mount_pid_ol AS mountPageOverlayed' ) -> from ( $ this -> table ) -> add ( 'where' , $ whereClause ) ; $ this -> addDefaultLanguageUidConstraint ( $ queryBuilder ) ; return $ queryBuilder -> execute ( ) -> fetchAll ( ) ; }
Finds all pages by given where clause

@param string $whereClause
@return array
Finds all pages by given where clause