Lines Matching defs:m
121 $m = array('depth' => $depth);
125 $m += array(
129 if ($matches[2] == ':') $m += array('p' => 1);
131 $m += array('mk' => $match);
135 $m += array('list' => NULL, 'item' => NULL);
138 $m += array('list' => NULL, 'item' => NULL);
140 $m += array('p' => 1);
142 $m['mk'] = '';
146 $m += array('list' => 'ol', 'item' => 'li');
147 if ($match == '-:') $m += array('p' => 1);
150 $m += array('list' => 'ul', 'item' => 'li');
151 if ($match == '*:') $m += array('p' => 1);
154 $m += array('list' => 'dl', 'item' => 'dt');
155 if ($match == ';') $m += array('class' => 'compact');
158 $m += array('list' => 'dl', 'item' => 'dd');
159 if ($match == '::') $m += array('p' => 1);
163 //error_log('extlist intpret: $m='.var_export($m,1));
164 return $m;
230 private function _openList($m, $pos, $match, $handler)
232 $tag = $m['list'];
235 $attr = isset($m['num']) ? 'start="'.$m['num'].'"' : '';
257 private function _closeList($m, $pos, $match, $handler)
259 $tag = $m['list'];
269 private function _openItem($m, $pos, $match, $handler)
271 $tag = $m['item'];
272 switch ($m['mk']) {
276 $this->olist_info[$this->olist_level] = $m['num'];
278 $attr = ' value="'.$m['num'].'"';
282 $attr = 'class="'.$m['class'].'"';
293 private function _closeItem($m, $pos, $match, $handler)
295 $tag = $m['item'];
302 private function _openWrapper($m, $pos, $match, $handler)
304 switch ($m['mk']) {
324 private function _closeWrapper($m, $pos, $match, $handler)
326 switch ($m['mk']) {