Lines Matching refs:type

70     private function isSubType($type) {  argument
71 return (substr($type, 0, 3) == 'sub');
74 private function getParType($type) { argument
75 return substr($type, 3);
93 $type = $match_arr[0];
99 $type_counter_def = '_'.$type.'_count';
104 $this->_type = $type;
116 if ($this->isSubType($type)) {
117 $partype = $this->getParType($type);
121 $this->caption_count[$label] = array($type, $type_counter, $parcount);
126 if (!$this->isSubType($type)){
133 … $params['xhtml']['tagtype'] = (in_array($type, ['figure', 'subfigure']) ? 'figure' : 'div');
136 $params['type'] = $type;
145 $type = $this->_type;
147 …$params['xhtml']['captagtype'] = (in_array($type, ['figure', 'subfigure']) ? 'figcaption' : 'div');
149 $params['type_counter'] = $this->{'_'.$type.'_count'};
150 $params['type'] = $type;
161 $type = $this->_type;
163 if (substr($type, 0, 3) == 'sub') {
165 $this->_type = substr($type, 3);
170 $this->{'_sub'.$type.'_count'} = 0;
172 $params['type'] = $type;
173 … $params['xhtml']['tagtype'] = (in_array($type, ['figure', 'subfigure']) ? 'figure' : 'div');
182 list($type,$num) = explode('=',trim($match));
184 $type = trim($type);
187 if (!in_array($type,$this::$_types)) {
192 $this->{'_'.$type.'_count'} = $num-1;
227 $type = $params['type'];
235 … $markup = '<'.$tagtype.' class="plugin_latexcaption_'.$type.' plugin_latexcaption_'.$classes.'" ';
250 $type = $params['type'];
265 if (substr($type, 0, 3) == 'sub') {
269 $markup .= $this->getLang($type.$langset).' '. $count.$separator;
297 $type = $params['type'];
298 if (!in_array($type, ['figure', 'table', 'subfigure'])){
304 $renderer->doc .= "\begin{$type}";
327 $renderer->doc .= "\end{$type}";
340 $type = $params['type'];
341 if (!in_array($type, ['figure', 'table'])) {
352 $type = $params['type'];
357 $style_name = ($type == 'figure' ? 'Illustration' : 'Table');
361 $out .= $this->getLang($type.$langset);