Lines Matching refs:type
23 * @return string Syntax type
30 * @return string Paragraph type
97 self::captionReferencesStorage($param['type'], $param);
147 $caprefs = self::getCaptionreferences($ID, $data['type']);
149 $caprefs = p_get_metadata($ID, 'captionreferences '.$data['type']);
168 $type = $data['type'];
169 if(!isset($renderer->meta['captionreferences'][$type])) {
170 $renderer->meta['captionreferences'][$type][] = '';
172 $renderer->meta['captionreferences'][$type][] = $data['caprefname'];
186 if($data['type'] == 'img') {
189 else if ($data['type'] == 'ggb') {
222 * @param string $type 'img' or 'tab'
227 static private function captionReferencesStorage($type, $captiondata = null, $id = null) {
233 if(!isset($captionreferences[$ID][$type])) {
234 $captionreferences[$ID][$type][] = '';
236 $captionreferences[$ID][$type][] = $captiondata['caprefname'];
244 return $captionreferences[$id][$type];
252 * @param string $type caption type 'img' or 'tab'
255 static public function getCaptionreferences($id, $type) {
256 return self::captionReferencesStorage($type, null, $id);
294 'type' => $captiontype
314 $data['type'].'_'.cleanID($data['caprefname']),
328 .$this->getLang($data['type'].'short').' '.$data['refnumber']