public function countByWhereClause($whereClause = '')
    {
        $completeWhereClause = ($whereClause === '')
            ? ''
            : $whereClause . ' AND ';

        return \Tx_Oelib_Db::count($this->getTableName(), $completeWhereClause . $this->getUniversalWhereClause());
    }
public function countByWhereClause($whereClause = '')
    {
        $completeWhereClause = ($whereClause === '')
            ? ''
            : $whereClause . ' AND ';

        return \Tx_Oelib_Db::count($this->getTableName(), $completeWhereClause . $this->getUniversalWhereClause());
    }
public function countByWhereClause ( $ whereClause = '' ) { $ completeWhereClause = ( $ whereClause === '' ) ? '' : $ whereClause . ' AND ' ; return \ Tx_Oelib_Db :: count ( $ this -> getTableName ( ) , $ completeWhereClause . $ this -> getUniversalWhereClause ( ) ) ; }
Returns the number of records matching the given WHERE clause.

@param string $whereClause
WHERE clause for the number of records to retrieve, must be quoted
and SQL safe, may be empty

@return int the number of records matching the given WHERE clause
Returns the number of records matching the given WHERE clause .