| Total Complexity | 4 |
| Total Lines | 35 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 0 | ||
| 1 | <?php |
||
| 11 | class XLS extends View |
||
| 12 | { |
||
| 13 | |||
| 14 | /** |
||
| 15 | * Singleton |
||
| 16 | * |
||
| 17 | * @return self |
||
| 18 | */ |
||
| 19 | public static function instance() |
||
| 20 | { |
||
| 21 | static $instance; |
||
| 22 | if (!($instance instanceof self)) { |
||
| 23 | $instance = new self(); |
||
| 24 | } |
||
| 25 | return $instance; |
||
| 26 | } |
||
| 27 | |||
| 28 | public function initBasePath() |
||
| 29 | { |
||
| 30 | $this->setBasePath(MODULES_PATH . request()->getModuleName() . '/views/'); |
||
| 31 | } |
||
| 32 | |||
| 33 | /** |
||
| 34 | * @param $view |
||
| 35 | * @param $name |
||
| 36 | */ |
||
| 37 | public function output($view, $name) |
||
| 46 | } |
||
| 47 | } |
||
| 48 |