Conditions | 5 |
Paths | 16 |
Total Lines | 14 |
Code Lines | 9 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
35 | public function compile(){ |
||
36 | if(JString::isNotNull($this->title)){ |
||
37 | $this->semElement->addToProperty("data-title", $this->title); |
||
38 | } |
||
39 | if(JString::isNotNull($this->content)){ |
||
40 | $this->semElement->addToProperty("data-content", $this->content); |
||
41 | } |
||
42 | if(JString::isNotNull($this->html)){ |
||
43 | $this->semElement->addToProperty("data-html", $this->html); |
||
44 | } |
||
45 | if(JString::isNotNull($this->variation)){ |
||
46 | $this->semElement->addToProperty("data-variation", $this->variation); |
||
47 | } |
||
48 | } |
||
49 | |||
54 | } |