1 | <?php namespace Arcanesoft\Blog; |
||
12 | class Blog |
||
13 | { |
||
14 | /* ----------------------------------------------------------------- |
||
15 | | Properties |
||
16 | | ----------------------------------------------------------------- |
||
17 | */ |
||
18 | |||
19 | /** |
||
20 | * Indicates if migrations will be run. |
||
21 | * |
||
22 | * @var bool |
||
23 | */ |
||
24 | public static $runsMigrations = true; |
||
25 | |||
26 | /* ----------------------------------------------------------------- |
||
27 | | Main Methods |
||
28 | | ----------------------------------------------------------------- |
||
29 | */ |
||
30 | |||
31 | /** |
||
32 | * Publish the migrations. |
||
33 | */ |
||
34 | public static function publishMigrations() |
||
38 | |||
39 | /** |
||
40 | * Register the public blog routes. |
||
41 | */ |
||
42 | public static function routes() |
||
53 | |||
54 | /** |
||
55 | * Check if the blog is translatable. |
||
56 | * |
||
57 | * @return bool |
||
58 | */ |
||
59 | public function isTranslatable() |
||
63 | |||
64 | /** |
||
65 | * Get the supported locales. |
||
66 | * |
||
67 | * @return array |
||
68 | */ |
||
69 | public function getSupportedLocalesKeys() |
||
73 | |||
74 | /** |
||
75 | * Check if the media manager is installed. |
||
76 | * |
||
77 | * @return bool |
||
78 | */ |
||
79 | 3 | public function isMediaManagerInstalled() |
|
83 | } |
||
84 |