Lines Matching refs:classes
35 'classes (optional)' => 'string',
47 'classes (optional)' => 'string',
63 * @param string $classes - CSS classes to add to this tooltip.
64 * @param string $textClasses - CSS classes to add to the linked text.
67 public function forText($content, $tooltip, $title='', $preTitle = '', $classes = '', $textClasses = '') {
68 if (empty($classes)) {
69 $classes = $this->getConf('style');
71 if (empty($classes)) {
72 $classes = 'default';
77 $classes = htmlspecialchars($classes);
78 // Add the plugin prefix to all classes.
79 $classes = preg_replace('/(\w+)/', 'plugin-autotooltip__$1', $classes);
83 $classes .= ' plugin-autotooltip_big';
106 '<span class="plugin-autotooltip-hidden-classes">' . $classes . '</span>' .
122 * @param string $classes - CSS classes to add to this tooltip.
123 * @param string $textClasses - CSS classes to add to the linked text.
126 public function forWikilink($id, $content = null, $preTitle = '', $classes = '', $textClasses = '') {
137 return $this->forText($link, $meta['abstract'], $title, $preTitle, $classes, $textClasses);