Lines Matching refs:data
67 $data['error'] = 'File <b>"<i>' . $file . '</i>"</b> is <b>NOT SUPPORT!</b>';
68 return $data;
73 $data['error'] = 'File <b>"<i>' . $file . '</i>"</b> is <b>NOT EXIST!</b>';
74 return $data;
78 $data['width'] = '100%';
79 $data['height'] = '588px';
80 $data['start'] = '';
84 $data['swf'] = $file;
89 …$data['error'] = 'PHP Function <b>"<a href="http://php.net/manual/en/function.exec.php"><i>exec()<…
90 return $data;
104 $data['error'] = $lastline;
105 return $data;
109 $data['swf'] = $swf;
119 $data[$key] = $value;
122 $data[$key] = $value;
125 $data[$key] = $value;
133 $data['Scale'] = $this->getConf('Scale');
134 $data['ZoomTransition'] = "'" . $this->getConf('ZoomTransition') . "'";
135 $data['ZoomTime'] = $this->getConf('ZoomTime');
136 $data['ZoomInterval'] = $this->getConf('ZoomInterval');
137 $data['FitPageOnLoad'] = $this->getConf('FitPageOnLoad')?'true':'false';
138 $data['FitWidthOnLoad'] = $this->getConf('FitWidthOnLoad')?'true':'false';
140 $data['FullScreenAsMaxWindow'] = $this->getConf('FullScreenAsMaxWindow')?'true':'false';
141 $data['ProgressiveLoading'] = $this->getConf('ProgressiveLoading')?'true':'false';
142 $data['MaxZoomSize'] = $this->getConf('MaxZoomSize');
143 $data['MinZoomSize'] = $this->getConf('MinZoomSize');
144 $data['SearchMatchAll'] = $this->getConf('SearchMatchAll')?'true':'false';
145 $data['InitViewMode'] = "'" . $this->getConf('InitViewMode') . "'";
146 $data['PrintPaperAsBitmap'] = $this->getConf('PrintPaperAsBitmap')?'true':'false';
148 $data['ViewModeToolsVisible'] = $this->getConf('ViewModeToolsVisible')?'true':'false';
149 $data['ZoomToolsVisible'] = $this->getConf('ZoomToolsVisible')?'true':'false';
150 $data['NavToolsVisible'] = $this->getConf('NavToolsVisible')?'true':'false';
151 $data['CursorToolsVisible'] = $this->getConf('CursorToolsVisible')?'true':'false';
152 $data['SearchToolsVisible'] = $this->getConf('SearchToolsVisible')?'true':'false';
153 $data['localeChain'] = "'" . $this->getConf('localeChain') . "'";
155 return $data;
163 * @param array $data The data from the handler() function
166 public function render($mode, Doku_Renderer &$renderer, $data) { argument
169 if($data['error']) {
170 …ewer" class="plugin_flexpaper" style="background: #FFB; width: 100%">' . $data['error'] . '</div>'…
175 …aper" style="background: #DFD; width:' . $data['width'] . '; height:' . $data['height'] . '">' . m…
180 … SWFFile : escape(\'../..' . DOKU_REL . 'lib/exe/fetch.php?media=' . $data['swf'] . '\'),' . D…
182 $renderer->doc .= ' Scale : ' . $data['Scale'] . ',' . DOKU_LF;
183 $renderer->doc .= ' ZoomTransition : ' . $data['ZoomTransition'] .',' . DOKU_LF;
184 $renderer->doc .= ' ZoomTime : ' . $data['ZoomTime'] . ',' . DOKU_LF;
185 $renderer->doc .= ' ZoomInterval : ' . $data['ZoomInterval'] . ',' . DOKU_LF;
186 $renderer->doc .= ' FitPageOnLoad : ' . $data['FitPageOnLoad'] . ',' . DOKU_LF;
187 $renderer->doc .= ' FitWidthOnLoad : ' . $data['FitWidthOnLoad'] . ',' . DOKU_LF;
189 …$renderer->doc .= ' FullScreenAsMaxWindow : ' . $data['FullScreenAsMaxWindow'] . ',' . DOKU…
190 $renderer->doc .= ' ProgressiveLoading : ' . $data['ProgressiveLoading'] . ',' . DOKU_LF;
191 $renderer->doc .= ' MaxZoomSize : ' . $data['MaxZoomSize'] . ',' . DOKU_LF;
192 $renderer->doc .= ' MinZoomSize : ' . $data['MinZoomSize'] . ',' . DOKU_LF;
193 $renderer->doc .= ' SearchMatchAll : ' . $data['SearchMatchAll'] . ',' . DOKU_LF;
194 $renderer->doc .= ' InitViewMode : ' . $data['InitViewMode'] . ',' . DOKU_LF;
195 $renderer->doc .= ' PrintPaperAsBitmap : ' . $data['PrintPaperAsBitmap'] . ',' . DOKU_LF;
197 …$renderer->doc .= ' ViewModeToolsVisible : ' . $data['ViewModeToolsVisible'] . ',' . DOKU_L…
198 $renderer->doc .= ' ZoomToolsVisible : ' . $data['ZoomToolsVisible'] . ',' . DOKU_LF;
199 $renderer->doc .= ' NavToolsVisible : ' . $data['NavToolsVisible'] . ',' . DOKU_LF;
200 $renderer->doc .= ' CursorToolsVisible : ' . $data['CursorToolsVisible'] . ',' . DOKU_LF;
201 $renderer->doc .= ' SearchToolsVisible : ' . $data['SearchToolsVisible'] . ',' . DOKU_LF;
203 $renderer->doc .= ' StartAtPage : \'' . $data['start'] . '\',' . DOKU_LF;
206 $renderer->doc .= ' localeChain : ' . $data['localeChain'] . DOKU_LF;