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 Alert

Alert renders a Foundation style alert from messages stored on user session variables -named Flash messages.

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

Methods summary

public
# init( )

Initializes the widget

Initializes the widget

Throws

foundation\exception\InvalidConfigException

Overrides

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

Renders the widget

Renders the widget

public string
# renderAlert( )

Renders the alert

Renders the alert

Returns

string
the rendering result

Methods inherited from foundation\widgets\base\Widget

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

Magic methods summary

Properties summary

public array $config
#

the alerts configurations (style=>config)

the alerts configurations (style=>config)

public string|boolean $closeText
#

the close link text. If this is set false, no close link will be displayed.

the close link text. If this is set false, no close link will be displayed.

public string[] $events
#

the JavaScript event configuration (name=>handler).

the JavaScript event configuration (name=>handler).

Properties inherited from foundation\widgets\base\Widget

$assets, $htmlOptions, $links

YiiFoundation API documentation generated by ApiGen 2.8.0