From c4f409df4a6c14ddecf5b2b12e2912adafb22ee1 Mon Sep 17 00:00:00 2001 From: Dmitryi Date: Tue, 8 Dec 2015 14:13:53 +0200 Subject: [PATCH] + Social model для авторизации юзеров --- common/models/Social.php | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+), 0 deletions(-) create mode 100644 common/models/Social.php diff --git a/common/models/Social.php b/common/models/Social.php new file mode 100644 index 0000000..a9669d2 --- /dev/null +++ b/common/models/Social.php @@ -0,0 +1,48 @@ + 255] + ]; + } + + /** + * @inheritdoc + */ + public function attributeLabels() + { + return [ + 'social_id' => Yii::t('app', 'Social ID'), + 'social_name' => Yii::t('app', 'Social Name'), + 'social_user_id' => Yii::t('app', 'Social User ID'), + 'user_id' => Yii::t('app', 'User ID'), + ]; + } +} -- libgit2 0.21.4