1
|
<?php
|
2
|
/**
|
3
|
* @package Warp Theme Framework
|
4
|
* @author YOOtheme http://www.yootheme.com
|
5
|
* @copyright Copyright (C) YOOtheme GmbH
|
6
|
* @license http://www.gnu.org/licenses/gpl.html GNU/GPL
|
7
|
*/
|
8
|
|
9
|
|
10
|
/*
|
11
|
Class: WarpMenuPost
|
12
|
Menu base class
|
13
|
*/
|
14
|
class WarpMenuPost extends WarpMenu {
|
15
|
|
16
|
/*
|
17
|
Function: process
|
18
|
|
19
|
Returns:
|
20
|
Object
|
21
|
*/
|
22
|
public function process($module, $element) {
|
23
|
|
24
|
foreach ($element->find('li') as $li) {
|
25
|
$li->removeAttr('data-id')->removeAttr('data-menu-active')->removeAttr('data-menu-columns')->removeAttr('data-menu-columnwidth')->removeAttr('data-menu-image');
|
26
|
}
|
27
|
|
28
|
return $element;
|
29
|
}
|
30
|
|
31
|
}
|