PHP Class CouponStatus

Afficher le fichier Open project: yupe/yupe Class Usage Examples

Méthodes publiques

Méthode Description
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

Method Details

all() public static méthode

Return key=>value statuses list
public static all ( ) : array
Résultat array

coloredLabel() public static méthode

Return status colored label
public static coloredLabel ( integer $id ) : string
$id integer Status ID
Résultat string

colors() public static méthode

Return CSS class names associated with status
public static colors ( ) : array
Résultat array

keys() public static méthode

Return statuses keys
public static keys ( ) : array
Résultat array

title() public static méthode

Return status title
public static title ( integer $id ) : string
$id integer Status ID
Résultat string