YiiFoundation
  • Namespace
  • Class
  • Tree

Namespaces

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

Classes

  • Alert
  • ArrayHelper
  • Button
  • Foundation
  • Html
  • Icon
  • Nav
  • Panel
  • Pricing
  • Progress
  • Typo

Class Typo

Typo facilitates the rendering of HTML components as specified on Typography section at Foundation's site. Most common are not included as we believe they can be easily done with [[\CHtml]] yii helper class.

Namespace: foundation\helpers
Package: foundation\helpers
Author: Antonio Ramirez <amigo.cobos@gmail.com>
See: http://foundation.zurb.com/docs/components/type.html
Located at helpers/Typo.php

Methods summary

public static string
# subHeader( string $text, string $tag = 'h1' )

Renders a subheader

Renders a subheader

Parameters

$text
string
$text the text to render within
$tag
string
$tag the header tag to render. From h1 till h6.

Returns

string
the generated subheader
public static string
# i( string $text )

Makes a text italic.

Makes a text italic.

Parameters

$text
string
$text the text to make italic

Returns

string
the generated tag
public static string
# blockquote( string $text )

Renders a blockquote. Included as they have special style for them.

Renders a blockquote. Included as they have special style for them.

Parameters

$text
string
$text the text to render within the blockquote

Returns

string
the generated blockquote
public static string
# vCard( string $name, string $address = '', string $locality = '', string $state = '', string $zip = '', string $email = '' )

Renders a handy microformat-friendly list for addresses

Renders a handy microformat-friendly list for addresses

Parameters

$name
string
$name
$address
string
$address
$locality
string
$locality
$state
string
$state
$zip
string
$zip
$email
string
$email

Returns

string
the generated vcard
public static string
# inlineList( array $items )

Renders and inline list

Renders and inline list

Parameters

$items
array
$items the items to render

Returns

string
the generated list
public static string
# label( string $text, array $htmlOptions = array() )

Renders a Foundation label

Renders a Foundation label

Parameters

$text
string
$text the text to render within the label
$htmlOptions
array
$htmlOptions the HTML attributes

Returns

string
the generated label
public static string
# kbd( string $text )

Renders a special kbd tag

Renders a special kbd tag

Parameters

$text
string
$text the text (command) to render within

Returns

string
the generated tag

Magic methods summary

YiiFoundation API documentation generated by ApiGen 2.8.0