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 Interchange

InterChange utilizes the data-interchange attribute for specifying your media queries and their respective images.

CWidget
Extended by foundation\widgets\base\Widget
Extended by foundation\widgets\Interchange
Namespace: foundation\widgets
Package: foundation\widgets
Author: Antonio Ramirez <amigo.cobos@gmail.com>
See: http://foundation.zurb.com/docs/components/interchange.html
Located at widgets/InterChange.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
# renderImage( )

Renders the interchange image

Renders the interchange image

Returns

string
the resulting img tag

Methods inherited from foundation\widgets\base\Widget

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

Magic methods summary

Properties summary

public string $src
#

the image source

the image source

public array $rules
#

interchange rules. The syntax is:

 'iterchange' => array(
     array('pathtoimage', 'rule'),
     array('pathtoimage', 'rule')
)

interchange rules. The syntax is:

 'iterchange' => array(
     array('pathtoimage', 'rule'),
     array('pathtoimage', 'rule')
)

Properties inherited from foundation\widgets\base\Widget

$assets, $htmlOptions, $links

YiiFoundation API documentation generated by ApiGen 2.8.0