protected final function __new__() { parent::__new__(func_num_args() > 0 ? func_get_arg(0) : null); $this->o('Template')->cp($this->vars); $this->request_url = parent::current_url(); $this->request_query = parent::query_string() == null ? null : '?' . parent::query_string(); }