class PurgeDomainDrupal in Purge 7.2
Class definition for the Drupal domain item.
Hierarchy
- class \Purge
- class \PurgeDomain
- class \PurgeDomainDrupal implements PurgeCacheable
- class \PurgeDomain
Expanded class hierarchy of PurgeDomainDrupal
File
- includes/
purge.class.inc, line 396 - Contains all class and interface definitions for Purge.
View source
class PurgeDomainDrupal extends PurgeDomain implements PurgeCacheable {
/**
* Set the domain to the base urls domain.
*/
public function cache() {
$base_url = $GLOBALS['base_url'];
$this->domains = array(
parse_url($base_url, PHP_URL_HOST),
);
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
Purge:: |
public | property | ||
Purge:: |
public | property | ||
Purge:: |
public | property | ||
Purge:: |
public | property | ||
Purge:: |
public | property | ||
Purge:: |
public | property | ||
Purge:: |
public | property | ||
Purge:: |
public | property | ||
Purge:: |
public | function | Only serialize the static values. | 1 |
PurgeDomain:: |
public | property | ||
PurgeDomain:: |
public | function |
Validate the domains. Overrides Purge:: |
|
PurgeDomainDrupal:: |
public | function |
Set the domain to the base urls domain. Overrides PurgeCacheable:: |