Updated Domain and Node views
This commit is contained in:
@@ -41,5 +41,13 @@ class Model_VOLUME extends ORMTSM {
|
||||
public function getNodesOnVol($dtype) {
|
||||
return $this->VOLUMEUSAGE->select('NODE_NAME')->distinct(TRUE)->where('COPY_TYPE','=',$dtype)->find_all()->count();
|
||||
}
|
||||
|
||||
public function isScratch() {
|
||||
return $this->SCRATCH === 'YES' ? TRUE : FALSE;
|
||||
}
|
||||
|
||||
public function location() {
|
||||
return $this->display('LOCATION');
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
Reference in New Issue
Block a user