Lines Matching refs:tooltip
29 'desc' => 'Manually construct a tooltip',
32 'tooltip' => 'string',
42 'desc' => 'Generate a tooltip from a wikilink',
57 * Return a simple tooltip.
60 * @param string $tooltip - The tooltip content. Newlines will be rendered as line breaks.
61 * @param string $title - The title inside the tooltip.
63 * @param string $classes - CSS classes to add to this tooltip.
67 public function forText($content, $tooltip, $title='', $preTitle = '', $classes = '', $textClasses = '') {
81 $partCount = (empty($title) ? 0 : 1) + (empty($preTitle) ? 0 : 1) + (empty($tooltip) ? 0 : 1);
82 if ($partCount > 1 || strchr($tooltip, "\n") !== FALSE || strlen($tooltip) > 40) {
100 if (!empty($tooltip)) {
101 $contentParts[] = $this->_formatTT($tooltip);
117 * Render a tooltip, with the title and abstract of a page.
121 * @param string $preTitle - Text to display before the title in the tooltip. Newlines will be rendered as line breaks.
122 * @param string $classes - CSS classes to add to this tooltip.
160 * Strip the native title= tooltip from an anchor tag.
208 * Format tooltip text.