catalog/includes/OSC/Sites/Admin/Admin.php 1 location
|
@@ 178-186 (lines=9) @@
|
175 |
|
} |
176 |
|
} |
177 |
|
|
178 |
|
if (isset($class)) { |
179 |
|
if (is_subclass_of($class, 'OSC\OM\PagesInterface')) { |
180 |
|
$this->page = new $class($this); |
181 |
|
|
182 |
|
$this->page->runActions(); |
183 |
|
} else { |
184 |
|
trigger_error('OSC\Sites\Admin\Admin::setPage() - ' . $page_code . ': Page does not implement OSC\OM\PagesInterface and cannot be loaded.'); |
185 |
|
} |
186 |
|
} |
187 |
|
} |
188 |
|
|
189 |
|
public static function resolveRoute(array $route, array $routes) |
catalog/includes/OSC/Sites/Shop/Shop.php 1 location
|
@@ 150-158 (lines=9) @@
|
147 |
|
} |
148 |
|
} |
149 |
|
|
150 |
|
if (isset($class)) { |
151 |
|
if (is_subclass_of($class, 'OSC\OM\PagesInterface')) { |
152 |
|
$this->page = new $class($this); |
153 |
|
|
154 |
|
$this->page->runActions(); |
155 |
|
} else { |
156 |
|
trigger_error('OSC\Sites\Shop\Shop::setPage() - ' . $page_code . ': Page does not implement OSC\OM\PagesInterface and cannot be loaded.'); |
157 |
|
} |
158 |
|
} |
159 |
|
} |
160 |
|
|
161 |
|
public static function resolveRoute(array $route, array $routes) |