core_controller

Description

Contrôleur de base pour les modules

Synopsis de la classe

core_controller {

  /* Propriétés */
  private string $action = ''
  private string $controller = ''
  private array $filters = array()
  protected string $name = ''
  private array $options = array()
  private array $pages = array()
  private array $sets = array('view'=>'', 'layout'=>'', 'contentType'=>'text/html', 'charset'=>'utf-8')
  private Request_Helper $request = null
  private array $rights = array()
  private string $zone = ''

  /* Méthodes */
  public void __construct()
  protected void _admin_render()
  protected void _append(string $paramname, mixed $value)
  protected void _appendArray(string $paramname, mixed $value)
  protected mixed _get(string $paramname[, mixed $defaultValue = null])
  public string _get_name()
  protected mixed _get_option(string $functionname, string $paramname[, mixed $defaultValue = null])
  public Request_Helper _getRequest()
  protected void _public_render()
  public void _render()
  protected void _set(string $paramname, mixed $value)
  public void _set_call(string $controller, string $zone, string $action)
  public void _set_nolayout(string $type)
  protected void _set_option(string $functionname, string $paramname, mixed $value)
  public void admin_index([integer $page = 0])
  public void public_index()

}