| 1 | <?php |
||
| 27 | class Theme extends \Core\Core\Plugin |
||
| 28 | { |
||
| 29 | |||
| 30 | /** |
||
| 31 | * Setup current theme. |
||
| 32 | * |
||
| 33 | * @param null|string $prefix |
||
| 34 | * |
||
| 35 | * @return null|string |
||
| 36 | */ |
||
| 37 | public static function setup($prefix = null) |
||
| 51 | |||
| 52 | /** |
||
| 53 | * Get name by prefix. |
||
| 54 | * |
||
| 55 | * @param string|null $prefix |
||
| 56 | * |
||
| 57 | * @return mixed |
||
| 58 | */ |
||
| 59 | public static function name($prefix = null) |
||
| 63 | |||
| 64 | /** |
||
| 65 | * Find theme plugin in path. |
||
| 66 | * |
||
| 67 | * @param string $theme |
||
| 68 | * |
||
| 69 | * @return null|string |
||
| 70 | */ |
||
| 71 | public static function find($theme) |
||
| 85 | } |
||
| 86 |