concrete/src/Page/PageList.php
public function filterByName($name, $exact = false)
    {
        if ($exact) {
            $this->query->andWhere('cv.cvName = :cvName');
            $this->query->setParameter('cvName', $name);
        } else {
            $this->query->andWhere(
                $this->query->expr()->like('cv.cvName', ':cvName')
            );
            $this->query->setParameter('cvName', '%' . $name . '%');
        }
    }
public function filterByName($name, $exact = false)
    {
        if ($exact) {
            $this->query->andWhere('cv.cvName = :cvName');
            $this->query->setParameter('cvName', $name);
        } else {
            $this->query->andWhere(
                $this->query->expr()->like('cv.cvName', ':cvName')
            );
            $this->query->setParameter('cvName', '%' . $name . '%');
        }
    }
public function filterByName ( $ name , $ exact = false ) { if ( $ exact ) { $ this -> query -> andWhere ( 'cv.cvName = :cvName' ) ; $ this -> query -> setParameter ( 'cvName' , $ name ) ; } else { $ this -> query -> andWhere ( $ this -> query -> expr ( ) -> like ( 'cv.cvName' , ':cvName' ) ) ; $ this -> query -> setParameter ( 'cvName' , '%' . $ name . '%' ) ; } }
Filters a list by page name.

@param $name
@param bool $exact
Filters a list by page name .