/
BulkMenu.php
59 lines (46 loc) · 1.07 KB
/
BulkMenu.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
<?php
namespace Concrete\Core\Application\UserInterface\ContextMenu;
class BulkMenu implements BulkMenuInterface
{
protected $propertyName;
protected $propertyValue;
protected $menu;
/**
* @return mixed
*/
public function getMenu()
{
return $this->menu;
}
/**
* @param mixed $menu
*/
public function setMenu($menu)
{
$this->menu = $menu;
}
public function getPropertyName()
{
return $this->propertyName;
}
public function getPropertyValue()
{
return $this->propertyValue;
}
public function setPropertyName($propertyName)
{
return $this->propertyName = $propertyName;
}
public function setPropertyValue($propertyValue)
{
return $this->propertyValue = $propertyValue;
}
public function jsonSerialize()
{
$data = array();
$data['propertyName'] = $this->getPropertyName();
$data['propertyValue'] = $this->getPropertyValue();
$data['menu'] = $this->getMenu();
return $data;
}
}