You are here

class PurgeTargetDrupal in Purge 7.2

Class definition for the Drupal Target.

Hierarchy

Expanded class hierarchy of PurgeTargetDrupal

File

includes/purge.class.inc, line 318
Contains all class and interface definitions for Purge.

View source
class PurgeTargetDrupal extends PurgeTarget implements PurgeCacheable {

  /**
   * Set api data to url.
   */
  public function cache() {
    $base_url = $GLOBALS['base_url'];
    $this->urls = array(
      $base_url,
    );
  }

}

Members

Namesort descending Modifiers Type Description Overrides
Purge::$access public property
Purge::$available public property
Purge::$depend public property
Purge::$description public property
Purge::$enabled public property
Purge::$item public property
Purge::$name public property
Purge::$option public property
Purge::__sleep public function Only serialize the static values. 1
PurgeTarget::$urls public property
PurgeTarget::validate public function Validate Overrides Purge::validate
PurgeTargetDrupal::cache public function Set api data to url. Overrides PurgeCacheable::cache