Permalink
Browse files

update documentation #2

  • Loading branch information...
1 parent 05bf061 commit 1e936b09e0b342e22ad0b713adbe12c85cec44c7 Nikolay I. Belichuk committed Dec 3, 2012
Showing with 18 additions and 18 deletions.
  1. +18 −18 README.md
View
@@ -11,24 +11,24 @@ Download project from github and uncompress to protected/extensions foder.
This extension has been designed as a widget. Its easy to use. For examples:
Open your view for edit and define array $items. You can do this in the following way:
-$items = array(
- array(
- 'name' => 'Google corp',
- 'link' => 'http://google.com',
- 'icon' => 'google',
- 'active' => 'dashboard',
- 'sub' => array(
- array(
- 'name' => 'Gmail',
- 'link' => 'http://gmail.com',
- ),
- array(
- 'name' => 'Gmap',
- 'link' => 'http://maps.google.com/',
- )
- )
- )
-);
+ $items = array(
+ array(
+ 'name' => 'Google corp',
+ 'link' => 'http://google.com',
+ 'icon' => 'google',
+ 'active' => 'dashboard',
+ 'sub' => array(
+ array(
+ 'name' => 'Gmail',
+ 'link' => 'http://gmail.com',
+ ),
+ array(
+ 'name' => 'Gmap',
+ 'link' => 'http://maps.google.com/',
+ )
+ )
+ )
+ );
Array key explanation:
-Key name - menu item

0 comments on commit 1e936b0

Please sign in to comment.