| Total Complexity | 0 |
| Total Lines | 60 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 11 | class Content extends AdminController |
||
| 12 | { |
||
| 13 | const VERSION = '1.0.1'; |
||
| 14 | const ITEM_PER_PAGE = 10; |
||
| 15 | |||
| 16 | public $type = 'app'; |
||
| 17 | |||
| 18 | use Content\Boot; |
||
|
|
|||
| 19 | |||
| 20 | // import heavy actions |
||
| 21 | use Content\ActionIndex { |
||
| 22 | index as actionIndex; |
||
| 23 | } |
||
| 24 | |||
| 25 | use Content\ActionUpdate { |
||
| 26 | update as actionUpdate; |
||
| 27 | } |
||
| 28 | |||
| 29 | use Content\ActionDelete { |
||
| 30 | delete as actionDelete; |
||
| 31 | } |
||
| 32 | |||
| 33 | use Content\ActionRestore { |
||
| 34 | restore as actionRestore; |
||
| 35 | } |
||
| 36 | |||
| 37 | use Content\ActionClear { |
||
| 38 | clear as actionClear; |
||
| 39 | } |
||
| 40 | |||
| 41 | use Content\ActionCategoryList { |
||
| 42 | contentCategoryList as actionCategories; |
||
| 43 | } |
||
| 44 | |||
| 45 | use Content\ActionCategoryDelete { |
||
| 46 | categoryDelete as actionCategorydelete; |
||
| 47 | } |
||
| 48 | |||
| 49 | use Content\ActionCategoryUpdate { |
||
| 50 | categoryUpdate as actionCategoryupdate; |
||
| 51 | } |
||
| 52 | |||
| 53 | use Content\ActionGlobDelete { |
||
| 54 | globDelete as actionGlobdelete; |
||
| 55 | } |
||
| 56 | |||
| 57 | use Content\ActionPublish { |
||
| 58 | publish as actionPublish; |
||
| 59 | } |
||
| 60 | |||
| 61 | use Content\ActionDisplayChange { |
||
| 62 | display as actionDisplay; |
||
| 63 | } |
||
| 64 | |||
| 65 | use Content\ActionImportantChange { |
||
| 66 | important as actionImportant; |
||
| 67 | } |
||
| 68 | |||
| 69 | use Content\ActionSettings { |
||
| 70 | settings as actionSettings; |
||
| 71 | } |
||
| 73 |