Метод |
Описание |
|
MagpieFromSimplePie ( $pie, $item = true ) |
* MagpieFromSimplePie constructor |
|
__construct ( SimplePie $pie, mixed $item = true ) |
MagpieFromSimplePie constructor |
|
element_id ( string $el, integer $counter ) : string |
MagpieFromSimplePie::element_id
Magic ID function for multiple elemenets. |
|
feed_version ( ) : float |
MagpieFromSimplePie::feed_version |
|
get_attrib ( array $namespaces, string $attr, array $element, mixed $default = NULL ) |
MagpieFromSimplePie::get_attrib |
|
get_item ( ) : array |
MagpieFromSimplePie::get_item: returns a single MagpieRSS format array equivalent
to a SimplePie_Item object from which this object was constructed. |
|
get_items ( ) : array |
MagpieFromSimplePie::get_items: returns an array of MagpieRSS format arrays
equivalent to the SimplePie_Item objects in the SimplePie object from which this
object was constructed. |
|
handleAttributes ( array $data, array $path ) : array |
MagpieFromSimplePie::handleAttributes |
|
handleChildren ( array $data, array $path = [], $method = 'processItemData' ) : array |
MagpieFromSimplePie::handleChildren |
|
increment_element ( &$data, string $childTag, string $ns, array $path ) |
MagpieFromSimplePie::increment_element |
|
is_atom ( ) : boolean |
MagpieFromSimplePie::is_atom |
|
is_namespaced ( string $ns, $attribute = false ) : boolean |
MagpieFromSimplePie::is_namespaced |
|
is_rdf ( ) : boolean |
MagpieFromSimplePie::is_rdf |
|
is_rss ( ) : boolean |
MagpieFromSimplePie::is_rss |
|
normalize ( ) |
MagpieFromSimplePie::normalize |
|
normalize_atom_person ( &$source, string $person, &$dest, string $to, integer $i ) |
MagpieFromSimplePie::normalize_atom_person |
|
normalize_author_inheritance ( &$item, SimplePie_Item $original ) |
MagpieFromSimplePie::normalize_author_inheritance |
|
normalize_category ( &$source, string $from, &$dest, string $to, integer $i ) |
MagpieFromSimplePie::normalize_category: Normalize Atom 1.0 and
RSS 2.0 categories to Dublin Core. |
|
normalize_dc_subject ( &$source, string $from, &$dest, string $to, integer $i ) |
MagpieFromSimplePie::normalize_dc_subject: Normalize Dublin Core
"subject" elements to Atom 1.0 and RSS 2.0 categories. |
|
normalize_element ( &$source, string $from, &$dest, string $to, mixed $via = NULL ) |
MagpieFromSimplePie::normalize_element
Simplify the logic for normalize(). Makes sure that count of elements
and each of multiple elements is normalized properly. If you need to
mess with things like attributes or change formats or the like, pass
it a callback to handle each element. |
|
normalize_enclosure ( &$source, string $from, &$dest, string $to, integer $i ) |
MagpieFromSimplePie::normalize_enclosure |
|
processChannelData ( array $data, array $path = [] ) : array |
MagpieFromSimplePie::processChannelData |
|
processFeedData ( array $data ) : array |
MagpieFromSimplePie::processFeedData |
|
processItemData ( array $data, array $path = [] ) : array |
MagpieFromSimplePie::processItemData |
|