class RecordingCacheControlClient in Akamai 7
Same name and namespace in other branches
- 8 akamai.class.inc \RecordingCacheControlClient
- 8.2 akamai.class.inc \RecordingCacheControlClient
- 6.2 akamai.class.inc \RecordingCacheControlClient
- 7.3 akamai.class.inc \RecordingCacheControlClient
- 7.2 akamai.class.inc \RecordingCacheControlClient
Implementation of the AkamaiCacheControl interface that records what was sent to it. Hint: This is only useful for testing.
Hierarchy
- class \RecordingCacheControlClient implements AkamaiCacheControl
Expanded class hierarchy of RecordingCacheControlClient
3 string references to 'RecordingCacheControlClient'
- AkamaiHomepageTestCase::setUp in ./
akamai.test - Sets up a Drupal site for running functional and integration tests.
- AkamaiHookTestCase::setUp in ./
akamai.test - Sets up a Drupal site for running functional and integration tests.
- AkamaiTestCase::setUp in ./
akamai.test - Sets up a Drupal site for running functional and integration tests.
File
- ./
akamai.class.inc, line 159 - akamai.class.inc Akamai is a registered trademark of Akamai Technologies, Inc. This class is an abstraction around the Akamai Cache Control API.
View source
class RecordingCacheControlClient implements AkamaiCacheControl {
public $paths;
public $options;
/**
* Constructs an instance of the Akamai Cache Control facade.
*/
function __construct($options = array()) {
$this->options = $options;
}
/**
* Records the paths passed in.
*/
function clear_url($paths) {
if (!is_array($paths)) {
$paths = array(
$paths,
);
}
$this->paths = $paths;
return array(
'success' => TRUE,
'code' => '',
'message' => '',
);
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
RecordingCacheControlClient:: |
public | property | ||
RecordingCacheControlClient:: |
public | property | ||
RecordingCacheControlClient:: |
function |
Records the paths passed in. Overrides AkamaiCacheControl:: |
||
RecordingCacheControlClient:: |
function | Constructs an instance of the Akamai Cache Control facade. |