Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yii2
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
PSDI Army
yii2
Commits
6f985077
Commit
6f985077
authored
Jan 11, 2014
by
Klimov Paul
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Doc comments at "yii\authclient\widgets\Choice" fixed
parent
98f3df5f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
Choice.php
extensions/yii/authclient/widgets/Choice.php
+6
-3
No files found.
extensions/yii/authclient/widgets/Choice.php
View file @
6f985077
...
...
@@ -26,12 +26,15 @@ use yii\authclient\ClientInterface;
* ]); ?>
* ~~~
*
* You can customize the widget appearance by using [[begin
Widget()]] and [[endWidget
()]] syntax
* You can customize the widget appearance by using [[begin
()]] and [[end
()]] syntax
* along with using method {@link clientLink()} or {@link createClientUrl()}.
* For example:
*
* ~~~php
* <?php $authChoice = yii\authclient\widgets\Choice::beginWidget([
* <?php
* use yii\authclient\widgets\Choice;
* ?>
* <?php $authChoice = Choice::begin([
* 'baseAuthUrl' => ['site/auth']
* ]); ?>
* <ul>
...
...
@@ -39,7 +42,7 @@ use yii\authclient\ClientInterface;
* <li><?= $authChoice->clientLink($client); ?></li>
* <?php endforeach; ?>
* </ul>
* <?php
yii\authclient\widgets\Choice::endWidget
(); ?>
* <?php
Choice::end
(); ?>
* ~~~
*
* This widget supports following keys for [[ClientInterface::getViewOptions()]] result:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment