[ Index ] |
PHP Cross Reference of WordPress |
[Source view] [Print] [Project Stats]
Feed API: WP_SimplePie_File class
File Size: | 102 lines (3 kb) |
Included or required: | 2 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
WP_SimplePie_File:: (1 method):
__construct()
Class: WP_SimplePie_File - X-Ref
Core class for fetching remote files and reading local files with SimplePie.__construct( $url, $timeout = 10, $redirects = 5, $headers = null, $useragent = null, $force_fsockopen = false ) X-Ref |
Constructor. param: string $url Remote file URL. param: int $timeout Optional. How long the connection should stay open in seconds. param: int $redirects Optional. The number of allowed redirects. Default 5. param: string|array $headers Optional. Array or string of headers to send with the request. param: string $useragent Optional. User-agent value sent. Default null. param: bool $force_fsockopen Optional. Whether to force opening internet or unix domain socket since: 2.8.0 since: 3.2.0 Updated to use a PHP5 constructor. since: 5.6.1 Multiple headers are concatenated into a comma-separated string, |
Generated: Thu Nov 21 01:00:03 2024 | Cross-referenced by PHPXref 0.7.1 |