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