You are here

function filefield_source_remote_set_transfer_options in FileField Sources 6

Same name and namespace in other branches
  1. 7 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 329
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;
}