You are here

function filefield_source_remote_set_transfer_options in FileField Sources 7

Same name and namespace in other branches
  1. 6 sources/remote.inc \filefield_source_remote_set_transfer_options()

Set a transfer key that can be retreived by the progress function.

2 calls to filefield_source_remote_set_transfer_options()
filefield_source_remote_get_transfer_options in sources/remote.inc
Get a transfer key that can be retrieved by the progress function.
filefield_source_remote_value in sources/remote.inc
A #filefield_value_callback function.

File

sources/remote.inc, line 385
A FileField extension to allow referencing of existing files.

Code

function filefield_source_remote_set_transfer_options($options = NULL) {
  static $current = FALSE;
  if (isset($options)) {
    $current = $options;
  }
  return $current;
}