[ Index ] |
PHP Cross Reference of WordPress Trunk (Updated Daily) |
[Summary view] [Print] [Text view]
1 <?php 2 3 /** 4 * SimplePie 5 * 6 * A PHP-Based RSS and Atom Feed Framework. 7 * Takes the hard work out of managing a complete RSS/Atom solution. 8 * 9 * Copyright (c) 2004-2017, Ryan Parman, Sam Sneddon, Ryan McCue, and contributors 10 * All rights reserved. 11 * 12 * Redistribution and use in source and binary forms, with or without modification, are 13 * permitted provided that the following conditions are met: 14 * 15 * * Redistributions of source code must retain the above copyright notice, this list of 16 * conditions and the following disclaimer. 17 * 18 * * Redistributions in binary form must reproduce the above copyright notice, this list 19 * of conditions and the following disclaimer in the documentation and/or other materials 20 * provided with the distribution. 21 * 22 * * Neither the name of the SimplePie Team nor the names of its contributors may be used 23 * to endorse or promote products derived from this software without specific prior 24 * written permission. 25 * 26 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS 27 * OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY 28 * AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS 29 * AND CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 30 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 31 * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 32 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 33 * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 34 * POSSIBILITY OF SUCH DAMAGE. 35 * 36 * @package SimplePie 37 * @version 1.7.0 38 * @copyright 2004-2017 Ryan Parman, Sam Sneddon, Ryan McCue 39 * @author Ryan Parman 40 * @author Sam Sneddon 41 * @author Ryan McCue 42 * @link http://simplepie.org/ SimplePie 43 * @license http://www.opensource.org/licenses/bsd-license.php BSD License 44 */ 45 46 use SimplePie\SimplePie as NamespacedSimplePie; 47 48 class_exists('SimplePie\SimplePie'); 49 50 // @trigger_error(sprintf('Using the "SimplePie" class is deprecated since SimplePie 1.7.0, use "SimplePie\SimplePie" instead.'), \E_USER_DEPRECATED); 51 52 if (\false) { 53 /** @deprecated since SimplePie 1.7.0, use "SimplePie\SimplePie" instead */ 54 class SimplePie extends NamespacedSimplePie 55 { 56 } 57 } 58 59 /** 60 * SimplePie Name 61 * @deprecated since SimplePie 1.7.0, use \SimplePie\SimplePie::NAME instead. 62 */ 63 define('SIMPLEPIE_NAME', NamespacedSimplePie::NAME); 64 65 /** 66 * SimplePie Version 67 * @deprecated since SimplePie 1.7.0, use \SimplePie\SimplePie::VERSION instead. 68 */ 69 define('SIMPLEPIE_VERSION', NamespacedSimplePie::VERSION); 70 71 /** 72 * SimplePie Build 73 * @todo Hardcode for release (there's no need to have to call SimplePie_Misc::get_build() only every load of simplepie.inc) 74 * @deprecated since SimplePie 1.7.0, use \SimplePie\Misc::get_build() instead. 75 */ 76 define('SIMPLEPIE_BUILD', gmdate('YmdHis', \SimplePie\Misc::get_build())); 77 78 /** 79 * SimplePie Website URL 80 * @deprecated since SimplePie 1.7.0, use \SimplePie\SimplePie::URL instead. 81 */ 82 define('SIMPLEPIE_URL', NamespacedSimplePie::URL); 83 84 /** 85 * SimplePie Useragent 86 * @see SimplePie::set_useragent() 87 * @deprecated since SimplePie 1.7.0, use \SimplePie\Misc::get_default_useragent() instead. 88 */ 89 define('SIMPLEPIE_USERAGENT', \SimplePie\Misc::get_default_useragent()); 90 91 /** 92 * SimplePie Linkback 93 * @deprecated since SimplePie 1.7.0, use \SimplePie\SimplePie::LINKBACK instead. 94 */ 95 define('SIMPLEPIE_LINKBACK', NamespacedSimplePie::LINKBACK); 96 97 /** 98 * No Autodiscovery 99 * @see SimplePie::set_autodiscovery_level() 100 * @deprecated since SimplePie 1.7.0, use \SimplePie\SimplePie::LOCATOR_NONE instead. 101 */ 102 define('SIMPLEPIE_LOCATOR_NONE', NamespacedSimplePie::LOCATOR_NONE); 103 104 /** 105 * Feed Link Element Autodiscovery 106 * @see SimplePie::set_autodiscovery_level() 107 * @deprecated since SimplePie 1.7.0, use \SimplePie\SimplePie::LOCATOR_AUTODISCOVERY instead. 108 */ 109 define('SIMPLEPIE_LOCATOR_AUTODISCOVERY', NamespacedSimplePie::LOCATOR_AUTODISCOVERY); 110 111 /** 112 * Local Feed Extension Autodiscovery 113 * @see SimplePie::set_autodiscovery_level() 114 * @deprecated since SimplePie 1.7.0, use \SimplePie\SimplePie::LOCATOR_LOCAL_EXTENSION instead. 115 */ 116 define('SIMPLEPIE_LOCATOR_LOCAL_EXTENSION', NamespacedSimplePie::LOCATOR_LOCAL_EXTENSION); 117 118 /** 119 * Local Feed Body Autodiscovery 120 * @see SimplePie::set_autodiscovery_level() 121 * @deprecated since SimplePie 1.7.0, use \SimplePie\SimplePie::LOCATOR_LOCAL_BODY instead. 122 */ 123 define('SIMPLEPIE_LOCATOR_LOCAL_BODY', NamespacedSimplePie::LOCATOR_LOCAL_BODY); 124 125 /** 126 * Remote Feed Extension Autodiscovery 127 * @see SimplePie::set_autodiscovery_level() 128 * @deprecated since SimplePie 1.7.0, use \SimplePie\SimplePie::LOCATOR_REMOTE_EXTENSION instead. 129 */ 130 define('SIMPLEPIE_LOCATOR_REMOTE_EXTENSION', NamespacedSimplePie::LOCATOR_REMOTE_EXTENSION); 131 132 /** 133 * Remote Feed Body Autodiscovery 134 * @see SimplePie::set_autodiscovery_level() 135 * @deprecated since SimplePie 1.7.0, use \SimplePie\SimplePie::LOCATOR_REMOTE_BODY instead. 136 */ 137 define('SIMPLEPIE_LOCATOR_REMOTE_BODY', NamespacedSimplePie::LOCATOR_REMOTE_BODY); 138 139 /** 140 * All Feed Autodiscovery 141 * @see SimplePie::set_autodiscovery_level() 142 * @deprecated since SimplePie 1.7.0, use \SimplePie\SimplePie::LOCATOR_ALL instead. 143 */ 144 define('SIMPLEPIE_LOCATOR_ALL', NamespacedSimplePie::LOCATOR_ALL); 145 146 /** 147 * No known feed type 148 * @deprecated since SimplePie 1.7.0, use \SimplePie\SimplePie::TYPE_NONE instead. 149 */ 150 define('SIMPLEPIE_TYPE_NONE', NamespacedSimplePie::TYPE_NONE); 151 152 /** 153 * RSS 0.90 154 * @deprecated since SimplePie 1.7.0, use \SimplePie\SimplePie::TYPE_RSS_090 instead. 155 */ 156 define('SIMPLEPIE_TYPE_RSS_090', NamespacedSimplePie::TYPE_RSS_090); 157 158 /** 159 * RSS 0.91 (Netscape) 160 * @deprecated since SimplePie 1.7.0, use \SimplePie\SimplePie::TYPE_RSS_091_NETSCAPE instead. 161 */ 162 define('SIMPLEPIE_TYPE_RSS_091_NETSCAPE', NamespacedSimplePie::TYPE_RSS_091_NETSCAPE); 163 164 /** 165 * RSS 0.91 (Userland) 166 * @deprecated since SimplePie 1.7.0, use \SimplePie\SimplePie::TYPE_RSS_091_USERLAND instead. 167 */ 168 define('SIMPLEPIE_TYPE_RSS_091_USERLAND', NamespacedSimplePie::TYPE_RSS_091_USERLAND); 169 170 /** 171 * RSS 0.91 (both Netscape and Userland) 172 * @deprecated since SimplePie 1.7.0, use \SimplePie\SimplePie::TYPE_RSS_091 instead. 173 */ 174 define('SIMPLEPIE_TYPE_RSS_091', NamespacedSimplePie::TYPE_RSS_091); 175 176 /** 177 * RSS 0.92 178 * @deprecated since SimplePie 1.7.0, use \SimplePie\SimplePie::TYPE_RSS_092 instead. 179 */ 180 define('SIMPLEPIE_TYPE_RSS_092', NamespacedSimplePie::TYPE_RSS_092); 181 182 /** 183 * RSS 0.93 184 * @deprecated since SimplePie 1.7.0, use \SimplePie\SimplePie::TYPE_RSS_093 instead. 185 */ 186 define('SIMPLEPIE_TYPE_RSS_093', NamespacedSimplePie::TYPE_RSS_093); 187 188 /** 189 * RSS 0.94 190 * @deprecated since SimplePie 1.7.0, use \SimplePie\SimplePie::TYPE_RSS_094 instead. 191 */ 192 define('SIMPLEPIE_TYPE_RSS_094', NamespacedSimplePie::TYPE_RSS_094); 193 194 /** 195 * RSS 1.0 196 * @deprecated since SimplePie 1.7.0, use \SimplePie\SimplePie::TYPE_RSS_10 instead. 197 */ 198 define('SIMPLEPIE_TYPE_RSS_10', NamespacedSimplePie::TYPE_RSS_10); 199 200 /** 201 * RSS 2.0 202 * @deprecated since SimplePie 1.7.0, use \SimplePie\SimplePie::TYPE_RSS_20 instead. 203 */ 204 define('SIMPLEPIE_TYPE_RSS_20', NamespacedSimplePie::TYPE_RSS_20); 205 206 /** 207 * RDF-based RSS 208 * @deprecated since SimplePie 1.7.0, use \SimplePie\SimplePie::TYPE_RSS_RDF instead. 209 */ 210 define('SIMPLEPIE_TYPE_RSS_RDF', NamespacedSimplePie::TYPE_RSS_RDF); 211 212 /** 213 * Non-RDF-based RSS (truly intended as syndication format) 214 * @deprecated since SimplePie 1.7.0, use \SimplePie\SimplePie::TYPE_RSS_SYNDICATION instead. 215 */ 216 define('SIMPLEPIE_TYPE_RSS_SYNDICATION', NamespacedSimplePie::TYPE_RSS_SYNDICATION); 217 218 /** 219 * All RSS 220 * @deprecated since SimplePie 1.7.0, use \SimplePie\SimplePie::TYPE_RSS_ALL instead. 221 */ 222 define('SIMPLEPIE_TYPE_RSS_ALL', NamespacedSimplePie::TYPE_RSS_ALL); 223 224 /** 225 * Atom 0.3 226 * @deprecated since SimplePie 1.7.0, use \SimplePie\SimplePie::TYPE_ATOM_03 instead. 227 */ 228 define('SIMPLEPIE_TYPE_ATOM_03', NamespacedSimplePie::TYPE_ATOM_03); 229 230 /** 231 * Atom 1.0 232 * @deprecated since SimplePie 1.7.0, use \SimplePie\SimplePie::TYPE_ATOM_10 instead. 233 */ 234 define('SIMPLEPIE_TYPE_ATOM_10', NamespacedSimplePie::TYPE_ATOM_10); 235 236 /** 237 * All Atom 238 * @deprecated since SimplePie 1.7.0, use \SimplePie\SimplePie::TYPE_ATOM_ALL instead. 239 */ 240 define('SIMPLEPIE_TYPE_ATOM_ALL', NamespacedSimplePie::TYPE_ATOM_ALL); 241 242 /** 243 * All feed types 244 * @deprecated since SimplePie 1.7.0, use \SimplePie\SimplePie::TYPE_ALL instead. 245 */ 246 define('SIMPLEPIE_TYPE_ALL', NamespacedSimplePie::TYPE_ALL); 247 248 /** 249 * No construct 250 * @deprecated since SimplePie 1.7.0, use \SimplePie\SimplePie::CONSTRUCT_NONE instead. 251 */ 252 define('SIMPLEPIE_CONSTRUCT_NONE', NamespacedSimplePie::CONSTRUCT_NONE); 253 254 /** 255 * Text construct 256 * @deprecated since SimplePie 1.7.0, use \SimplePie\SimplePie::CONSTRUCT_TEXT instead. 257 */ 258 define('SIMPLEPIE_CONSTRUCT_TEXT', NamespacedSimplePie::CONSTRUCT_TEXT); 259 260 /** 261 * HTML construct 262 * @deprecated since SimplePie 1.7.0, use \SimplePie\SimplePie::CONSTRUCT_HTML instead. 263 */ 264 define('SIMPLEPIE_CONSTRUCT_HTML', NamespacedSimplePie::CONSTRUCT_HTML); 265 266 /** 267 * XHTML construct 268 * @deprecated since SimplePie 1.7.0, use \SimplePie\SimplePie::CONSTRUCT_XHTML instead. 269 */ 270 define('SIMPLEPIE_CONSTRUCT_XHTML', NamespacedSimplePie::CONSTRUCT_XHTML); 271 272 /** 273 * base64-encoded construct 274 * @deprecated since SimplePie 1.7.0, use \SimplePie\SimplePie::CONSTRUCT_BASE64 instead. 275 */ 276 define('SIMPLEPIE_CONSTRUCT_BASE64', NamespacedSimplePie::CONSTRUCT_BASE64); 277 278 /** 279 * IRI construct 280 * @deprecated since SimplePie 1.7.0, use \SimplePie\SimplePie::CONSTRUCT_IRI instead. 281 */ 282 define('SIMPLEPIE_CONSTRUCT_IRI', NamespacedSimplePie::CONSTRUCT_IRI); 283 284 /** 285 * A construct that might be HTML 286 * @deprecated since SimplePie 1.7.0, use \SimplePie\SimplePie::CONSTRUCT_MAYBE_HTML instead. 287 */ 288 define('SIMPLEPIE_CONSTRUCT_MAYBE_HTML', NamespacedSimplePie::CONSTRUCT_MAYBE_HTML); 289 290 /** 291 * All constructs 292 * @deprecated since SimplePie 1.7.0, use \SimplePie\SimplePie::CONSTRUCT_ALL instead. 293 */ 294 define('SIMPLEPIE_CONSTRUCT_ALL', NamespacedSimplePie::CONSTRUCT_ALL); 295 296 /** 297 * Don't change case 298 * @deprecated since SimplePie 1.7.0, use \SimplePie\SimplePie::SAME_CASE instead. 299 */ 300 define('SIMPLEPIE_SAME_CASE', NamespacedSimplePie::SAME_CASE); 301 302 /** 303 * Change to lowercase 304 * @deprecated since SimplePie 1.7.0, use \SimplePie\SimplePie::LOWERCASE instead. 305 */ 306 define('SIMPLEPIE_LOWERCASE', NamespacedSimplePie::LOWERCASE); 307 308 /** 309 * Change to uppercase 310 * @deprecated since SimplePie 1.7.0, use \SimplePie\SimplePie::UPPERCASE instead. 311 */ 312 define('SIMPLEPIE_UPPERCASE', NamespacedSimplePie::UPPERCASE); 313 314 /** 315 * PCRE for HTML attributes 316 * @deprecated since SimplePie 1.7.0, use \SimplePie\SimplePie::PCRE_HTML_ATTRIBUTE instead. 317 */ 318 define('SIMPLEPIE_PCRE_HTML_ATTRIBUTE', NamespacedSimplePie::PCRE_HTML_ATTRIBUTE); 319 320 /** 321 * PCRE for XML attributes 322 * @deprecated since SimplePie 1.7.0, use \SimplePie\SimplePie::PCRE_XML_ATTRIBUTE instead. 323 */ 324 define('SIMPLEPIE_PCRE_XML_ATTRIBUTE', NamespacedSimplePie::PCRE_XML_ATTRIBUTE); 325 326 /** 327 * XML Namespace 328 * @deprecated since SimplePie 1.7.0, use \SimplePie\SimplePie::NAMESPACE_XML instead. 329 */ 330 define('SIMPLEPIE_NAMESPACE_XML', NamespacedSimplePie::NAMESPACE_XML); 331 332 /** 333 * Atom 1.0 Namespace 334 * @deprecated since SimplePie 1.7.0, use \SimplePie\SimplePie::NAMESPACE_ATOM_10 instead. 335 */ 336 define('SIMPLEPIE_NAMESPACE_ATOM_10', NamespacedSimplePie::NAMESPACE_ATOM_10); 337 338 /** 339 * Atom 0.3 Namespace 340 * @deprecated since SimplePie 1.7.0, use \SimplePie\SimplePie::NAMESPACE_ATOM_03 instead. 341 */ 342 define('SIMPLEPIE_NAMESPACE_ATOM_03', NamespacedSimplePie::NAMESPACE_ATOM_03); 343 344 /** 345 * RDF Namespace 346 * @deprecated since SimplePie 1.7.0, use \SimplePie\SimplePie::NAMESPACE_RDF instead. 347 */ 348 define('SIMPLEPIE_NAMESPACE_RDF', NamespacedSimplePie::NAMESPACE_RDF); 349 350 /** 351 * RSS 0.90 Namespace 352 * @deprecated since SimplePie 1.7.0, use \SimplePie\SimplePie::NAMESPACE_RSS_090 instead. 353 */ 354 define('SIMPLEPIE_NAMESPACE_RSS_090', NamespacedSimplePie::NAMESPACE_RSS_090); 355 356 /** 357 * RSS 1.0 Namespace 358 * @deprecated since SimplePie 1.7.0, use \SimplePie\SimplePie::NAMESPACE_RSS_10 instead. 359 */ 360 define('SIMPLEPIE_NAMESPACE_RSS_10', NamespacedSimplePie::NAMESPACE_RSS_10); 361 362 /** 363 * RSS 1.0 Content Module Namespace 364 * @deprecated since SimplePie 1.7.0, use \SimplePie\SimplePie::NAMESPACE_RSS_10_MODULES_CONTENT instead. 365 */ 366 define('SIMPLEPIE_NAMESPACE_RSS_10_MODULES_CONTENT', NamespacedSimplePie::NAMESPACE_RSS_10_MODULES_CONTENT); 367 368 /** 369 * RSS 2.0 Namespace 370 * (Stupid, I know, but I'm certain it will confuse people less with support.) 371 * @deprecated since SimplePie 1.7.0, use \SimplePie\SimplePie::NAMESPACE_RSS_20 instead. 372 */ 373 define('SIMPLEPIE_NAMESPACE_RSS_20', NamespacedSimplePie::NAMESPACE_RSS_20); 374 375 /** 376 * DC 1.0 Namespace 377 * @deprecated since SimplePie 1.7.0, use \SimplePie\SimplePie::NAMESPACE_DC_10 instead. 378 */ 379 define('SIMPLEPIE_NAMESPACE_DC_10', NamespacedSimplePie::NAMESPACE_DC_10); 380 381 /** 382 * DC 1.1 Namespace 383 * @deprecated since SimplePie 1.7.0, use \SimplePie\SimplePie::NAMESPACE_DC_11 instead. 384 */ 385 define('SIMPLEPIE_NAMESPACE_DC_11', NamespacedSimplePie::NAMESPACE_DC_11); 386 387 /** 388 * W3C Basic Geo (WGS84 lat/long) Vocabulary Namespace 389 * @deprecated since SimplePie 1.7.0, use \SimplePie\SimplePie::NAMESPACE_W3C_BASIC_GEO instead. 390 */ 391 define('SIMPLEPIE_NAMESPACE_W3C_BASIC_GEO', NamespacedSimplePie::NAMESPACE_W3C_BASIC_GEO); 392 393 /** 394 * GeoRSS Namespace 395 * @deprecated since SimplePie 1.7.0, use \SimplePie\SimplePie::NAMESPACE_GEORSS instead. 396 */ 397 define('SIMPLEPIE_NAMESPACE_GEORSS', NamespacedSimplePie::NAMESPACE_GEORSS); 398 399 /** 400 * Media RSS Namespace 401 * @deprecated since SimplePie 1.7.0, use \SimplePie\SimplePie::NAMESPACE_MEDIARSS instead. 402 */ 403 define('SIMPLEPIE_NAMESPACE_MEDIARSS', NamespacedSimplePie::NAMESPACE_MEDIARSS); 404 405 /** 406 * Wrong Media RSS Namespace. Caused by a long-standing typo in the spec. 407 * @deprecated since SimplePie 1.7.0, use \SimplePie\SimplePie::NAMESPACE_MEDIARSS_WRONG instead. 408 */ 409 define('SIMPLEPIE_NAMESPACE_MEDIARSS_WRONG', NamespacedSimplePie::NAMESPACE_MEDIARSS_WRONG); 410 411 /** 412 * Wrong Media RSS Namespace #2. New namespace introduced in Media RSS 1.5. 413 * @deprecated since SimplePie 1.7.0, use \SimplePie\SimplePie::NAMESPACE_MEDIARSS_WRONG2 instead. 414 */ 415 define('SIMPLEPIE_NAMESPACE_MEDIARSS_WRONG2', NamespacedSimplePie::NAMESPACE_MEDIARSS_WRONG2); 416 417 /** 418 * Wrong Media RSS Namespace #3. A possible typo of the Media RSS 1.5 namespace. 419 * @deprecated since SimplePie 1.7.0, use \SimplePie\SimplePie::NAMESPACE_MEDIARSS_WRONG3 instead. 420 */ 421 define('SIMPLEPIE_NAMESPACE_MEDIARSS_WRONG3', NamespacedSimplePie::NAMESPACE_MEDIARSS_WRONG3); 422 423 /** 424 * Wrong Media RSS Namespace #4. New spec location after the RSS Advisory Board takes it over, but not a valid namespace. 425 * @deprecated since SimplePie 1.7.0, use \SimplePie\SimplePie::NAMESPACE_MEDIARSS_WRONG4 instead. 426 */ 427 define('SIMPLEPIE_NAMESPACE_MEDIARSS_WRONG4', NamespacedSimplePie::NAMESPACE_MEDIARSS_WRONG4); 428 429 /** 430 * Wrong Media RSS Namespace #5. A possible typo of the RSS Advisory Board URL. 431 * @deprecated since SimplePie 1.7.0, use \SimplePie\SimplePie::NAMESPACE_MEDIARSS_WRONG5 instead. 432 */ 433 define('SIMPLEPIE_NAMESPACE_MEDIARSS_WRONG5', NamespacedSimplePie::NAMESPACE_MEDIARSS_WRONG5); 434 435 /** 436 * iTunes RSS Namespace 437 * @deprecated since SimplePie 1.7.0, use \SimplePie\SimplePie::NAMESPACE_ITUNES instead. 438 */ 439 define('SIMPLEPIE_NAMESPACE_ITUNES', NamespacedSimplePie::NAMESPACE_ITUNES); 440 441 /** 442 * XHTML Namespace 443 * @deprecated since SimplePie 1.7.0, use \SimplePie\SimplePie::NAMESPACE_XHTML instead. 444 */ 445 define('SIMPLEPIE_NAMESPACE_XHTML', NamespacedSimplePie::NAMESPACE_XHTML); 446 447 /** 448 * IANA Link Relations Registry 449 * @deprecated since SimplePie 1.7.0, use \SimplePie\SimplePie::IANA_LINK_RELATIONS_REGISTRY instead. 450 */ 451 define('SIMPLEPIE_IANA_LINK_RELATIONS_REGISTRY', NamespacedSimplePie::IANA_LINK_RELATIONS_REGISTRY); 452 453 /** 454 * No file source 455 * @deprecated since SimplePie 1.7.0, use \SimplePie\SimplePie::FILE_SOURCE_NONE instead. 456 */ 457 define('SIMPLEPIE_FILE_SOURCE_NONE', NamespacedSimplePie::FILE_SOURCE_NONE); 458 459 /** 460 * Remote file source 461 * @deprecated since SimplePie 1.7.0, use \SimplePie\SimplePie::FILE_SOURCE_REMOTE instead. 462 */ 463 define('SIMPLEPIE_FILE_SOURCE_REMOTE', NamespacedSimplePie::FILE_SOURCE_REMOTE); 464 465 /** 466 * Local file source 467 * @deprecated since SimplePie 1.7.0, use \SimplePie\SimplePie::FILE_SOURCE_LOCAL instead. 468 */ 469 define('SIMPLEPIE_FILE_SOURCE_LOCAL', NamespacedSimplePie::FILE_SOURCE_LOCAL); 470 471 /** 472 * fsockopen() file source 473 * @deprecated since SimplePie 1.7.0, use \SimplePie\SimplePie::FILE_SOURCE_FSOCKOPEN instead. 474 */ 475 define('SIMPLEPIE_FILE_SOURCE_FSOCKOPEN', NamespacedSimplePie::FILE_SOURCE_FSOCKOPEN); 476 477 /** 478 * cURL file source 479 * @deprecated since SimplePie 1.7.0, use \SimplePie\SimplePie::FILE_SOURCE_CURL instead. 480 */ 481 define('SIMPLEPIE_FILE_SOURCE_CURL', NamespacedSimplePie::FILE_SOURCE_CURL); 482 483 /** 484 * file_get_contents() file source 485 * @deprecated since SimplePie 1.7.0, use \SimplePie\SimplePie::FILE_SOURCE_FILE_GET_CONTENTS instead. 486 */ 487 define('SIMPLEPIE_FILE_SOURCE_FILE_GET_CONTENTS', NamespacedSimplePie::FILE_SOURCE_FILE_GET_CONTENTS);
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated : Thu Nov 21 08:20:01 2024 | Cross-referenced by PHPXref |