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); }
public function __construct($field, $callback) { parent::__construct($field); $this->callback = $callback; }
public function __construct($field, $displayData) { parent::__construct($field); $this->displayData = $displayData; }
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); }