PHP5 constructor.
Source
function __construct( $base = '', $age = '' ) {
$this->BASE_CACHE = WP_CONTENT_DIR . '/cache';
if ( $base ) {
$this->BASE_CACHE = $base;
}
if ( $age ) {
$this->MAX_AGE = $age;
}
}
CARVIEW |
PHP5 constructor.
function __construct( $base = '', $age = '' ) {
$this->BASE_CACHE = WP_CONTENT_DIR . '/cache';
if ( $base ) {
$this->BASE_CACHE = $base;
}
if ( $age ) {
$this->MAX_AGE = $age;
}
}
Used by | Description |
---|---|
RSSCache::RSSCache()wp-includes/rss.php | PHP4 constructor. |
fetch_rss()wp-includes/rss.php | Build Magpie object based on RSS from URL. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.