| 1 | <?php namespace Arcanesoft\Blog\Entities; |
||
| 9 | class PostStatus |
||
| 10 | { |
||
| 11 | /* ------------------------------------------------------------------------------------------------ |
||
| 12 | | Constants |
||
| 13 | | ------------------------------------------------------------------------------------------------ |
||
| 14 | */ |
||
| 15 | const STATUS_DRAFT = 'draft'; |
||
| 16 | const STATUS_PUBLISHED = 'published'; |
||
| 17 | |||
| 18 | /* ------------------------------------------------------------------------------------------------ |
||
| 19 | | Main Functions |
||
| 20 | | ------------------------------------------------------------------------------------------------ |
||
| 21 | */ |
||
| 22 | /** |
||
| 23 | * Get all posts status keys. |
||
| 24 | * |
||
| 25 | * @return array |
||
| 26 | */ |
||
| 27 | public static function keys() |
||
| 34 | } |
||
| 35 |