kernel/classes/ezrole.php
static function roleCount( $ignoreNew = true )
    {
        $conds = array( 'version' => 0 );
        if ( $ignoreNew === true )
        {
            $conds['is_new'] = 0;
        }
        return eZPersistentObject::count( eZRole::definition(), $conds );
    }
static function roleCount( $ignoreNew = true )
    {
        $conds = array( 'version' => 0 );
        if ( $ignoreNew === true )
        {
            $conds['is_new'] = 0;
        }
        return eZPersistentObject::count( eZRole::definition(), $conds );
    }
static function roleCount ( $ ignoreNew = true ) { $ conds = array ( 'version' => 0 ) ; if ( $ ignoreNew === true ) { $ conds [ 'is_new' ] = 0 ; } return eZPersistentObject :: count ( eZRole :: definition ( ) , $ conds ) ; }
Fetches the count of created roles

@static
@param boolean $ignoreNew Wether to ignore draft roles

@return int
Fetches the count of created roles