public function init() { parent::init(); $url = Url::to($this->url); $this->options['data-url'] = $url; }