YiiWheels
  • Package
  • Class
  • Tree

Packages

  • None
  • yiiwheels
    • behaviors
    • widgets
    • widgets
      • ace
      • box
      • datepicker
      • daterangepicker
      • datetimepicker
      • detail
      • fileupload
      • fileuploader
      • gallery
      • google
      • grid
        • behaviors
        • operations
      • highcharts
      • maskInput
      • maskmoney
      • modal
      • multiselect
      • rangeslider
      • redactor
      • select2
      • sparklines
      • switch
      • timeago
      • timepicker
      • toggle
      • typeahead

Classes

  • WhTimeAgo
  • WhTimeAgoFormatter

Class WhTimeAgo

CWidget
Extended by WhTimeAgo
Package: YiiWheels\widgets\timeago
Copyright: Copyright © 2amigos.us 2013-
License: New BSD License
Author: Antonio Ramirez <amigo.cobos@gmail.com>
Located at widgets/timeago/WhTimeAgo.php

Methods summary

public
# init( )

Widget's initialization method

Widget's initialization method

public
# run( )

Widget's run method

Widget's run method

public
# registerClientScript( )

Registers required client script for sparklines

Registers required client script for sparklines

Magic methods summary

Properties summary

public string $tagName
#

the HTML tag type

the HTML tag type

public array $htmlOptions
#

additional HTML attributes to the tag

additional HTML attributes to the tag

public array $pluginOptions
#

plugin options

plugin options

public string $language
#

the language

the language

See

js/locales
public string $selector
#

the selector to initialize the widget. Defaults to widget id.

the selector to initialize the widget. Defaults to widget id.

public string $date
#

the date to use the timeago against. If null, the widget will not render the tag, assuming that everything will be handled via the $selector.

the date to use the timeago against. If null, the widget will not render the tag, assuming that everything will be handled via the $selector.

YiiWheels API documentation generated by ApiGen 2.8.0