src/LayoutModule.php 1 location
|
@@ 30-38 (lines=9) @@
|
27 |
|
* |
28 |
|
* @return string[] |
29 |
|
*/ |
30 |
|
protected function getLayoutPaths() |
31 |
|
{ |
32 |
|
$reflection = new \ReflectionClass($this); |
33 |
|
|
34 |
|
return array( |
35 |
|
$this->getThemesPath() . '/' . \JFactory::getApplication()->getTemplate() . '/html/layouts/modules/' . $this->element, |
36 |
|
dirname($reflection->getFileName()) . '/layouts' |
37 |
|
); |
38 |
|
} |
39 |
|
} |
40 |
|
|
src/Module.php 1 location
|
@@ 157-165 (lines=9) @@
|
154 |
|
* |
155 |
|
* @return string[] |
156 |
|
*/ |
157 |
|
protected function getLayoutPaths() |
158 |
|
{ |
159 |
|
$reflection = new \ReflectionClass($this); |
160 |
|
|
161 |
|
return array( |
162 |
|
$this->getThemesPath() . '/' . \JFactory::getApplication()->getTemplate() . '/html/' . $this->element, |
163 |
|
dirname($reflection->getFileName()) . '/tmpl' |
164 |
|
); |
165 |
|
} |
166 |
|
|
167 |
|
/** |
168 |
|
* Get the date set as null in the database driver. |