PHP 클래스 CouponStatus

파일 보기 프로젝트 열기: yupe/yupe 1 사용 예제들

공개 메소드들

메소드 설명
all ( ) : array Return key=>value statuses list
coloredLabel ( integer $id ) : string Return status colored label
colors ( ) : array Return CSS class names associated with status
keys ( ) : array Return statuses keys
title ( integer $id ) : string Return status title

메소드 상세

all() 공개 정적인 메소드

Return key=>value statuses list
public static all ( ) : array
리턴 array

coloredLabel() 공개 정적인 메소드

Return status colored label
public static coloredLabel ( integer $id ) : string
$id integer Status ID
리턴 string

colors() 공개 정적인 메소드

Return CSS class names associated with status
public static colors ( ) : array
리턴 array

keys() 공개 정적인 메소드

Return statuses keys
public static keys ( ) : array
리턴 array

title() 공개 정적인 메소드

Return status title
public static title ( integer $id ) : string
$id integer Status ID
리턴 string