MySqlResult
    
            
            in package
            
        
    
            
            implements
                            Iterator                    
    
    
la classe MySqlResult permet d'utiliser le résultat d'une requête comme un itérateur
Tags
Table of Contents
Interfaces
- Iterator
Constants
- ErrorRewind = 'MySqlResult::ErrorRewind'
Properties
- $ctuple : array<string, string>|null
- $firstDone : bool
- $result : mysqli_result|null
Methods
- __construct() : mixed
- current() : array<string, string>
- key() : int
- next() : void
- rewind() : void
- valid() : bool
Constants
ErrorRewind
    public
        mixed
    ErrorRewind
    = 'MySqlResult::ErrorRewind'
    
    
    
Properties
$ctuple
    protected
        array<string, string>|null
    $ctuple
     = \null
    
    
    
$firstDone
    protected
        bool
    $firstDone
     = \false
    
    
    
$result
    protected
        mysqli_result|null
    $result
     = \null
    
    
    
Methods
__construct()
    public
                    __construct(mysqli_result $result) : mixed
    Parameters
- $result : mysqli_result
current()
    public
                    current() : array<string, string>
    Return values
array<string, string>key()
    public
                    key() : int
    Return values
intnext()
    public
                    next() : void
    rewind()
    public
                    rewind() : void
    valid()
    public
                    valid() : bool