Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Y
yii2bootstrap
Project
Project
Details
Activity
Releases
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
夏彬
yii2bootstrap
Commits
dbb0ed70
Commit
dbb0ed70
authored
May 19, 2015
by
Klimov Paul
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Doc comments updated
parent
5f1b8ab7
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
+6
-0
ActiveField.php
ActiveField.php
+1
-0
Nav.php
Nav.php
+5
-0
No files found.
ActiveField.php
View file @
dbb0ed70
...
@@ -297,6 +297,7 @@ class ActiveField extends \yii\widgets\ActiveField
...
@@ -297,6 +297,7 @@ class ActiveField extends \yii\widgets\ActiveField
* - encode: boolean, whether value should be HTML-encoded or not.
* - encode: boolean, whether value should be HTML-encoded or not.
*
*
* @return $this the field object itself
* @return $this the field object itself
* @since 2.0.5
*/
*/
public
function
staticControl
(
$options
=
[])
public
function
staticControl
(
$options
=
[])
{
{
...
...
Nav.php
View file @
dbb0ed70
...
@@ -33,6 +33,11 @@ use yii\helpers\ArrayHelper;
...
@@ -33,6 +33,11 @@ use yii\helpers\ArrayHelper;
* ['label' => 'Level 1 - Dropdown B', 'url' => '#'],
* ['label' => 'Level 1 - Dropdown B', 'url' => '#'],
* ],
* ],
* ],
* ],
* [
* 'label' => 'Login',
* 'url' => ['site/login'],
* 'visible' => Yii::$app->user->isGuest
* ],
* ],
* ],
* 'options' => ['class' =>'nav-pills'], // set this to nav-tab to get tab-styled navigation
* 'options' => ['class' =>'nav-pills'], // set this to nav-tab to get tab-styled navigation
* ]);
* ]);
...
...
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