You are here

function _uc_file_get_fpid in Ubercart 6.2

Same name and namespace in other branches
  1. 8.4 uc_file/uc_file.module \_uc_file_get_fpid()
  2. 7.3 uc_file/uc_file.module \_uc_file_get_fpid()

Gets a file_product id from a product feature id.

1 call to _uc_file_get_fpid()
uc_file_feature_form_submit in uc_file/uc_file.module
Submit handler for uc_file_feature_form().

File

uc_file/uc_file.module, line 976

Code

function _uc_file_get_fpid($pfid) {
  return db_result(db_query("SELECT fpid FROM {uc_file_products} WHERE pfid = %d", $pfid));
}