site.php
37 lines
| 1 | <?php |
| 2 | /** |
| 3 | * @package VikWP - Libraries |
| 4 | * @subpackage adapter.mvc |
| 5 | * @author E4J s.r.l. |
| 6 | * @copyright Copyright (C) 2023 E4J s.r.l. All Rights Reserved. |
| 7 | * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL |
| 8 | * @link https://vikwp.com |
| 9 | */ |
| 10 | |
| 11 | // No direct access |
| 12 | defined('ABSPATH') or die('No script kiddies please!'); |
| 13 | |
| 14 | JLoader::import('adapter.menu.menu'); |
| 15 | |
| 16 | /** |
| 17 | * Menu class for site client. |
| 18 | * |
| 19 | * @since 10.1.19 |
| 20 | */ |
| 21 | class JMenuSite extends JMenu |
| 22 | { |
| 23 | /** |
| 24 | * @override |
| 25 | * Loads the entire menu table into memory. |
| 26 | * |
| 27 | * @return boolean True on success, false on failure |
| 28 | */ |
| 29 | public function load() |
| 30 | { |
| 31 | // do nothing for the moment as all the functions |
| 32 | // related to this class seems to be almost useless |
| 33 | |
| 34 | return true; |
| 35 | } |
| 36 | } |
| 37 |