Exemplo n.º 1
0
 public function __construct(Slim $app, iTranslate $translator, $masterTemplate = null)
 {
     parent::__construct($masterTemplate);
     $this->app = $app;
     $this->translator = $translator;
     $chars = get_html_translation_table(HTML_ENTITIES);
     $remove = get_html_translation_table(HTML_SPECIALCHARS);
     unset($remove['&']);
     $this->chars = array_diff($chars, $remove);
 }
Exemplo n.º 2
0
 public function __construct($field, $callback)
 {
     parent::__construct($field);
     $this->callback = $callback;
 }
Exemplo n.º 3
0
 public function __construct($field, $displayData)
 {
     parent::__construct($field);
     $this->displayData = $displayData;
 }
Exemplo n.º 4
0
 public function __construct($app, $masterTemplate = 'template.php', IPosts $posts)
 {
     parent::__construct($app, $masterTemplate);
     $this->posts = $posts;
 }
 function __construct($requested_type = FALSE)
 {
     parent::__construct(array(), $requested_type);
 }