PHP 클래스 WhTimeAgo

저자: Antonio Ramirez ([email protected])
상속: extends CWidget
파일 보기 프로젝트 열기: 2amigos/yiiwheels

공개 프로퍼티들

프로퍼티 타입 설명
$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.
$htmlOptions additional HTML attributes to the tag
$language the language
$pluginOptions plugin options
$selector the selector to initialize the widget. Defaults to widget id.
$tagName the HTML tag type

공개 메소드들

메소드 설명
init ( ) Widget's initialization method
registerClientScript ( ) Registers required client script for sparklines
run ( ) Widget's run method

메소드 상세

init() 공개 메소드

Widget's initialization method
public init ( )

registerClientScript() 공개 메소드

Registers required client script for sparklines

run() 공개 메소드

Widget's run method
public run ( )

프로퍼티 상세

$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.
public $date

$htmlOptions 공개적으로 프로퍼티

additional HTML attributes to the tag
public $htmlOptions

$language 공개적으로 프로퍼티

the language
public $language

$pluginOptions 공개적으로 프로퍼티

plugin options
public $pluginOptions

$selector 공개적으로 프로퍼티

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

$tagName 공개적으로 프로퍼티

the HTML tag type
public $tagName