You are here

class ErrorCacheControlClient in Akamai 7.3

Same name and namespace in other branches
  1. 8 akamai.class.inc \ErrorCacheControlClient
  2. 8.2 akamai.class.inc \ErrorCacheControlClient
  3. 6.2 akamai.class.inc \ErrorCacheControlClient
  4. 7 akamai.class.inc \ErrorCacheControlClient
  5. 7.2 akamai.class.inc \ErrorCacheControlClient

Implementation of the AkamaiCacheControl interface that throws AkamaiException. Hint: This is only useful for testing.

Hierarchy

Expanded class hierarchy of ErrorCacheControlClient

File

./akamai.class.inc, line 180
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 ErrorCacheControlClient implements AkamaiCacheControl {

  /**
   * Constructs an instance of the Akamai Cache Control facade.
   */
  function __construct($options = array()) {
  }

  /**
   * Records the paths passed in.
   */
  function clear_url($paths) {
    throw new AkamaiException(t('Akamai Failure Condition Test'));
  }

}

Members

Namesort descending Modifiers Type Description Overrides
ErrorCacheControlClient::clear_url function Records the paths passed in. Overrides AkamaiCacheControl::clear_url
ErrorCacheControlClient::__construct function Constructs an instance of the Akamai Cache Control facade.