Rev 429 | Rev 511 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 429 | Rev 473 | ||
---|---|---|---|
Line 29... | Line 29... | ||
29 | private $oid = ''; |
29 | private $oid = ''; |
30 | 30 | ||
31 | private $type = ''; |
31 | private $type = ''; |
32 | private $phpMainClass = ''; |
32 | private $phpMainClass = ''; |
33 | 33 | ||
34 | // Only page plugins |
34 | // Only page or design plugins |
35 | private $cssFiles = array(); |
35 | private $cssFiles = array(); |
- | 36 | ||
- | 37 | // only page plugins |
|
36 | private $jsFiles = array(); |
38 | private $jsFiles = array(); |
37 | 39 | ||
38 | // Only database plugins |
40 | // Only database plugins |
39 | private $cssFilesSetup = array(); |
41 | private $cssFilesSetup = array(); |
40 | private $jsFilesSetup = array(); |
42 | private $jsFilesSetup = array(); |
Line 123... | Line 125... | ||
123 | $this->htmlDescription = (string)$xmldata->info->descriptionHTML; |
125 | $this->htmlDescription = (string)$xmldata->info->descriptionHTML; |
124 | $this->oid = (string)$xmldata->info->oid; |
126 | $this->oid = (string)$xmldata->info->oid; |
125 | 127 | ||
126 | $this->phpMainClass = (string)$xmldata->php->mainclass; |
128 | $this->phpMainClass = (string)$xmldata->php->mainclass; |
127 | 129 | ||
128 | // The following functionalities are only available for page plugins |
130 | // The following functionalities are only available for page or design plugins |
129 | // XML Schema urn:oid:1.3.6.1.4.1.37476.2.5.2.5.2.1 |
131 | // XML Schema urn:oid:1.3.6.1.4.1.37476.2.5.2.5.2.1 |
- | 132 | // XML Schema urn:oid:1.3.6.1.4.1.37476.2.5.2.5.7.1 |
|
130 | foreach ((array)$xmldata->css->file as $css_file) { |
133 | foreach ((array)$xmldata->css->file as $css_file) { |
131 | $file = dirname($filename).'/'.$css_file; |
134 | $file = dirname($filename).'/'.$css_file; |
132 | //if (!file_exists($file)) continue; |
135 | //if (!file_exists($file)) continue; |
133 | $this->cssFiles[] = $file; |
136 | $this->cssFiles[] = $file; |
134 | } |
137 | } |
- | 138 | ||
- | 139 | // The following functionalities are only available for page plugins |
|
- | 140 | // XML Schema urn:oid:1.3.6.1.4.1.37476.2.5.2.5.2.1 |
|
135 | foreach ((array)$xmldata->js->file as $js_file) { |
141 | foreach ((array)$xmldata->js->file as $js_file) { |
136 | $file = dirname($filename).'/'.$js_file; |
142 | $file = dirname($filename).'/'.$js_file; |
137 | //if (!file_exists($file)) continue; |
143 | //if (!file_exists($file)) continue; |
138 | $this->jsFiles[] = $file; |
144 | $this->jsFiles[] = $file; |
139 | } |
145 | } |