You are here: Documentation
Search
You can find the results of your search below. If you didn't find what you were looking for, you can create or edit the page named after your query with the appropriate button.
Results
SimplePie 1.0 "Razzleberry": 134 Hits
ace. (RC1)
* Added the following constants: ''[[reference:SimplePie:SIMPLEPIE_BUILD]]'', ''[[reference:SimplePie:SIMPLEPIE_LINKBACK]]'', ''[[reference:SimplePie:SIMPLEPIE_NAME]]'', ''[[reference:SimplePie:SIMPLEPIE_URL]]'', ''[[reference:SimplePie:SIMPLEPIE_USERAGENT]]'', and ''[[reference:SimplePie:SIMPLEPIE_VERSION]]''. (RC1)
* Added ''[[reference:SimplePie:set_favicon_handler]]'' to enable the caching and dis
set_item_class(): 56 Hits
item_class() ======
===== Description =====
<code>class SimplePie {
set_item_class ( [string $class = 'SimplePie_I... new methods or replace existing methods in the [[reference:SimplePie_Item:start]] class.
Learn more about extending classes in PHP:
* ... .
===== Parameters =====
==== class ====
The new class for SimplePie to use.
===== Examples =====
==== Replace a me... the Google-namespaced <gd:when> tag.
// http://simplepie.org/wiki/tutorial/grab_custom_tags_or_attributes
$when =
Sorting by custom criteria instead of date: 36 Hits
ab extra Digg-specific data, and we'll extend the SimplePie class and override the [[reference:SimplePie:sort_items]] method to sort by number o... necessary libraries. Digg Add-on found at http://simplepie.org/wiki/addons/digg
require_once('simplepie.inc');
require_once('simplepie_digg.inc');
// Extend the SimplePie class and override the existing sort_items() function with our own.
class SimplePie_Custom_Sort extends SimplePie
{
public static function sort_items($a, $b)
{
return $a->get_digg_c
embed(): 35 Hits
rue
));
}
}</code>
===== See Also =====
* [[reference:SimplePie:start]]
* [[reference:SimplePie_Item:start]]
* [[reference:SimplePie_Enclosure:start]]
* [[reference:SimplePie_Enclosure:native_embed
native_embed(): 34 Hits
rue
));
}
}</code>
===== See Also =====
* [[reference:SimplePie:start]]
* [[reference:SimplePie_Item:start]]
* [[reference:SimplePie_Enclosure:start]]
* [[reference:SimplePie_Enclosure:embed]]