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.
tsmac/modules/tsm/classes/lnApp/Model/ADMIN.php
2014-10-06 21:57:54 +11:00

33 lines
749 B
PHP

<?php defined('SYSPATH') or die('No direct access allowed.');
/**
* TSM Administrator Model
*
* @package TSM Database Module
* @category Models
* @author Deon George
* @copyright (c) 2010-2014 Deon George
* @license http://dev.leenooks.net/license.html
*/
abstract class lnApp_Model_ADMIN extends ORM_TSM {
protected $_table_name = 'ADMINS';
protected $_primary_key = 'ADMIN_NAME';
protected $_display_filters = array(
'LASTACC_TIME'=>array(
array('ORM_TSM::Date',array(':value','d-M-Y')),
),
'PWSET_TIME'=>array(
array('ORM_TSM::Date',array(':value','d-M-Y')),
),
'REG_TIME'=>array(
array('ORM_TSM::Date',array(':value','d-M-Y')),
),
);
public function name() {
return $this->ADMIN_NAME;
}
}
?>