Total Complexity | 7 |
Total Lines | 39 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
12 | abstract class BaseWidget { |
||
13 | protected $identifier; |
||
14 | protected $_identifier; |
||
15 | protected $_libraryId; |
||
16 | protected $_self; |
||
17 | |||
18 | public function __construct($identifier) { |
||
22 | } |
||
23 | |||
24 | public function getIdentifier() { |
||
25 | return $this->identifier; |
||
26 | } |
||
27 | |||
28 | public function setIdentifier($identifier) { |
||
29 | $this->identifier=$this->cleanIdentifier($identifier); |
||
30 | return $this; |
||
31 | } |
||
32 | |||
33 | protected function cleanIdentifier($id) { |
||
34 | return JString::cleanIdentifier($id); |
||
35 | } |
||
36 | /** |
||
37 | * @return mixed |
||
38 | */ |
||
39 | public function getLibraryId() { |
||
44 | } |
||
45 | |||
46 | /** |
||
47 | * @param mixed $_libraryId |
||
48 | */ |
||
49 | public function setLibraryId($_libraryId) { |
||
54 |