return $vols['vols_count'];
}
- public function getStoredFiles( $start_timestamp, $end_timestamp, $job_name = 'ALL' )
+ public function getStoredFiles( $start_timestamp, $end_timestamp, $job_name = 'ALL', $client = 'ALL' )
{
$query = "";
$start_date = date( "Y-m-d H:i:s", $start_timestamp);
if( $job_name != 'ALL' )
$query .= " AND name = '$job_name'";
+ if( $client != 'ALL' )
+ $query .= " AND clientid = '$client'";
+
// Execute query
try {
$result = $this->db_link->runQuery( $query );