public function remaining_download($base_id)
    {
        $this->load_rights_bas();

        if (!$this->has_access_to_base($base_id)) {
            return false;
        }

        return (int) $this->_rights_bas[$base_id]['remain_dwnld'];
    }
public function remaining_download($base_id)
    {
        $this->load_rights_bas();

        if (!$this->has_access_to_base($base_id)) {
            return false;
        }

        return (int) $this->_rights_bas[$base_id]['remain_dwnld'];
    }
public function remaining_download ( $ base_id ) { $ this -> load_rights_bas ( ) ; if ( ! $ this -> has_access_to_base ( $ base_id ) ) { return false ; } return ( int ) $ this -> _rights_bas [ $ base_id ] [ 'remain_dwnld' ] ; }
Return the number of remaining downloads on the collection

@param  int $base_id
@return int
Return the number of remaining downloads on the collection