PluginProbe ʕ •ᴥ•ʔ
VikAppointments Services Booking Calendar / 1.2.21
VikAppointments Services Booking Calendar v1.2.21
1.2.21 1.2.20 trunk 1.2.17 1.2.18 1.2.19
vikappointments / site / helpers / libraries / menu / leftboard / custom / line.php
vikappointments / site / helpers / libraries / menu / leftboard / custom Last commit date
index.html 3 days ago license.php 3 days ago line.php 3 days ago split.php 3 days ago version.php 3 days ago
line.php
38 lines
1 <?php
2 /**
3 * @package VikAppointments
4 * @subpackage core
5 * @author E4J s.r.l.
6 * @copyright Copyright (C) 2021 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 VAPLoader::import('libraries.menu.custom');
15
16 /**
17 * Extends the CustomShape class to display a line separator.
18 *
19 * @since 1.5
20 * @since 1.6.3 Renamed from LeftBoardMenuLine to LeftboardCustomShapeLine.
21 */
22 class LeftboardCustomShapeLine extends CustomShape
23 {
24 /**
25 * @override
26 * Builds and returns the html structure of the custom menu item.
27 * This method must be implemented to define a specific graphic of the custom item.
28 *
29 * @return string The html of the custom item.
30 */
31 public function buildHtml()
32 {
33 $layout = new JLayoutFile('menu.leftboard.custom.line');
34
35 return $layout->render();
36 }
37 }
38