This repository has been archived on 2024-04-08. You can view files and clone it, but cannot push or open issues or pull requests.
lnapp/classes/lnApp/StaticList/Day.php

30 lines
633 B
PHP

<?php defined('SYSPATH') or die('No direct access allowed.');
/**
* This is class renders the name of the day.
*
* @package lnApp
* @category Helpers
* @author Deon George
* @copyright (c) 2014 Deon George
* @license http://dev.leenooks.net/license.html
*/
abstract class lnApp_StaticList_Day extends StaticList {
protected function _table() {
return array(
'0'=>_('Sunday'),
'1'=>_('Monday'),
'2'=>_('Tuesday'),
'3'=>_('Wednesday'),
'4'=>_('Thursday'),
'5'=>_('Friday'),
'6'=>_('Saturday'),
);
}
public static function get($value) {
return self::factory()->_get($value);
}
}
?>