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
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Rotua Panjaitan
yii2
Commits
aa3bfa5a
Commit
aa3bfa5a
authored
May 23, 2013
by
Alexander Kochetov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Comments fixes
parent
792d548c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
Accordion.php
framework/yii/jui/Accordion.php
+8
-8
No files found.
framework/yii/jui/Accordion.php
View file @
aa3bfa5a
...
@@ -38,17 +38,17 @@ use yii\helpers\Html;
...
@@ -38,17 +38,17 @@ use yii\helpers\Html;
class
Accordion
extends
Widget
class
Accordion
extends
Widget
{
{
/**
/**
* @var array list of
groups in the collapse
widget. Each array element represents a single
* @var array list of
sections in the accordion
widget. Each array element represents a single
*
group
with the following structure:
*
section
with the following structure:
*
*
* ```php
* ```php
* // item key is the actual
group
header
* // item key is the actual
section
header
* 'Section' => array(
* 'Section' => array(
* // required, the content (HTML) of the
group
* // required, the content (HTML) of the
section
* 'content' => 'Mauris mauris ante, blandit et, ultrices a, suscipit eget...',
* 'content' => 'Mauris mauris ante, blandit et, ultrices a, suscipit eget...',
* // optional the HTML attributes of the content
group
* // optional the HTML attributes of the content
section
* 'contentOptions'=> array(...),
* 'contentOptions'=> array(...),
* // optional the HTML attributes of the header
group
* // optional the HTML attributes of the header
section
* 'headerOptions'=> array(...),
* 'headerOptions'=> array(...),
* )
* )
* ```
* ```
...
@@ -82,8 +82,8 @@ class Accordion extends Widget
...
@@ -82,8 +82,8 @@ class Accordion extends Widget
}
}
/**
/**
* Renders a single collapsible item
group
.
* Renders a single collapsible item
section
.
* @param string $header a label of the item
group
[[items]].
* @param string $header a label of the item
section
[[items]].
* @param array $item a single item from [[items]].
* @param array $item a single item from [[items]].
* @return string the rendering result.
* @return string the rendering result.
* @throws InvalidConfigException.
* @throws InvalidConfigException.
...
...
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