Total Complexity | 3 |
Total Lines | 52 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
18 | class ErrorLogAdmin extends Admin |
||
|
|||
19 | { |
||
20 | protected $datagridValues = array( |
||
21 | '_page' => 1, |
||
22 | '_sort_order' => 'DESC', |
||
23 | '_sort_by' => 'date_created' |
||
24 | ); |
||
25 | |||
26 | /** |
||
27 | * @{inheritDoc} |
||
28 | */ |
||
29 | public function configureListFields(ListMapper $listMapper) |
||
44 | ) |
||
45 | ) |
||
46 | ); |
||
47 | } |
||
48 | |||
49 | /** |
||
50 | * @{inheritDoc} |
||
51 | */ |
||
52 | protected function configureShowFields(ShowMapper $show) |
||
53 | { |
||
54 | $show |
||
55 | ->add('date_created') |
||
56 | ->add('status') |
||
57 | ->add('url') |
||
58 | ->add('ip') |
||
59 | ->add('referer') |
||
60 | ->add('ua') |
||
61 | ->add('message'); |
||
62 | } |
||
63 | |||
64 | /** |
||
65 | * @{inheritdoc} |
||
66 | */ |
||
67 | protected function configureRoutes(RouteCollection $collection) |
||
70 | } |
||
71 | } |
||
72 |