{"action":"created","comment":{"url":"https://api.github.com/repos/yiisoft/yii2/pulls/comments/35760891","id":35760891,"diff_hunk":"@@ -429,16 +429,99 @@ echo Html::getAttributeName('dates[0]');\n \n ## Списки <span id=\"lists\"></span>\n \n-Неупорядоченные списки могут быть сформированы следующим образом:\n+С помощью хелперов `Html::ul()` и `Html::ol()` из массива можно сформировать маркированные и упорядоченные списоки соответственно.\n+Рассмотрим пример:\n \n ```php\n-<?= Html::ul($posts, ['item' => function($item, $index) {\n-    return Html::tag(\n-        'li',\n-        $this->render('post', ['item' => $item]),\n-        ['class' => 'post']\n-    );\n-}]) ?>\n+    $items = [\n+        '1 item',\n+        '2 item',\n+        [\n+            '2.1 item',\n+            '2.2 item',\n+            [\n+                '2.2.1 item',\n+            ],\n+        ],\n+        '3 item',\n+    ];\n+    \n+    // Массив с опциями\n+    $options = [\n+        'children' => true,     // Включает поддрежку многомерных массивов (по умолчанию выключено)\n+        'encode' => false,      // Отключаем HTMl экранинование (по умолчанию включено)","path":"docs/guide-ru/helper-html.md","position":32,"original_position":32,"commit_id":"a7b3c83e3e00f0c991e9cb6c68b4962a23ddbb1b","original_commit_id":"a7b3c83e3e00f0c991e9cb6c68b4962a23ddbb1b","user":{"login":"samdark","id":47294,"avatar_url":"https://avatars.githubusercontent.com/u/47294?v=3","gravatar_id":"","url":"https://api.github.com/users/samdark","html_url":"https://github.com/samdark","followers_url":"https://api.github.com/users/samdark/followers","following_url":"https://api.github.com/users/samdark/following{/other_user}","gists_url":"https://api.github.com/users/samdark/gists{/gist_id}","starred_url":"https://api.github.com/users/samdark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samdark/subscriptions","organizations_url":"https://api.github.com/users/samdark/orgs","repos_url":"https://api.github.com/users/samdark/repos","events_url":"https://api.github.com/users/samdark/events{/privacy}","received_events_url":"https://api.github.com/users/samdark/received_events","type":"User","site_admin":false},"body":"HTML","created_at":"2015-07-29T13:57:03Z","updated_at":"2015-07-29T13:57:03Z","html_url":"https://github.com/yiisoft/yii2/pull/9244#discussion_r35760891","pull_request_url":"https://api.github.com/repos/yiisoft/yii2/pulls/9244","_links":{"self":{"href":"https://api.github.com/repos/yiisoft/yii2/pulls/comments/35760891"},"html":{"href":"https://github.com/yiisoft/yii2/pull/9244#discussion_r35760891"},"pull_request":{"href":"https://api.github.com/repos/yiisoft/yii2/pulls/9244"}}},"pull_request":{"url":"https://api.github.com/repos/yiisoft/yii2/pulls/9244","id":41065169,"html_url":"https://github.com/yiisoft/yii2/pull/9244","diff_url":"https://github.com/yiisoft/yii2/pull/9244.diff","patch_url":"https://github.com/yiisoft/yii2/pull/9244.patch","issue_url":"https://api.github.com/repos/yiisoft/yii2/issues/9244","number":9244,"state":"open","locked":false,"title":"for the method Html::ul(); added work with multidimensional arrays.","user":{"login":"DEN007","id":592654,"avatar_url":"https://avatars.githubusercontent.com/u/592654?v=3","gravatar_id":"","url":"https://api.github.com/users/DEN007","html_url":"https://github.com/DEN007","followers_url":"https://api.github.com/users/DEN007/followers","following_url":"https://api.github.com/users/DEN007/following{/other_user}","gists_url":"https://api.github.com/users/DEN007/gists{/gist_id}","starred_url":"https://api.github.com/users/DEN007/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DEN007/subscriptions","organizations_url":"https://api.github.com/users/DEN007/orgs","repos_url":"https://api.github.com/users/DEN007/repos","events_url":"https://api.github.com/users/DEN007/events{/privacy}","received_events_url":"https://api.github.com/users/DEN007/received_events","type":"User","site_admin":false},"body":"add: Added documentation in Russian","created_at":"2015-07-28T21:51:32Z","updated_at":"2015-07-29T13:57:03Z","closed_at":null,"merged_at":null,"merge_commit_sha":"cc4e9bd804460d60f286d60ffd6cc3d32804c007","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/yiisoft/yii2/pulls/9244/commits","review_comments_url":"https://api.github.com/repos/yiisoft/yii2/pulls/9244/comments","review_comment_url":"https://api.github.com/repos/yiisoft/yii2/pulls/comments{/number}","comments_url":"https://api.github.com/repos/yiisoft/yii2/issues/9244/comments","statuses_url":"https://api.github.com/repos/yiisoft/yii2/statuses/a7b3c83e3e00f0c991e9cb6c68b4962a23ddbb1b","head":{"label":"DEN007:master","ref":"master","sha":"a7b3c83e3e00f0c991e9cb6c68b4962a23ddbb1b","user":{"login":"DEN007","id":592654,"avatar_url":"https://avatars.githubusercontent.com/u/592654?v=3","gravatar_id":"","url":"https://api.github.com/users/DEN007","html_url":"https://github.com/DEN007","followers_url":"https://api.github.com/users/DEN007/followers","following_url":"https://api.github.com/users/DEN007/following{/other_user}","gists_url":"https://api.github.com/users/DEN007/gists{/gist_id}","starred_url":"https://api.github.com/users/DEN007/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DEN007/subscriptions","organizations_url":"https://api.github.com/users/DEN007/orgs","repos_url":"https://api.github.com/users/DEN007/repos","events_url":"https://api.github.com/users/DEN007/events{/privacy}","received_events_url":"https://api.github.com/users/DEN007/received_events","type":"User","site_admin":false},"repo":{"id":39859353,"name":"yii2","full_name":"DEN007/yii2","owner":{"login":"DEN007","id":592654,"avatar_url":"https://avatars.githubusercontent.com/u/592654?v=3","gravatar_id":"","url":"https://api.github.com/users/DEN007","html_url":"https://github.com/DEN007","followers_url":"https://api.github.com/users/DEN007/followers","following_url":"https://api.github.com/users/DEN007/following{/other_user}","gists_url":"https://api.github.com/users/DEN007/gists{/gist_id}","starred_url":"https://api.github.com/users/DEN007/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DEN007/subscriptions","organizations_url":"https://api.github.com/users/DEN007/orgs","repos_url":"https://api.github.com/users/DEN007/repos","events_url":"https://api.github.com/users/DEN007/events{/privacy}","received_events_url":"https://api.github.com/users/DEN007/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/DEN007/yii2","description":"Yii 2 framework main development repo","fork":true,"url":"https://api.github.com/repos/DEN007/yii2","forks_url":"https://api.github.com/repos/DEN007/yii2/forks","keys_url":"https://api.github.com/repos/DEN007/yii2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/DEN007/yii2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/DEN007/yii2/teams","hooks_url":"https://api.github.com/repos/DEN007/yii2/hooks","issue_events_url":"https://api.github.com/repos/DEN007/yii2/issues/events{/number}","events_url":"https://api.github.com/repos/DEN007/yii2/events","assignees_url":"https://api.github.com/repos/DEN007/yii2/assignees{/user}","branches_url":"https://api.github.com/repos/DEN007/yii2/branches{/branch}","tags_url":"https://api.github.com/repos/DEN007/yii2/tags","blobs_url":"https://api.github.com/repos/DEN007/yii2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/DEN007/yii2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/DEN007/yii2/git/refs{/sha}","trees_url":"https://api.github.com/repos/DEN007/yii2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/DEN007/yii2/statuses/{sha}","languages_url":"https://api.github.com/repos/DEN007/yii2/languages","stargazers_url":"https://api.github.com/repos/DEN007/yii2/stargazers","contributors_url":"https://api.github.com/repos/DEN007/yii2/contributors","subscribers_url":"https://api.github.com/repos/DEN007/yii2/subscribers","subscription_url":"https://api.github.com/repos/DEN007/yii2/subscription","commits_url":"https://api.github.com/repos/DEN007/yii2/commits{/sha}","git_commits_url":"https://api.github.com/repos/DEN007/yii2/git/commits{/sha}","comments_url":"https://api.github.com/repos/DEN007/yii2/comments{/number}","issue_comment_url":"https://api.github.com/repos/DEN007/yii2/issues/comments{/number}","contents_url":"https://api.github.com/repos/DEN007/yii2/contents/{+path}","compare_url":"https://api.github.com/repos/DEN007/yii2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/DEN007/yii2/merges","archive_url":"https://api.github.com/repos/DEN007/yii2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/DEN007/yii2/downloads","issues_url":"https://api.github.com/repos/DEN007/yii2/issues{/number}","pulls_url":"https://api.github.com/repos/DEN007/yii2/pulls{/number}","milestones_url":"https://api.github.com/repos/DEN007/yii2/milestones{/number}","notifications_url":"https://api.github.com/repos/DEN007/yii2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/DEN007/yii2/labels{/name}","releases_url":"https://api.github.com/repos/DEN007/yii2/releases{/id}","created_at":"2015-07-28T21:46:33Z","updated_at":"2015-07-28T21:46:36Z","pushed_at":"2015-07-28T21:50:33Z","git_url":"git://github.com/DEN007/yii2.git","ssh_url":"git@github.com:DEN007/yii2.git","clone_url":"https://github.com/DEN007/yii2.git","svn_url":"https://github.com/DEN007/yii2","homepage":"http://www.yiiframework.com","size":94386,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"yiisoft:master","ref":"master","sha":"758f01aa8136891cc5b83d8f280556a06e47e257","user":{"login":"yiisoft","id":993323,"avatar_url":"https://avatars.githubusercontent.com/u/993323?v=3","gravatar_id":"","url":"https://api.github.com/users/yiisoft","html_url":"https://github.com/yiisoft","followers_url":"https://api.github.com/users/yiisoft/followers","following_url":"https://api.github.com/users/yiisoft/following{/other_user}","gists_url":"https://api.github.com/users/yiisoft/gists{/gist_id}","starred_url":"https://api.github.com/users/yiisoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yiisoft/subscriptions","organizations_url":"https://api.github.com/users/yiisoft/orgs","repos_url":"https://api.github.com/users/yiisoft/repos","events_url":"https://api.github.com/users/yiisoft/events{/privacy}","received_events_url":"https://api.github.com/users/yiisoft/received_events","type":"Organization","site_admin":false},"repo":{"id":3431193,"name":"yii2","full_name":"yiisoft/yii2","owner":{"login":"yiisoft","id":993323,"avatar_url":"https://avatars.githubusercontent.com/u/993323?v=3","gravatar_id":"","url":"https://api.github.com/users/yiisoft","html_url":"https://github.com/yiisoft","followers_url":"https://api.github.com/users/yiisoft/followers","following_url":"https://api.github.com/users/yiisoft/following{/other_user}","gists_url":"https://api.github.com/users/yiisoft/gists{/gist_id}","starred_url":"https://api.github.com/users/yiisoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yiisoft/subscriptions","organizations_url":"https://api.github.com/users/yiisoft/orgs","repos_url":"https://api.github.com/users/yiisoft/repos","events_url":"https://api.github.com/users/yiisoft/events{/privacy}","received_events_url":"https://api.github.com/users/yiisoft/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/yiisoft/yii2","description":"Yii 2 framework main development repo","fork":false,"url":"https://api.github.com/repos/yiisoft/yii2","forks_url":"https://api.github.com/repos/yiisoft/yii2/forks","keys_url":"https://api.github.com/repos/yiisoft/yii2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/yiisoft/yii2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/yiisoft/yii2/teams","hooks_url":"https://api.github.com/repos/yiisoft/yii2/hooks","issue_events_url":"https://api.github.com/repos/yiisoft/yii2/issues/events{/number}","events_url":"https://api.github.com/repos/yiisoft/yii2/events","assignees_url":"https://api.github.com/repos/yiisoft/yii2/assignees{/user}","branches_url":"https://api.github.com/repos/yiisoft/yii2/branches{/branch}","tags_url":"https://api.github.com/repos/yiisoft/yii2/tags","blobs_url":"https://api.github.com/repos/yiisoft/yii2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/yiisoft/yii2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/yiisoft/yii2/git/refs{/sha}","trees_url":"https://api.github.com/repos/yiisoft/yii2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/yiisoft/yii2/statuses/{sha}","languages_url":"https://api.github.com/repos/yiisoft/yii2/languages","stargazers_url":"https://api.github.com/repos/yiisoft/yii2/stargazers","contributors_url":"https://api.github.com/repos/yiisoft/yii2/contributors","subscribers_url":"https://api.github.com/repos/yiisoft/yii2/subscribers","subscription_url":"https://api.github.com/repos/yiisoft/yii2/subscription","commits_url":"https://api.github.com/repos/yiisoft/yii2/commits{/sha}","git_commits_url":"https://api.github.com/repos/yiisoft/yii2/git/commits{/sha}","comments_url":"https://api.github.com/repos/yiisoft/yii2/comments{/number}","issue_comment_url":"https://api.github.com/repos/yiisoft/yii2/issues/comments{/number}","contents_url":"https://api.github.com/repos/yiisoft/yii2/contents/{+path}","compare_url":"https://api.github.com/repos/yiisoft/yii2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/yiisoft/yii2/merges","archive_url":"https://api.github.com/repos/yiisoft/yii2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/yiisoft/yii2/downloads","issues_url":"https://api.github.com/repos/yiisoft/yii2/issues{/number}","pulls_url":"https://api.github.com/repos/yiisoft/yii2/pulls{/number}","milestones_url":"https://api.github.com/repos/yiisoft/yii2/milestones{/number}","notifications_url":"https://api.github.com/repos/yiisoft/yii2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/yiisoft/yii2/labels{/name}","releases_url":"https://api.github.com/repos/yiisoft/yii2/releases{/id}","created_at":"2012-02-13T15:32:36Z","updated_at":"2015-07-29T13:53:06Z","pushed_at":"2015-07-29T13:40:33Z","git_url":"git://github.com/yiisoft/yii2.git","ssh_url":"git@github.com:yiisoft/yii2.git","clone_url":"https://github.com/yiisoft/yii2.git","svn_url":"https://github.com/yiisoft/yii2","homepage":"http://www.yiiframework.com","size":94386,"stargazers_count":6237,"watchers_count":6237,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3594,"mirror_url":null,"open_issues_count":910,"forks":3594,"open_issues":910,"watchers":6237,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/yiisoft/yii2/pulls/9244"},"html":{"href":"https://github.com/yiisoft/yii2/pull/9244"},"issue":{"href":"https://api.github.com/repos/yiisoft/yii2/issues/9244"},"comments":{"href":"https://api.github.com/repos/yiisoft/yii2/issues/9244/comments"},"review_comments":{"href":"https://api.github.com/repos/yiisoft/yii2/pulls/9244/comments"},"review_comment":{"href":"https://api.github.com/repos/yiisoft/yii2/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/yiisoft/yii2/pulls/9244/commits"},"statuses":{"href":"https://api.github.com/repos/yiisoft/yii2/statuses/a7b3c83e3e00f0c991e9cb6c68b4962a23ddbb1b"}}}}