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.
memberdb/application/classes/StaticList/Room/Children.php

32 lines
780 B
PHP
Raw Normal View History

2014-10-22 11:22:47 +00:00
<?php defined('SYSPATH') or die('No direct access allowed.');
/**
* This is class renders Room Children Status Codes.
*
* @package Membership Database
* @category Helpers
* @author Deon George
* @copyright (c) 2014 Deon George
* @license http://dev.leenooks.net/license.html
*/
class StaticList_Room_Children extends StaticList {
protected function _table() {
2014-12-01 03:01:02 +00:00
// Lowercase items can be seleted by users
// Upper case items can only be selected by Staff
2014-10-22 11:22:47 +00:00
return array(
2014-12-01 03:01:02 +00:00
'A'=>_('Absent NoShow'),
'a'=>_('Absent Notice'),
'C'=>_('Casual Placement'),
'c'=>_('Casual Request'),
'r'=>_('Reduce Days'),
'P'=>_('Permanent'),
'w'=>_('Waitlist'),
2014-10-22 11:22:47 +00:00
);
}
public static function get($value) {
return self::factory()->_get($value);
}
}
?>