Lines Matching refs:return
17 function getType(){ return 'container'; }
18 function getPType(){ return 'stack'; }
20 return array('container', 'baseonly', 'substition','protected','disabled','formatting','paragraphs');
24 return 189;
30 if ($mode == substr(get_class($this), 7)) return true;
31 return parent::accepts($mode);
46 $return = array('text' => $this->getLang('switch.default'), 'type' => 'switch');
49 $return['text'] = $match;
51 $return['text'] = htmlspecialchars($return['text']);
52 return $return;
55 $return = array(
78 $return['initialState'] = 'visible';
84 $return['printHead'] = false;
91 $return['editText'] = end($found);
93 $return['edit'] = true;
103 $return['active'] = false;
112 $return['element'] = explode(' ', $element[1]);
116 $this->_grepOption($return, 'onHidden', $match);
117 $this->_grepOption($return, 'onVisible', $match);
118 $this->_grepOption($return, 'onExportPdf', $match);
121 if( $return['onHidden']=='' && $return['onVisible']=='' ){
124 $return['onHidden'] = $text;
125 $return['onVisible'] = $text;
127 $return['onHidden'] = $this->getConf('default_text_when_hidden');
128 $return['onVisible'] = $this->getConf('default_text_when_displayed');
131 $return['onHidden'] = ($return['onHidden']!='') ? $return['onHidden'] : $this->getConf('default_text_when_hidden');
132 $return['onVisible'] = ($return['onVisible']!='') ? $return['onVisible'] : $this->getConf('default_text_when_displayed');
136 if ( $return['onExportPdf'] == '' ){
137 $return['onExportPdf'] = $return['onVisible'];
140 return $return;
143 return array('state'=>$state, 'text'=>$match);
146 return array('state'=>$state, 'bytepos_end' => $pos + strlen($match));
165 return true;
221 return true;
228 return true;
231 return false;
236 return ($ACT == 'export_pdf' || $ACT == 'export_pdfbook' || $ACT == 'export_odt');