function RecordingCacheControlClient::clear_url in Akamai 7.2
Same name and namespace in other branches
- 8 akamai.class.inc \RecordingCacheControlClient::clear_url()
- 8.2 akamai.class.inc \RecordingCacheControlClient::clear_url()
- 6.2 akamai.class.inc \RecordingCacheControlClient::clear_url()
- 7.3 akamai.class.inc \RecordingCacheControlClient::clear_url()
- 7 akamai.class.inc \RecordingCacheControlClient::clear_url()
Records the paths passed in.
Overrides AkamaiCacheControl::clear_url
File
- ./
akamai.class.inc, line 162 - akamai.class.inc Akamai is a registered trademark of Akamai Technologies, Inc. This class is an abstraction around the Akamai Cache Control API.
Class
- RecordingCacheControlClient
- Implementation of the AkamaiCacheControl interface that records what was sent to it. Hint: This is only useful for testing.
Code
function clear_url($paths) {
if (!is_array($paths)) {
$paths = array(
$paths,
);
}
$this->paths = $paths;
return (object) array(
'success' => TRUE,
'code' => '',
'message' => '',
);
}