public function countByPageUid($pageUids)
    {
        if (($pageUids === '') || ($pageUids === '0')) {
            return $this->countByWhereClause('');
        }

        return $this->countByWhereClause($this->getTableName() . '.pid IN (' . $pageUids . ')');
    }
public function countByPageUid($pageUids)
    {
        if (($pageUids === '') || ($pageUids === '0')) {
            return $this->countByWhereClause('');
        }

        return $this->countByWhereClause($this->getTableName() . '.pid IN (' . $pageUids . ')');
    }
public function countByPageUid ( $ pageUids ) { if ( ( $ pageUids === '' ) || ( $ pageUids === '0' ) ) { return $ this -> countByWhereClause ( '' ) ; } return $ this -> countByWhereClause ( $ this -> getTableName ( ) . '.pid IN (' . $ pageUids . ')' ) ; }
Returns the number of records located on the given pages.

@param string $pageUids
comma-separated UIDs of the pages on which the records should be
found, may be empty

@return int the number of records located on the given pages
Returns the number of records located on the given pages .