$assetBundle])->register($this); // Open the authorization dilalog in popup window. if ($popup) { $options = []; foreach ($services as $name => $service) { $options[$service->id] = $service->jsArguments; } $this->registerJs('$("#' . $id . '").eauth(' . json_encode($options) . ');'); } ?>