You are here

function RecordingCacheControlClient::clear_url in Akamai 6.2

Same name and namespace in other branches
  1. 8 akamai.class.inc \RecordingCacheControlClient::clear_url()
  2. 8.2 akamai.class.inc \RecordingCacheControlClient::clear_url()
  3. 7.3 akamai.class.inc \RecordingCacheControlClient::clear_url()
  4. 7 akamai.class.inc \RecordingCacheControlClient::clear_url()
  5. 7.2 akamai.class.inc \RecordingCacheControlClient::clear_url()

Records the paths passed in.

Overrides AkamaiCacheControl::clear_url

File

./akamai.class.inc, line 154
akamai.class.inc

Class

RecordingCacheControlClient
Implementation of the AkamaiCacheControl interface that records what was sent to it.

Code

function clear_url($paths) {
  if (!is_array($paths)) {
    $paths = array(
      $paths,
    );
  }
  $this->paths = $paths;
  return array(
    'success' => TRUE,
    'code' => '',
    'message' => '',
  );
}