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
2015-09-29 15:58:41 +10:00

32 lines
780 B
PHP

<?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() {
// Lowercase items can be seleted by users
// Upper case items can only be selected by Staff
return array(
'A'=>_('Absent NoShow'),
'a'=>_('Absent Notice'),
'C'=>_('Casual Placement'),
'c'=>_('Casual Request'),
'r'=>_('Reduce Days'),
'P'=>_('Permanent'),
'w'=>_('Waitlist'),
);
}
public static function get($value) {
return self::factory()->_get($value);
}
}
?>