Lines Matching defs:R
46 * @param \Doku_Renderer $R the renderer currently used to render the data
50 public function renderValue($value, \Doku_Renderer $R, $mode)
57 if (!empty($R->info['struct_table_hash'])) {
64 if (is_a($R, '\Doku_Renderer_xhtml')) {
65 /** @var \Doku_Renderer_xhtml $R */
66 $html = $R->internalmedia($value, null, null, $width, $height, null, 'direct', true);
68 $R->internalmedia($value, null, null, $width, $height, null, 'direct');
70 } elseif (is_a($R, '\Doku_Renderer_xhtml')) {
71 /** @var \Doku_Renderer_xhtml $R */
72 $html = $R->externalmedia($value, null, null, $width, $height, null, 'direct', true);
74 $R->externalmedia($value, null, null, $width, $height, null, 'direct');
81 $hash = empty($R->info['struct_table_hash']) ? '' : "[gal-" . $R->info['struct_table_hash'] . "]";
84 $R->doc .= $html;
124 public function renderTagCloudLink($value, \Doku_Renderer $R, $mode, $page, $filter, $weight, $showCount = null)
131 $R->doc .= "<div style=\"height:{$weight}px; width:{$weight}px\">";
132 $R->doc .= "<a href='$url' class='struct_image' style='background-image:url(\"$image\")'
134 $R->doc .= "<span class='a11y'>$media_escaped</span>";
135 $R->doc .= "</a>";
136 $R->doc .= "</div>";
139 $R->internallink("$page?$filter", $media);