From 0765f1e5839b735f73d4e436d7a78809acfdd333 Mon Sep 17 00:00:00 2001 From: Klimov Paul Date: Wed, 1 Jan 2014 23:08:34 +0200 Subject: [PATCH] Doc comments at "yii\authclient\widgets\Choice" extended. --- extensions/yii/authclient/widgets/Choice.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/extensions/yii/authclient/widgets/Choice.php b/extensions/yii/authclient/widgets/Choice.php index 1bcdd95..75e65c3 100644 --- a/extensions/yii/authclient/widgets/Choice.php +++ b/extensions/yii/authclient/widgets/Choice.php @@ -14,6 +14,7 @@ use yii\authclient\ClientInterface; /** * Choice prints buttons for authentication via various auth clients. + * It opens a popup window for the client authentication process. * By default this widget relies on presence of [[\yii\authclient\Collection]] among application components * to get auth clients information. * @@ -41,6 +42,10 @@ use yii\authclient\ClientInterface; * * ~~~ * + * This widget supports following keys for [[ClientInterface::getViewOptions()]] result: + * - popupWidth - integer width of the popup window in pixels. + * - popupHeight - integer height of the popup window in pixels. + * * @see \yii\authclient\AuthAction * * @property array $baseAuthUrl Base auth URL configuration. This property is read-only.