1 | <?php |
||
13 | class DetectorRule |
||
14 | { |
||
15 | /** |
||
16 | * @return string |
||
17 | */ |
||
18 | public function getObjectType() |
||
22 | |||
23 | /** |
||
24 | * @return string |
||
25 | */ |
||
26 | public function getObjectProperty() |
||
30 | |||
31 | /** |
||
32 | * @return string |
||
33 | */ |
||
34 | public function getObjectPropertyValue() |
||
38 | |||
39 | /** |
||
40 | * @return string |
||
41 | */ |
||
42 | public function getTargetType() |
||
46 | |||
47 | /** |
||
48 | * @return boolean |
||
49 | */ |
||
50 | public function isTargetValue() |
||
54 | |||
55 | /** |
||
56 | * @param string $ObjectType |
||
57 | */ |
||
58 | public function setObjectType($ObjectType) |
||
62 | |||
63 | /** |
||
64 | * @param boolean $TargetValue |
||
65 | */ |
||
66 | public function setTargetValue($TargetValue) |
||
70 | |||
71 | /** |
||
72 | * @param string $TargetType |
||
73 | */ |
||
74 | public function setTargetType($TargetType) |
||
78 | |||
79 | /** |
||
80 | * @param string $ObjectPropertyValue |
||
81 | */ |
||
82 | public function setObjectPropertyValue($ObjectPropertyValue) |
||
86 | |||
87 | /** |
||
88 | * @param string $ObjectProperty |
||
89 | */ |
||
90 | public function setObjectProperty($ObjectProperty) |
||
94 | /** @var string EndorphinStudio\Detector\DetectorResult object name */ |
||
95 | private $ObjectType; |
||
96 | /** @var string EndorphinStudio\Detector\DetectorResult property name */ |
||
97 | private $ObjectProperty; |
||
98 | /** @var string EndorphinStudio\Detector\DetectorResult property value */ |
||
99 | private $ObjectPropertyValue; |
||
100 | /** @var string EndorphinStudio\Detector\DetectorResult property name */ |
||
101 | private $TargetType; |
||
102 | /** @var boolean boolean value */ |
||
103 | private $TargetValue; |
||
104 | |||
105 | public function __construct(\SimpleXMLElement $xmlData) |
||
122 | |||
123 | /** |
||
124 | * @return array Array of EndorphinStudio\Detector\DetectorRule objects |
||
125 | */ |
||
126 | public static function loadRulesFromFile() |
||
145 | } |
||
146 |