[ Index ] |
PHP Cross Reference of WordPress Trunk (Updated Daily) |
[Source view] [Print] [Project Stats]
Feed API: WP_Feed_Cache_Transient class
File Size: | 137 lines (3 kb) |
Included or required: | 2 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
Class: WP_Feed_Cache_Transient - X-Ref
Core class used to implement feed cache transients.__construct( $location, $name, $type ) X-Ref |
Creates a new (transient) cache object. param: string $location URL location (scheme is used to determine handler). param: string $name Unique identifier for cache object. param: Base::TYPE_FEED|Base::TYPE_IMAGE $type Either `TYPE_FEED` ('spc') for SimplePie data, |
save( $data ) X-Ref |
Saves data to the transient. param: array|SimplePie\SimplePie $data Data to save. If passed a SimplePie object, return: true Always true. |
load() X-Ref |
Retrieves the data saved in the transient. return: array Data for `SimplePie::$data`. |
mtime() X-Ref |
Gets mod transient. return: int Timestamp. |
touch() X-Ref |
Sets mod transient. return: bool False if value was not set and true if value was set. |
unlink() X-Ref |
Deletes transients. return: true Always true. |
Generated : Thu Nov 21 08:20:01 2024 | Cross-referenced by PHPXref |