class PurgeDomainPurgeableUrl in Purge 7.2
Used the domain supplied by the purgeable url.
Hierarchy
- class \Purge
- class \PurgeDomain
- class \PurgeDomainPurgeableUrl implements PurgeProcessableUrl
- class \PurgeDomain
Expanded class hierarchy of PurgeDomainPurgeableUrl
File
- includes/
purge.class.inc, line 365 - Contains all class and interface definitions for Purge.
View source
class PurgeDomainPurgeableUrl extends PurgeDomain implements PurgeProcessableUrl {
/**
* Processes the Purgeable URL.
*/
public function process($purgeable) {
}
/**
* Caches the domain untill the end of this processing.
*/
public function cache() {
}
/**
* Get the domain name from the url and set it as the current domains value.
*/
public function process_url($url) {
// Whipe the current value.
$this->domains = array();
// parse the url.
$this->domain[] = parse_url($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:: |
|
PurgeDomainPurgeableUrl:: |
public | function | Caches the domain untill the end of this processing. | |
PurgeDomainPurgeableUrl:: |
public | function | Processes the Purgeable URL. | |
PurgeDomainPurgeableUrl:: |
public | function |
Get the domain name from the url and set it as the current domains value. Overrides PurgeProcessableUrl:: |