Fixes for KH 3.3 - to do with case file names
This commit is contained in:
28
application/classes/Model/MEDIA.php
Normal file
28
application/classes/Model/MEDIA.php
Normal file
@@ -0,0 +1,28 @@
|
||||
<?php defined('SYSPATH') or die('No direct access allowed.');
|
||||
|
||||
/**
|
||||
*
|
||||
* @package PTA
|
||||
* @subpackage Media
|
||||
* @category Models
|
||||
* @author Deon George
|
||||
* @copyright (c) 2010 phpTSMadmin Development Team
|
||||
* @license http://phptsmadmin.sf.net/license.html
|
||||
*/
|
||||
class Model_MEDIA extends TSM_ORM {
|
||||
protected $_table_name = 'MEDIA';
|
||||
protected $_primary_key = 'VOLUME_NAME';
|
||||
protected $_sorting = array(
|
||||
'VOLUME_NAME'=>'ASC',
|
||||
);
|
||||
|
||||
protected $_has_one = array(
|
||||
);
|
||||
protected $_has_many = array(
|
||||
);
|
||||
|
||||
public function inlib() {
|
||||
return in_array($this->STATE,array('MOUNTABLEINLIB','Mountable in library'));
|
||||
}
|
||||
}
|
||||
?>
|
Reference in New Issue
Block a user