├── system ├── fonts │ ├── texb.ttf │ └── index.html ├── .htaccess ├── index.html ├── core │ ├── index.html │ ├── compat │ │ └── index.html │ ├── Model.php │ ├── Controller.php │ └── Benchmark.php ├── database │ ├── index.html │ └── drivers │ │ ├── index.html │ │ ├── cubrid │ │ ├── index.html │ │ └── cubrid_utility.php │ │ ├── ibase │ │ ├── index.html │ │ └── ibase_utility.php │ │ ├── mssql │ │ ├── index.html │ │ └── mssql_utility.php │ │ ├── mysql │ │ └── index.html │ │ ├── mysqli │ │ └── index.html │ │ ├── oci8 │ │ ├── index.html │ │ ├── oci8_utility.php │ │ └── oci8_forge.php │ │ ├── odbc │ │ ├── index.html │ │ ├── odbc_utility.php │ │ └── odbc_forge.php │ │ ├── pdo │ │ ├── index.html │ │ ├── subdrivers │ │ │ ├── index.html │ │ │ ├── pdo_odbc_forge.php │ │ │ ├── pdo_ibm_forge.php │ │ │ └── pdo_oci_forge.php │ │ ├── pdo_forge.php │ │ └── pdo_utility.php │ │ ├── sqlite │ │ ├── index.html │ │ └── sqlite_utility.php │ │ ├── sqlsrv │ │ ├── index.html │ │ ├── sqlsrv_utility.php │ │ └── sqlsrv_forge.php │ │ ├── postgre │ │ ├── index.html │ │ └── postgre_utility.php │ │ └── sqlite3 │ │ ├── index.html │ │ └── sqlite3_utility.php ├── helpers │ ├── index.html │ ├── language_helper.php │ ├── email_helper.php │ ├── path_helper.php │ ├── xml_helper.php │ ├── number_helper.php │ ├── typography_helper.php │ ├── directory_helper.php │ ├── array_helper.php │ ├── cookie_helper.php │ └── security_helper.php ├── language │ ├── index.html │ └── english │ │ ├── index.html │ │ ├── number_lang.php │ │ ├── pagination_lang.php │ │ ├── migration_lang.php │ │ ├── unit_test_lang.php │ │ ├── profiler_lang.php │ │ ├── ftp_lang.php │ │ ├── calendar_lang.php │ │ ├── upload_lang.php │ │ ├── email_lang.php │ │ ├── imglib_lang.php │ │ ├── db_lang.php │ │ └── form_validation_lang.php └── libraries │ ├── index.html │ ├── Cache │ ├── index.html │ └── drivers │ │ └── index.html │ ├── Session │ ├── index.html │ ├── drivers │ │ └── index.html │ ├── SessionHandlerInterface.php │ └── Session_driver.php │ └── Javascript │ └── index.html ├── assets ├── img │ ├── other_test.png │ ├── ci_multilevel_menu_screenshoot.jpg │ ├── ci_multilevel_menu_screenshoot_2.jpg │ └── ci_multilevel_menu_screenshoot_3.jpg ├── js │ ├── docs.js │ └── bootstrap-submenu.min.js └── css │ ├── doc.min.css │ └── bootstrap-submenu.min.css ├── application ├── .htaccess ├── cache │ ├── .htaccess │ └── index.html ├── views │ ├── errors │ │ ├── cli │ │ │ ├── error_404.php │ │ │ ├── error_general.php │ │ │ ├── error_db.php │ │ │ ├── index.html │ │ │ ├── error_php.php │ │ │ └── error_exception.php │ │ ├── index.html │ │ └── html │ │ │ ├── index.html │ │ │ ├── error_php.php │ │ │ ├── error_exception.php │ │ │ ├── error_general.php │ │ │ ├── error_db.php │ │ │ └── error_404.php │ ├── index.html │ ├── basic.php │ ├── inject.php │ ├── test_view.php │ ├── welcome_message.php │ ├── bootstrap1.php │ └── bootstrap2.php ├── index.html ├── models │ ├── Menu_model.php │ └── index.html ├── config │ ├── index.html │ ├── hooks.php │ ├── profiler.php │ ├── memcached.php │ ├── multi_menu.php │ ├── routes.php │ ├── doctypes.php │ ├── foreign_chars.php │ ├── migration.php │ ├── smileys.php │ ├── constants.php │ ├── database.php │ └── autoload.php ├── core │ └── index.html ├── helpers │ └── index.html ├── hooks │ └── index.html ├── language │ ├── index.html │ └── english │ │ └── index.html ├── logs │ └── index.html ├── controllers │ ├── index.html │ ├── Welcome.php │ └── Test.php ├── libraries │ └── index.html └── third_party │ └── index.html ├── license.txt └── ci_multilevel_menu.sql /system/fonts/texb.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edomaru/codeigniter_multilevel_menu/HEAD/system/fonts/texb.ttf -------------------------------------------------------------------------------- /assets/img/other_test.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edomaru/codeigniter_multilevel_menu/HEAD/assets/img/other_test.png -------------------------------------------------------------------------------- /system/.htaccess: -------------------------------------------------------------------------------- 1 | 2 | Require all denied 3 | 4 | 5 | Deny from all 6 | -------------------------------------------------------------------------------- /assets/img/ci_multilevel_menu_screenshoot.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edomaru/codeigniter_multilevel_menu/HEAD/assets/img/ci_multilevel_menu_screenshoot.jpg -------------------------------------------------------------------------------- /application/.htaccess: -------------------------------------------------------------------------------- 1 | 2 | Require all denied 3 | 4 | 5 | Deny from all 6 | -------------------------------------------------------------------------------- /assets/img/ci_multilevel_menu_screenshoot_2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edomaru/codeigniter_multilevel_menu/HEAD/assets/img/ci_multilevel_menu_screenshoot_2.jpg -------------------------------------------------------------------------------- /assets/img/ci_multilevel_menu_screenshoot_3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edomaru/codeigniter_multilevel_menu/HEAD/assets/img/ci_multilevel_menu_screenshoot_3.jpg -------------------------------------------------------------------------------- /application/cache/.htaccess: -------------------------------------------------------------------------------- 1 | 2 | Require all denied 3 | 4 | 5 | Deny from all 6 | -------------------------------------------------------------------------------- /application/views/errors/cli/error_404.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

