Lines Matching refs:data
69 foreach ($events_dispatcher as $event => $data) {
70 list($advise, $methods) = $data;
85 $form = $event->data;
88 ->attrs(['data-dw-icon' => 'mdi:account', 'data-dw-icon-target' => 'legend']);
91 ->addClass('btn-success')->attr('data-dw-icon', 'mdi:lock');
97 $form = $event->data;
100 ->attrs(['data-dw-icon' => 'mdi:lock-reset', 'data-dw-icon-target' => 'legend']);
103 ->addClass('btn-success')->attr('data-dw-icon', 'mdi:arrow-right');
110 $form = $event->data;
113 ->attrs(['data-dw-icon' => 'mdi:account-plus', 'data-dw-icon-target' => 'legend']);
116 ->addClass('btn-success')->attr('data-dw-icon', 'mdi:arrow-right');
122 $form = $event->data;
141 $form = $event->data;
158 $form = $event->data;
161 ->addClass('btn-success')->attr('data-dw-icon', 'mdi:arrow-right');
164 ->attrs(['data-dw-icon' => 'mdi:account-card-details-outline', 'data-dw-icon-target' => 'legend']);
170 $form = $event->data;
173 ->addClass('btn-danger')->attr('data-dw-icon', 'mdi:arrow-right');
176 ->attrs(['data-dw-icon' => 'mdi:account-remove', 'data-dw-icon-target' => 'legend']);
184 $form = $event->data;
187 ->addClass('btn btn-success mr-2')->attr('data-dw-icon', 'mdi:content-save');
190 ->addClass('btn btn-default mr-2')->attr('data-dw-icon', 'mdi:file-document-outline');
193 ->addClass('btn btn-default mr-2')->attr('data-dw-icon', 'mdi:arrow-left');
223 foreach ($event->data->_content as $key => $item) {
254 $event->data->_content[$key]['_legend'] = (($title_icon) ? iconify("mdi:$title_icon") : '') . ' ' . $event->data->_content[$key]['_legend'];
259 $event->data->_content[$key]['class'] = " $button_class";
260 $event->data->_content[$key]['value'] = (($button_icon) ? iconify("mdi:$button_icon") : '') . ' ' . $event->data->_content[$key]['value'];
275 foreach ($event->data->_content as $key => $item) {
278 $event->data->_content[$key]['class'] = ' btn btn-danger';
279 $event->data->_content[$key]['value'] = iconify('mdi:close') . ' ' . $event->data->_content[$key]['value'];
283 $event->data->_content[$key]['value'] = iconify('mdi:refresh') . ' ' . $event->data->_content[$key]['value'];
287 $event->data->_content[$key]['value'] = iconify('mdi:arrow-left') . ' ' . $event->data->_content[$key]['value'];
302 foreach ($event->data->_content as $key => $item) {
306 $event->data->_content[$key]['class'] = ' btn btn-success';
307 $event->data->_content[$key]['value'] = iconify('mdi:content-save') . ' ' . $event->data->_content[$key]['value'];
312 $event->data->_content[$key]['value'] = iconify('mdi:file-document-outline') . ' ' . $event->data->_content[$key]['value'];
317 $event->data->_content[$key]['value'] = iconify('mdi:arrow-left') . ' ' . $event->data->_content[$key]['value'];
332 foreach ($event->data->_content as $key => $item) {
337 $event->data->_content[$key]['class'] .= ' label label-success';
341 $event->data->_content[$key]['class'] .= ' label label-danger';
347 $event->data->_content[$key]['class'] .= ' text-muted';
355 $event->data = $this->template->normalizeContent($event->data);
361 array_unshift($event->data['listItemContent'], iconify('mdi:file-document-outline', ['title' => hsc($event->data['page'])]) . ' ');
365 $event->data['resultBody']['meta'] = str_replace(
368 '<small>' . $event->data['resultBody']['meta'] . '</small>'
390 $event->data['script'][] = [
417 $event->data['style'][] = [
426 $event->data['class'] .= ' tag label label-default mx-1';
427 $event->data['title'] = iconify('mdi:tag-text-outline') . ' ' . $event->data['title'];
432 $event->data['header'] = 'Header of page below the navbar (header)';
433 $event->data['topheader'] = 'Top Header of page (topheader)';
434 $event->data['pagefooter'] = 'Footer below the page content (pagefooter)';
435 $event->data['pageheader'] = 'Header above the page content (pageheader)';
436 $event->data['sidebarfooter'] = 'Footer below the sidebar (sidebarfooter)';
437 $event->data['sidebarheader'] = 'Header above the sidebar (sidebarheader)';
438 $event->data['rightsidebarfooter'] = 'Footer below the right-sidebar (rightsidebarfooter)';
439 $event->data['rightsidebarheader'] = 'Header above the right-sidebar (rightsidebarheader)';