Lines Matching refs:to

24  * 	  to endorse or promote products derived from this software without specific prior
259 * Change to lowercase
264 * Change to uppercase
462 * @var object Instance of \SimplePie\File to use as a feed
490 * @var bool Forces fsockopen() to be used for remote files instead
498 * @var bool Force the given data/URL to be treated as a feed no matter what
525 * @var bool Force SimplePie to fallback to expired cache, if enabled,
547 * @var string Cache location (relative to executing script)
568 * @var mixed Force input encoding to be set to the follow value
569 * (false, or anything type-cast to false, disables this feature)
590 * @var int Maximum number of feeds to check with autodiscovery
604 * @var string Web-accessible path to the handler_image.php file.
631 * @var integer Stores the number of items to return per-feed with multifeeds.
644 * @var array Stores the default attributes to be stripped by strip_attributes().
651 * @var array Stores the default attributes to add to different tags by add_attributes().
658 * @var array Stores the default tags to be stripped by strip_htmltags().
665 * @var array Stores the default attributes to be renamed by rename_attributes().
683 * object's methods and properties will be available to you.
685 * Previously, it was possible to pass in the feed URL along with cache
694 trigger_error('Please upgrade to PHP 7.2 or newer.');
707 trigger_error('Passing parameters to the constructor is no longer supported. Please use set_feed_url(), set_cache_location(), and set_cache_duration() directly.', \E_USER_DEPRECATED);
725 * Used for converting object to a string
733 * Remove items that link back to this before destroying this object
754 * Force the given data/URL to be treated as a feed
756 * This tells SimplePie to ignore the content-type provided by the server.
760 * @param bool $enable Force the given data/URL to be treated as a feed
768 * Set the URL of the feed you want to parse
770 * This allows you to enter the URL of the feed you want to parse, or the
771 * website you want to try to use auto-discovery on. This takes priority
774 * You can set multiple feeds to mash together by passing an array instead
780 * @param string|array $url This is the URL (or array of URLs) that you want to parse.
796 * Set an instance of {@see \SimplePie\File} to use as a feed
813 * Set the raw XML data to parse
815 * Allows you to use a string of RSS/Atom data instead of a remote feed.
818 * to parse that data string instead of a remote feed. Any set feed URL
833 * This allows you to change the maximum time the feed's server to respond
837 * @param int $timeout The maximum number of seconds to spend waiting to retrieve a feed.
847 * This allows you to change default curl options
850 * @param array $curl_options Curl options to add to default settings
858 * Force SimplePie to use fsockopen() instead of cURL
861 * @param bool $enable Force fsockopen() to be used
871 * This option allows you to disable caching all-together in SimplePie.
872 * However, disabling the cache can lead to longer load times.
895 * SimplePie to continue to fall back to expired cache, if enabled, when
898 * This tells SimplePie to ignore any file errors and fall back to cache
948 * Return the filename (i.e. hash, without path and without extension) of the file to cache a given URL.
950 * @param string $url The URL of the feed to be cached.
955 // Append custom parameters to the URL to avoid cache pollution in case of multiple calls with different parameters.
988 * Set the character encoding used to parse the feed
991 * back to the normal encoding detection if the override fails
1005 * Set how much feed autodiscovery to do
1024 * Use this to override SimplePie's default classes
1305 * Set a namefilter to modify the cache filename with
1317 * Set callback function to create cache filename with
1335 * Set options to make SP as fast as possible
1340 * @param bool $set Whether to set them or not
1357 * Set maximum number of feeds to check with autodiscovery
1359 * @param int $max Maximum number of feeds to check
1414 * Allows you to override SimplePie's output to match that of your webpage.
1417 * is similar to {@see set_input_encoding()}.
1421 * to display a Japanese feed, you'll likely see garbled characters.
1422 * Because of this, it is highly recommended to ensure that your webpages
1445 * containing URLs that need to be resolved relative to the feed
1447 * Defaults to |a|@href, |area|@href, |blockquote|@cite, |del|@cite,
1460 * Set the list of domains for which to force HTTPS.
1472 * Set the handler to enable the display of cached images.
1474 * @param string $page Web-accessible path to the handler_image.php file.
1475 * @param string $qs The query string that the value should be passed to.
1489 * @param integer $limit The maximum number of items to return.
1522 // Then check the xml extension is sane (i.e., libxml 2.7.x issue on PHP < 5.2.9 and libxml 2.7.0 to 2.7.2 on any version) if we don't have xmlreader.
1545 // Pass whatever was set with config options over to the sanitizer.
1585 // Decide whether to enable caching
1610 // First check to see if input has been overridden.
1618 // RFC 3023 (only applies to sniffed content)
1638 // Fallback to XML 1.0 Appendix F.1/UTF-8/ISO-8859-1
1648 // Change the encoding to UTF-8 (as we always use UTF-8 internally)
1657 $this->error = "A feed could not be found at `$this->feed_url`. This does not appear to be a valid RSS or Atom feed.";
1678 // We have an error, just set \SimplePie\Misc::error to it and quit
1680 $this->error .= sprintf(' is invalid XML, likely due to invalid characters. XML error: %s at line %d, column %d', $parser->get_error_string(), $parser->get_current_line(), $parser->get_current_column());
1682 $this->error = 'The data could not be converted to UTF-8.';
1708 * If the data is already cached, attempt to fetch it from there instead
1709 * @param Base|DataCache|false $cache Cache handler, or false to not load from the cache
1747 // Do not need to do feed autodiscovery yet.
1762 // Want to know if we tried to send last-modified and/or etag headers
1763 // when requesting this file. (Note that it's up to the file to
1782 // Set raw_data to false here too, to signify that the cache
1811 // If we don't already have the file (it'll only exist if we've opened it to check if the cache has been modified), open it.
1824 // If the file connection has an error, set SimplePie::error to that and quit
1870 // We need to unset this so that if SimplePie::set_file() has
1879 // We need to unset this so that if SimplePie::set_file() has been called that object is untouched
1966 * sent to the browser, because it relies on PHP's
1974 * @param string $mime MIME type to serve the page as
1995 * @since 0.8 (usage changed to using constants in 1.0)
2087 * may or may not be different from the URL passed to {@see set_feed_url()},
2094 * @param bool $permanent Permanent mode to return only the original URL or the first redirection
2130 * This method allows you to get access to ANY element/attribute that is a
2144 * // <media:content> natively, but it shows you how to parse through
2154 * @param string $namespace The URL of the XML namespace of the elements you're trying to access
2187 * This method allows you to get access to ANY element/attribute in the
2194 * @param string $namespace The URL of the XML namespace of the elements you're trying to access
2233 * This method allows you to get access to ANY element/attribute in the
2240 * @param string $namespace The URL of the XML namespace of the elements you're trying to access
2299 * @param string $data Data to sanitize
2301 * @param string $base Base URL to resolve URLs against
2352 * @param int $key The category that you want to return. Remember that arrays begin with 0, not 1
2394 // Label will also work on retrieving because that falls back to term.
2421 * @param int $key The author that you want to return. Remember that arrays begin with 0, not 1
2500 * @param int $key The contrbutor that you want to return. Remember that arrays begin with 0, not 1
2570 * @param int $key The link that you want to return. Remember that arrays begin with 0, not 1
2571 * @param string $rel The relationship of the link to return
2588 * Identical to {@see get_link()} with key 0
2606 * @param string $rel The relationship of links to return
2818 * RSS 0.9.0, 1.0 and 2.0 feeds are allowed to have a "feed logo" title.
2844 * RSS 0.9.0, 2.0, Atom 1.0, and feeds with iTunes RSS tags are allowed to
2845 * have a "feed logo" URL. This points directly to the image itself.
2875 * RSS 0.9.0, 1.0 and 2.0 feeds are allowed to have a "feed logo" link. This
2876 * points to a human-readable page that the image should link to.
2899 * RSS 2.0 feeds are allowed to have a "feed logo" width.
2901 * Uses `<image><width>` or defaults to 88 if no width is specified and
2920 * RSS 2.0 feeds are allowed to have a "feed logo" height.
2922 * Uses `<image><height>` or defaults to 31 if no height is specified and
2944 * @param int $max Maximum value to return. 0 for no limit
2967 * @param int $key The item that you want to return. Remember that arrays begin with 0, not 1
2989 * @param int $start Index to start at
2990 * @param int $end Number of items to return. 0 for all items after `$start`
3088 * @param array $args Arguments to the method
3106 trigger_error("Call to undefined method $class::$method() in $file on line $line", E_USER_ERROR);
3124 // Sort items without dates to the top.
3137 * If you're merging multiple feeds together, they need to all have dates
3138 * for the items or else SimplePie will refuse to sort them.
3141 * @param array $urls List of SimplePie feed objects to merge
3143 * @param int $end Number of items to return
3175 * There is no way to find PuSH links in the body of a microformats feed,
3176 * so they are added to the headers when found, to be used later by get_links.