Directory access is forbidden.

9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /application/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

Directory access is forbidden.

9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /application/models/Menu_model.php: -------------------------------------------------------------------------------- 1 | db->get("menus") 7 | ->result_array(); 8 | } 9 | 10 | } -------------------------------------------------------------------------------- /system/core/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

Directory access is forbidden.

9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /system/database/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

Directory access is forbidden.

9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /system/fonts/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

Directory access is forbidden.

9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /system/helpers/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

Directory access is forbidden.

9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /system/language/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

Directory access is forbidden.

9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /application/cache/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

Directory access is forbidden.

9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /application/config/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

Directory access is forbidden.

9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /application/core/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

Directory access is forbidden.

9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /application/helpers/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

Directory access is forbidden.

9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /application/hooks/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

Directory access is forbidden.

9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /application/language/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

Directory access is forbidden.

9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /application/logs/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

Directory access is forbidden.

9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /application/models/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

Directory access is forbidden.

9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /application/views/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

Directory access is forbidden.

9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /system/core/compat/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

Directory access is forbidden.

9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /system/libraries/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

Directory access is forbidden.

9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /application/controllers/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

Directory access is forbidden.

9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /application/libraries/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

Directory access is forbidden.

9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /application/third_party/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

Directory access is forbidden.

9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /application/views/errors/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

Directory access is forbidden.

9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /system/database/drivers/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

Directory access is forbidden.

9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /system/language/english/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

Directory access is forbidden.

9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /system/libraries/Cache/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

Directory access is forbidden.

9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /system/libraries/Session/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

Directory access is forbidden.

9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /application/language/english/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

Directory access is forbidden.

9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /application/views/errors/cli/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

Directory access is forbidden.

9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /application/views/errors/html/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

Directory access is forbidden.

9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /system/database/drivers/cubrid/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

Directory access is forbidden.

9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /system/database/drivers/ibase/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

Directory access is forbidden.

9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /system/database/drivers/mssql/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

Directory access is forbidden.

9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /system/database/drivers/mysql/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

Directory access is forbidden.

9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /system/database/drivers/mysqli/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

Directory access is forbidden.

9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /system/database/drivers/oci8/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

Directory access is forbidden.

9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /system/database/drivers/odbc/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

Directory access is forbidden.

9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /system/database/drivers/pdo/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

Directory access is forbidden.

9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /system/database/drivers/sqlite/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

Directory access is forbidden.

9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /system/database/drivers/sqlsrv/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

Directory access is forbidden.

9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /system/libraries/Cache/drivers/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

Directory access is forbidden.

9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /system/libraries/Javascript/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

Directory access is forbidden.

9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /system/database/drivers/postgre/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

Directory access is forbidden.

9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /system/database/drivers/sqlite3/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

Directory access is forbidden.

9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /system/libraries/Session/drivers/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

Directory access is forbidden.

9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /system/database/drivers/pdo/subdrivers/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

Directory access is forbidden.

