View
classe View implémente ResponseInterface (Voir la source)
Méthodes
                    void
                
                
                    __construct(array $config)
        
                                            
                
            View constructor.
                    static void
                
                
                    configure(array $config)
        
                                            
                
            Load view configuration
                    static View
                
                
                    getInstance()
        
                                            
                
            Get the view singleton instance
                    getTemplate()
        
                                            
                
            Get the template engine instance
                    void
                
                
                    cachable(bool $cachabled)
        
                                            
                
            Set the availability of caching system
                    setExtension(string $extension)
        
                                            
                
            Pas de description
                    static bool
                
                
                    pushEngine(string $name, string $engine)
        
                                            
                
            Ajouter un moteur de template
                    string
                
                
                    getContent()
        
                                            
                
            Get rendering content
                    void
                
                
                    sendContent()
        
                                            
                
            Send Response
                    bool
                
                
                    fileExists(string $filename)
        
                                            
                
            Check if the define file exists
                    string
                
                
                    __toString()
        
                                            
                
            __toString
                    static mixed
                
                
                    __callStatic(string $name, array $arguments)
        
                                            
                
            __callStatic
                    mixed
                
                
                    __call(string $method, array $arguments)
        
                                            
                
            __call
Détails
        
                            void
    __construct(array $config)
        
    
    View constructor.
        
                static            void
    configure(array $config)
        
    
    Load view configuration
        
                static            View
    getInstance()
        
    
    Get the view singleton instance
        
                static            View
    parse(string $view, array $data = [])
        
    
    Parse the view
        
                            EngineAbstract
    getTemplate()
        
    
    Get the template engine instance
        
                            View
    setEngine(string $engine)
        
    
    Set Engine
        
                            void
    cachable(bool $cachabled)
        
    
    Set the availability of caching system
        
                            View
    setExtension(string $extension)
        
    
    Pas de description
        
                static            bool
    pushEngine(string $name, string $engine)
        
    
    Ajouter un moteur de template
        
                            string
    getContent()
        
    
    Get rendering content
        
                            void
    sendContent()
        
    
    Send Response
        
                            bool
    fileExists(string $filename)
        
    
    Check if the define file exists
        
                            string
    __toString()
        
    
    __toString
        
                static            mixed
    __callStatic(string $name, array $arguments)
        
    
    __callStatic
        
                            mixed
    __call(string $method, array $arguments)
        
    
    __call