| 1 |
<?php |
| 2 |
|
| 3 |
if (!defined('ABSPATH')) { |
| 4 |
die('-1'); |
| 5 |
} |
| 6 |
|
| 7 |
class QuadMenuItemIcon extends QuadMenuItemDefault { |
| 8 |
|
| 9 |
protected $type = 'icon'; |
| 10 |
|
| 11 |
function init() { |
| 12 |
$this->args->has_caret = false; |
| 13 |
//$this->args->has_dropdown = $this->has_children = true; |
| 14 |
$this->args->has_title = $this->args->link_before = $this->args->link_after = false; |
| 15 |
} |
| 16 |
|
| 17 |
function get_title() { |
| 18 |
ob_start(); |
| 19 |
?> |
| 20 |
<span class="quadmenu-text"></span> |
| 21 |
<?php |
| 22 |
|
| 23 |
return ob_get_clean(); |
| 24 |
} |
| 25 |
|
| 26 |
} |
| 27 |
|