9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /application/views/basic.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Codeigniter Multilevel Menu Basic Example 6 | 7 | 8 | multi_menu->render('Item-0'); ?> 9 | 10 | -------------------------------------------------------------------------------- /assets/js/docs.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | $(function() { 4 | 5 | 6 | // Dropdown fix 7 | $('.dropdown > a[tabindex]').keydown(function(event) { 8 | // 13: Return 9 | 10 | if (event.keyCode == 13) { 11 | $(this).dropdown('toggle'); 12 | } 13 | }); 14 | 15 | 16 | $('.dropdown-submenu > a').submenupicker(); 17 | }); 18 | -------------------------------------------------------------------------------- /assets/css/doc.min.css: -------------------------------------------------------------------------------- 1 | body { 2 | padding-top: 20px; 3 | } 4 | 5 | footer { 6 | padding-bottom: 10px; 7 | } 8 | 9 | a { 10 | cursor: pointer; 11 | } 12 | 13 | .m-b { 14 | margin-bottom: 15px; 15 | } 16 | 17 | .input-group-addon, 18 | .input-group-btn { 19 | width: auto; 20 | } 21 | 22 | .input-group-addon { 23 | background-color: white; 24 | } 25 | 26 | pre { 27 | padding: 0; 28 | } 29 | -------------------------------------------------------------------------------- /application/config/hooks.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Codeigniter Multilevel Menu Basic Example With inject men item 6 | 7 | 8 | Additional Item 1'; ?> 9 | Additional Item 2'; ?> 10 | 11 | multi_menu 12 | ->inject_item($additional_item1, 'first') 13 | ->inject_item($additional_item2) 14 | ->render('Item-0'); ?> 15 | 16 | -------------------------------------------------------------------------------- /application/config/profiler.php: -------------------------------------------------------------------------------- 1 | array( 15 | 'hostname' => '127.0.0.1', 16 | 'port' => '11211', 17 | 'weight' => '1', 18 | ), 19 | ); 20 | -------------------------------------------------------------------------------- /application/views/test_view.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Codeigniter Multilevel Menu - Example Index 6 | 7 | 8 | 14 | 15 | -------------------------------------------------------------------------------- /application/views/errors/cli/error_php.php: -------------------------------------------------------------------------------- 1 | 4 | 5 | A PHP Error was encountered 6 | 7 | Severity: 8 | Message: 9 | Filename: 10 | Line Number: 11 | 12 | 13 | 14 | Backtrace: 15 | 16 | 17 | 18 | File: 19 | Line: 20 | Function: 21 | 22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /application/controllers/Welcome.php: -------------------------------------------------------------------------------- 1 | 19 | * @see http://codeigniter.com/user_guide/general/urls.html 20 | */ 21 | public function index() 22 | { 23 | $this->load->view('welcome_message'); 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /application/views/errors/cli/error_exception.php: -------------------------------------------------------------------------------- 1 | 4 | 5 | An uncaught Exception was encountered 6 | 7 | Type: 8 | Message: 9 | Filename: getFile(); ?> 10 | Line Number: getLine(); ?> 11 | 12 | 13 | 14 | Backtrace: 15 | getTrace() as $error): ?> 16 | 17 | 18 | File: 19 | Line: 20 | Function: 21 | 22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /application/views/errors/html/error_php.php: -------------------------------------------------------------------------------- 1 | 4 | 5 |
6 | 7 |

A PHP Error was encountered

8 | 9 |

Severity:

10 |

Message:

11 |

Filename:

12 |

Line Number:

13 | 14 | 15 | 16 |

Backtrace:

17 | 18 | 19 | 20 | 21 |

22 | File:
23 | Line:
24 | Function: 25 |

26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 |
-------------------------------------------------------------------------------- /application/config/multi_menu.php: -------------------------------------------------------------------------------- 1 | '; 11 | $config["nav_tag_close"] = ''; 12 | $config["item_tag_open"] = '
  • '; 13 | $config["item_tag_close"] = '
  • '; 14 | $config["parent_tag_open"] = '
  • '; 15 | $config["parent_tag_close"] = '
  • '; 16 | $config["parent_anchor_tag"] = '%s'; 17 | $config["children_tag_open"] = ''; 19 | $config['icon_position'] = 'left'; // 'left' or 'right' 20 | $config['menu_icons_list'] = array(); 21 | // these for the future version 22 | $config['icon_img_base_url'] = ''; -------------------------------------------------------------------------------- /application/views/errors/html/error_exception.php: -------------------------------------------------------------------------------- 1 | 4 | 5 |
    6 | 7 |

    An uncaught Exception was encountered

    8 | 9 |

    Type:

    10 |

    Message:

    11 |

    Filename: getFile(); ?>

    12 |

    Line Number: getLine(); ?>

    13 | 14 | 15 | 16 |

    Backtrace:

    17 | getTrace() as $error): ?> 18 | 19 | 20 | 21 |

    22 | File:
    23 | Line:
    24 | Function: 25 |

    26 | 27 | 28 | 29 | 30 | 31 | 32 |
    -------------------------------------------------------------------------------- /license.txt: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2014 - 2015, British Columbia Institute of Technology 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in 13 | all copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 21 | THE SOFTWARE. -------------------------------------------------------------------------------- /application/controllers/Test.php: -------------------------------------------------------------------------------- 1 | load->model("menu_model", "menu"); 10 | $items = $this->menu->all(); 11 | 12 | $this->load->library("multi_menu"); 13 | $this->multi_menu->set_items($items); 14 | } 15 | 16 | public function index() 17 | { 18 | $this->load->view("test_view"); 19 | } 20 | 21 | public function basic() 22 | { 23 | $this->load->view("basic"); 24 | } 25 | 26 | public function inject() 27 | { 28 | $this->load->view("inject"); 29 | } 30 | 31 | public function bootstrap1() 32 | { 33 | $config["nav_tag_open"] = '