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 Breadcrumbs

Breadcrumbs renders a Foundation breadcrumb

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

Methods summary

public
# init( )

Widget's init method

Widget's init method

Overrides

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

Renders the widget

Renders the widget

public
# initItems( )

Initializes menu items

Initializes menu items

public
# renderItems( )

Renders breadcrumbs

Renders breadcrumbs

public
# renderItem( string $label, array $options = array() )

Generates the rendering of a breadcrumb item

Generates the rendering of a breadcrumb item

Parameters

$label
string
$label
$options
array
$options

Methods inherited from foundation\widgets\base\Widget

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

Magic methods summary

Properties summary

public boolean $encodeLabel
#

whether to HTML encode the link labels.

whether to HTML encode the link labels.

public string $homeLabel
#

the label for the first link in the breadcrumb.

the label for the first link in the breadcrumb.

public array $homeUrl
#

the url for the first link in the breadcrumb

the url for the first link in the breadcrumb

public string $tagName
#

the tag name to be used. Possible: 'nav' | 'ul'. Defaults to 'ul'.

the tag name to be used. Possible: 'nav' | 'ul'. Defaults to 'ul'.

public array $items
#

$items the items of breadcrumbs. The format is as follows:

 'label'=>'#',
 'label'=>array('url'=>'#', 'options'=>array())

$items the items of breadcrumbs. The format is as follows:

 'label'=>'#',
 'label'=>array('url'=>'#', 'options'=>array())

Properties inherited from foundation\widgets\base\Widget

$assets, $htmlOptions, $links

YiiFoundation API documentation generated by ApiGen 2.8.0