YiiFoundation
  • Namespace
  • Class
  • Tree

Namespaces

  • foundation
    • enum
    • exception
    • helpers
    • widgets
      • base
  • PHP

Classes

  • Alert
  • Breadcrumbs
  • Clearing
  • Dropdown
  • FlexVideo
  • Interchange
  • JoyRide
  • Magellan
  • Orbit
  • Pager
  • Reveal
  • Section
  • SwitchButton
  • Tooltip
  • TopBar

Class Tooltip

Tooltip renders Foundation tooltips

CWidget
Extended by foundation\widgets\base\Widget
Extended by foundation\widgets\Tooltip
Namespace: foundation\widgets
Package: foundation\widgets
Author: Antonio Ramirez <amigo.cobos@gmail.com>
See: http://foundation.zurb.com/docs/components/reveal.html
Located at widgets/Tooltip.php

Methods summary

public
# init( )

Initializes the widget

Initializes the widget

Overrides

foundation\widgets\base\Widget::init
public
# run( )

Renders the widget

Renders the widget

public string
# renderTooltip( )

Returns the tooltip tag

Returns the tooltip tag

Returns

string
the rendering result
public
# registerClientScript( )

Registers plugin options and events (if any)

Registers plugin options and events (if any)

Methods inherited from foundation\widgets\base\Widget

display(), registerAssets(), registerEvents(), registerPlugin()

Magic methods summary

Properties summary

public string $tip
#

the tooltip text

the tooltip text

public string $text
#

the text that will trigger the tooltip on hover

the text that will trigger the tooltip on hover

public string $position
#

the position of the tooltip

the position of the tooltip

public array $pluginOptions
#

the options of the plugin. For more information, see http://foundation.zurb.com/docs/components/tooltips.html

the options of the plugin. For more information, see http://foundation.zurb.com/docs/components/tooltips.html

Properties inherited from foundation\widgets\base\Widget

$assets, $htmlOptions, $links

YiiFoundation API documentation generated by ApiGen 2.8.0