concrete/src/Page/PageList.php
public function filterByPageTypeID($ptID)
    {
        $db = \Database::get();
        if (is_array($ptID)) {
            $this->query->andWhere(
                $this->query->expr()->in('pt.ptID', array_map([$db, 'quote'], $ptID))
            );
        } else {
            $this->query->andWhere($this->query->expr()->comparison('pt.ptID', '=', ':ptID'));
            $this->query->setParameter('ptID', $ptID, \PDO::PARAM_INT);
        }
    }
public function filterByPageTypeID($ptID)
    {
        $db = \Database::get();
        if (is_array($ptID)) {
            $this->query->andWhere(
                $this->query->expr()->in('pt.ptID', array_map([$db, 'quote'], $ptID))
            );
        } else {
            $this->query->andWhere($this->query->expr()->comparison('pt.ptID', '=', ':ptID'));
            $this->query->setParameter('ptID', $ptID, \PDO::PARAM_INT);
        }
    }
public function filterByPageTypeID ( $ ptID ) { $ db = \ Database :: get ( ) ; if ( is_array ( $ ptID ) ) { $ this -> query -> andWhere ( $ this -> query -> expr ( ) -> in ( 'pt.ptID' , array_map ( [ $ db , 'quote' ] , $ ptID ) ) ) ; } else { $ this -> query -> andWhere ( $ this -> query -> expr ( ) -> comparison ( 'pt.ptID' , '=' , ':ptID' ) ) ; $ this -> query -> setParameter ( 'ptID' , $ ptID , \ PDO :: PARAM_INT ) ; } }
Filters by page type ID.

@param array | integer $cParentID
Filters by page type ID .