MvcLite\View

Base View Class

Synopsis

class View extends ObjectAbstract {
  • // constants
  • const DEFAULT_FORMAT = 'html';
  • const ERR_BAD_HELPER_NAME = "Requested view helper [%s] could not be found";
  • const ERR_BAD_FORMAT = "The format given [%s] is not supported";
  • // Inherited methods from ObjectAbstract
  • public final void __get()
  • public final void __set()
  • public final void __call()
  • public void __toString()
  • public string identify()
  • // Inherited methods from Singleton
  • public static Singleton getInstance()
  • // Inherited methods from Filepath
  • public Request filepath()
  • // Inherited methods from Loader
  • public ClassLoader getLoader()
  • public Loader setLoader()
  • // Inherited methods from Request
  • public Request getRequest()
  • // Inherited methods from Session
  • public Session getSession()
  • // Inherited methods from Config
  • public Config getConfig()
}

Hierarchy

Coverage

Methods 0% 0 / 16
Lines 0% /

Constants

Name Value
DEFAULT_FORMAT 'html'
ERR_BAD_HELPER_NAME "Requested view helper [%s] could not be found"
ERR_BAD_FORMAT "The format given [%s] is not supported"
MSG_ERR_IDENTIFY 'Descendents must implement the identify method'

Members

protected

Methods

public

Inherited from MvcLite\ObjectAbstract

public

  • __call() — Overriding the __call magic method
  • __get() — Overriding the __get magic method
  • __set() — Overriding the __set magic method
  • __toString() — returns a string representation of the object
  • identify() — method used to identify the object instance

Inherited from MvcLite\Traits\Singleton

public

Inherited from MvcLite\Traits\Filepath

public

Inherited from MvcLite\Traits\Loader

public

Inherited from MvcLite\Traits\Request

public

Inherited from MvcLite\Traits\Session

public

  • getSession() — Getter for the session instance variable.

Inherited from MvcLite\Traits\Config

public

History