Lines Matching refs:R
132 * @param Doku_Renderer $R The renderer
136 public function render($mode, Doku_Renderer $R, $data) { argument
143 $R->doc .= '<div class="clearer"></div>';
144 $R->doc .= '<ul class="plugin_slider">';
147 $this->close_slide($R);
151 $this->open_slide($R, $img);
154 $this->close_slide($R);
157 $R->doc .= '</ul>';
158 $R->doc .= '<div class="clearer"></div>';
167 * @param Doku_Renderer $R
170 private function open_slide($R, $img){ argument
173 $R->doc .= '<li class="plugin_slider_hasimg">';
174 …$R->doc .= '<img src="'.ml($img, array('w'=>$this->getConf('width'))).'" class="plugin_slider_img"…
176 $R->doc .= '<li class="plugin_slider_noimg">';
180 $R->keepdoc = $R->doc;
181 $R->doc = '';
187 * @param Doku_Renderer $R
189 private function close_slide($R){ argument
191 $R->doc = preg_replace('/<p>\s*$/','',$R->doc);
192 $R->doc = preg_replace('/^\s*<\/p>\s*/','',$R->doc);
193 $R->doc = trim($R->doc);
196 if($R->doc){
197 $R->doc = '<div class="plugin_slider_content li">'.$R->doc.'</div>';
201 $R->doc = $R->keepdoc . $R->doc;
202 unset($R->keepdoc);
205 $R->doc .= '</li>';