1 | <?php |
||
21 | trait Base |
||
22 | { |
||
23 | /** |
||
24 | * @var array |
||
25 | */ |
||
26 | protected $exportFields = []; |
||
27 | |||
28 | /** |
||
29 | * @param DatagridMapper $mapper |
||
30 | */ |
||
31 | protected function configureDatagridFilters(DatagridMapper $mapper) |
||
35 | |||
36 | /** |
||
37 | * @param ListMapper $mapper |
||
38 | */ |
||
39 | protected function configureListFields(ListMapper $mapper) |
||
43 | |||
44 | /** |
||
45 | * @param FormMapper $mapper |
||
46 | */ |
||
47 | protected function configureFormFields(FormMapper $mapper) |
||
51 | |||
52 | /** |
||
53 | * @param ShowMapper $mapper |
||
54 | */ |
||
55 | protected function configureShowFields(ShowMapper $mapper) |
||
59 | |||
60 | /** |
||
61 | * {@inheritdoc} |
||
62 | **/ |
||
63 | public function getBatchActions() |
||
77 | |||
78 | /** |
||
79 | * {@inheritdoc} |
||
80 | **/ |
||
81 | public function getExportFormats() |
||
90 | |||
91 | /** |
||
92 | * {@inheritdoc} |
||
93 | */ |
||
94 | public function getExportFields() |
||
116 | |||
117 | // /** |
||
118 | // * {@inheritdoc} |
||
119 | // */ |
||
120 | // public function getDataSourceIterator() |
||
121 | // { |
||
122 | // $datagrid = $this->getDatagrid(); |
||
123 | // $datagrid->buildPager(); |
||
124 | // |
||
125 | // return $this->getModelManager()->getDataSourceIterator($datagrid, $this->getExportFields()); |
||
126 | // // return new Iterator($datagrid->getQuery()->getQuery(), $this->getExportFields()); |
||
127 | // } |
||
128 | } |
||
129 |
This check looks for access to methods that are not accessible from the current context.
If you need to make a method accessible to another context you can raise its visibility level in the defining class.