Commit aa3bfa5a by Alexander Kochetov

Comments fixes

parent 792d548c
...@@ -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.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment