Lines Matching refs:data
44 public function render_lexer_enter(Doku_Renderer $renderer, $data) {
45 if($data['attr'] != '') {
46 $data = array_merge($data, $this->callMikioTag('setattr', $data['attr']));
50 if($data['url'] != '') $tag = 'a';
52 if($data['grid-row-span'] != '') $data['grid-row-end'] = 'span ' . $data['grid-row-span'];
53 if($data['grid-col-span'] != '') $data['grid-col-end'] = 'span ' . $data['grid-col-span'];
55 if($data['grid-row'] != '') {
56 $parts = explode(' ', $data['grid-row']);
59 $data['grid-row-start'] = filter_var($parts[0], FILTER_VALIDATE_INT);
63 $data['grid-row-end'] = filter_var($parts[1], FILTER_VALIDATE_INT);
65 $data['grid-row-end'] = strtolower($parts[1]) . ' ' . filter_var($parts[2], FILTER_VALIDATE_INT);
69 if($data['grid-col'] != '') {
70 $parts = explode(' ', $data['grid-col']);
73 $data['grid-col-start'] = filter_var($parts[0], FILTER_VALIDATE_INT);
77 $data['grid-col-end'] = filter_var($parts[1], FILTER_VALIDATE_INT);
79 $data['grid-col-end'] = strtolower($parts[1]) . ' ' . filter_var($parts[2], FILTER_VALIDATE_INT);
83 $classes = $this->buildClass($data);
85 'width' => $data['width'],
86 'height' => $data['height'],
87 'border-radius' => $data['round'],
88 'border-color' => $data['border-color'],
89 'border-width' => $data['border-width'],
90 'color' => $data['color'],
91 'padding' => $data['padding'],
92 'margin' => $data['margin'],
93 'grid-row-start' => $data['grid-row-start'],
94 'grid-row-end' => $data['grid-row-end'],
95 'grid-column-start' => $data['grid-col-start'],
96 'grid-column-end' => $data['grid-col-end'],
100 $renderer->doc .= '<' . $tag . ($data['url'] != '' ? ' href="' . $data['url'] . '"' : '') . ' class="' . $this->elemClass . ' ' . $this->classPrefix . 'box'. $classes .'"' . $styles. '>';
101 if($data['reveal']) $renderer->doc .= '<div class="' . $this->elemClass . ' ' . $this->classPrefix . 'reveal">' . $data['reveal-text'] . '</div>';
105 public function render_lexer_exit(Doku_Renderer $renderer, $data) {
107 if($data['url'] != '') $tag = 'a';