More library display enhancements
This commit is contained in:
@@ -3,12 +3,12 @@
|
||||
/**
|
||||
*
|
||||
* @package PTA
|
||||
* @subpackage Volume
|
||||
* @subpackage Device Classes
|
||||
* @category Models
|
||||
* @author Deon George
|
||||
* @copyright (c) 2010 phpTSMadmin Development Team
|
||||
* @license http://phptsmadmin.sf.net/license.html
|
||||
* @node This is model is using the plural name, as storage pools have an attribute with the singular name
|
||||
* @note This is model is using the plural name, as storage pools have an attribute with the singular name
|
||||
*/
|
||||
class Model_DEVCLASSES extends ORMTSM {
|
||||
protected $_table_name = 'DEVCLASSES';
|
||||
@@ -17,5 +17,9 @@ class Model_DEVCLASSES extends ORMTSM {
|
||||
'DEVTYPE'=>'ASC',
|
||||
'DEVCLASS_NAME'=>'ASC',
|
||||
);
|
||||
|
||||
protected $_has_many = array(
|
||||
'STGPOOL'=>array('foreign_key'=>'DEVCLASS','far_key'=>'DEVCLASS_NAME'),
|
||||
);
|
||||
}
|
||||
?>
|
||||
|
Reference in New Issue
Block a user