[ Index ]

PHP Cross Reference of WordPress

title

Body

[close]

/wp-includes/ -> class-wp-feed-cache-transient.php (summary)

Feed API: WP_Feed_Cache_Transient class

File Size: 132 lines (3 kb)
Included or required: 2 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

WP_Feed_Cache_Transient:: (6 methods):
  __construct()
  save()
  load()
  mtime()
  touch()
  unlink()


Class: WP_Feed_Cache_Transient  - X-Ref

Core class used to implement feed cache transients.

__construct( $location, $filename, $extension )   X-Ref
Constructor.

param: string $location  URL location (scheme is used to determine handler).
param: string $filename  Unique identifier for cache object.
param: string $extension 'spi' or 'spc'.
since: 2.8.0
since: 3.2.0 Updated to use a PHP5 constructor.

save( $data )   X-Ref
Sets the transient.

return: true Always true.
param: SimplePie $data Data to save.
since: 2.8.0

load()   X-Ref
Gets the transient.

return: mixed Transient value.
since: 2.8.0

mtime()   X-Ref
Gets mod transient.

return: mixed Transient value.
since: 2.8.0

touch()   X-Ref
Sets mod transient.

return: bool False if value was not set and true if value was set.
since: 2.8.0

unlink()   X-Ref
Deletes transients.

return: true Always true.
since: 2.8.0



Generated: Thu Nov 21 01:00:03 2024 Cross-referenced by PHPXref 0.7.1