AbstractConnection
abstract classe AbstractConnection (Voir la source)
Propriétés
| protected string | $name | The connexion name  | 
                |
| protected array | $config | The configuration definition  | 
                |
| protected int | $fetch | The PDO fetch mode  | 
                |
| protected PDO | $pdo | The PDO instance  | 
                
Méthodes
                    void
                
                
                    connection()
        
                                            
                
            Create an instance of the PDO
                    getConnection()
        
                                            
                
            Retrieves the connection
                    string
                
                
                    getName()
        
                                            
                
            Returns the name of the connection
                    setFetchMode(int $fetch)
        
                                            
                
            Sets the data recovery mode.
                    array
                
                
                    getConfig()
        
                                            
                
            Retrieves the configuration
                    mixed|string
                
                
                    getTablePrefix()
        
                                            
                
            Retrieves the table prefix
                    mixed|string
                
                
                    getCharset()
        
                                            
                
            Retrieves the type of encoding
                    mixed|string
                
                
                    getCollation()
        
                                            
                
            Retrieves the define Collation
Détails
        
            abstract                void
    connection()
        
    
    Create an instance of the PDO
        
                            PDO
    getConnection()
        
    
    Retrieves the connection
        
                            
    setConnection(PDO $pdo)
        
    
    Set the connection
        
                            string
    getName()
        
    
    Returns the name of the connection
        
                            
    setFetchMode(int $fetch)
        
    
    Sets the data recovery mode.
        
                            array
    getConfig()
        
    
    Retrieves the configuration
        
                            mixed|string
    getTablePrefix()
        
    
    Retrieves the table prefix
        
                            mixed|string
    getCharset()
        
    
    Retrieves the type of encoding
        
                            mixed|string
    getCollation()
        
    
    Retrieves the define Collation