public function findByPageUid($pageUids, $sorting = '', $limit = '')
    {
        if (($pageUids === '') || ($pageUids === '0') || ($pageUids === 0)) {
            return $this->findByWhereClause('', $sorting, $limit);
        }

        return $this->findByWhereClause($this->getTableName() . '.pid IN (' . $pageUids . ')', $sorting, $limit);
    }
public function findByPageUid($pageUids, $sorting = '', $limit = '')
    {
        if (($pageUids === '') || ($pageUids === '0') || ($pageUids === 0)) {
            return $this->findByWhereClause('', $sorting, $limit);
        }

        return $this->findByWhereClause($this->getTableName() . '.pid IN (' . $pageUids . ')', $sorting, $limit);
    }
public function findByPageUid ( $ pageUids , $ sorting = '' , $ limit = '' ) { if ( ( $ pageUids === '' ) || ( $ pageUids === '0' ) || ( $ pageUids === 0 ) ) { return $ this -> findByWhereClause ( '' , $ sorting , $ limit ) ; } return $ this -> findByWhereClause ( $ this -> getTableName ( ) . '.pid IN (' . $ pageUids . ')' , $ sorting , $ limit ) ; }
Finds all records which are located on the given pages.

@param string $pageUids
comma-separated UIDs of the pages on which the records should be
found, may be empty
@param string $sorting
the sorting for the found records, must be a valid DB field
optionally followed by "ASC" or "DESC", may be empty
@param string $limit the LIMIT value ([begin,]max), may be empty

@return \Tx_Oelib_List<\Tx_Oelib_Model> all records with the matching page UIDs, will be
empty if no records have been found
Finds all records which are located on the given pages .