Test Failed
Push — master ( e3c39f...fe570d )
by Mihail
07:20
created

Apps/Controller/Admin/Content.php (5 issues)

Labels
Severity
1
<?php
2
3
namespace Apps\Controller\Admin;
4
5
use Extend\Core\Arch\AdminController;
6
7
/**
8
 * Class Content. Admin controller to manage & control contents
9
 * @package Apps\Controller\Admin
10
 */
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 {
0 ignored issues
show
The trait Apps\Controller\Admin\Content\ActionIndex requires the property $query which is not provided by Apps\Controller\Admin\Content.
Loading history...
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 {
0 ignored issues
show
The trait Apps\Controller\Admin\Content\ActionGlobDelete requires the property $query which is not provided by Apps\Controller\Admin\Content.
Loading history...
54
        globDelete as actionGlobdelete;
55
    }
56
57
    use Content\ActionPublish {
0 ignored issues
show
The trait Apps\Controller\Admin\Content\ActionPublish requires the property $query which is not provided by Apps\Controller\Admin\Content.
Loading history...
58
        publish as actionPublish;
59
    }
60
61
    use Content\ActionDisplayChange {
0 ignored issues
show
The trait Apps\Controller\Admin\Content\ActionDisplayChange requires the property $query which is not provided by Apps\Controller\Admin\Content.
Loading history...
62
        display as actionDisplay;
63
    }
64
65
    use Content\ActionImportantChange {
0 ignored issues
show
The trait Apps\Controller\Admin\Co...t\ActionImportantChange requires the property $query which is not provided by Apps\Controller\Admin\Content.
Loading history...
66
        important as actionImportant;
67
    }
68
69
    use Content\ActionSettings {
70
        settings as actionSettings;
71
    }
72
}
73