You are here

function _oa_sitemap_batch_goto in Open Atrium Sitemap 7.2

Helper function to capture the Batch API redirect URL.

Parameters

string $url: (optional) URL to redirect to.

array $options: (optional) URL options.

Return value

string|NULL If a URL is passed in, it'll return NULL; otherwise it'll return an array containing the arguments that this function was last called with.

1 call to _oa_sitemap_batch_goto()
oa_sitemap_update_callback in ./oa_sitemap.module
Ajax Callback for updating fields in a space from the sitemap
1 string reference to '_oa_sitemap_batch_goto'
oa_sitemap_update_callback in ./oa_sitemap.module
Ajax Callback for updating fields in a space from the sitemap

File

./oa_sitemap.module, line 93

Code

function _oa_sitemap_batch_goto($url = NULL, $options = array()) {
  static $cache;
  if (is_null($url)) {
    return $cache;
  }
  $cache = array(
    $url,
    $options,
  );
}