Documentation

feeds.php

Table of Contents

Functions

load_feeds()  : void
write_rss_to_db()  : string
print_last_feed_update()  : void
get_nf_option()  : null|string|array<string|int, string>
get_links_from_new_feed()  : array<string|int, array<string|int, false|null|string>|null|string>|false
get_links_from_rss()  : array<string|int, array<string|int, false|null|string>>|false
get_text_from_rsslink()  : array<string|int, array<string|int, array<string|int, mixed>|mixed|null|string>>|null|string

Functions

load_feeds()

load_feeds(mixed $currentfeed) : void
Parameters
$currentfeed : mixed

write_rss_to_db()

write_rss_to_db(mixed $texts) : string
Parameters
$texts : mixed
Return values
string

print_last_feed_update()

print_last_feed_update(mixed $diff) : void
Parameters
$diff : mixed

get_nf_option()

get_nf_option(mixed $str, mixed $option) : null|string|array<string|int, string>
Parameters
$str : mixed
$option : mixed
Tags
psalm-return

array<string, string>|null|string

Return values
null|string|array<string|int, string>
get_links_from_new_feed(mixed $NfSourceURI) : array<string|int, array<string|int, false|null|string>|null|string>|false
Parameters
$NfSourceURI : mixed
Tags
psalm-return

array{feed_title: null|string,...}|false

Return values
array<string|int, array<string|int, false|null|string>|null|string>|false
get_links_from_rss(mixed $NfSourceURI, mixed $NfArticleSection) : array<string|int, array<string|int, false|null|string>>|false
Parameters
$NfSourceURI : mixed
$NfArticleSection : mixed
Tags
psalm-return

false|list<array{title: null|string, desc: null|string, link: string, date: string, text?: false|string, audio: string}>

Return values
array<string|int, array<string|int, false|null|string>>|false
get_text_from_rsslink(mixed $feed_data, mixed $NfArticleSection, mixed $NfFilterTags[, mixed $NfCharset = null ]) : array<string|int, array<string|int, array<string|int, mixed>|mixed|null|string>>|null|string
Parameters
$feed_data : mixed
$NfArticleSection : mixed
$NfFilterTags : mixed
$NfCharset : mixed = null
Tags
psalm-return

array<array{TxTitle: mixed, TxAudioURI: mixed|null, TxText: string, TxSourceURI: mixed|string, message?: string, link?: list{mixed,...}}>|null|string

Return values
array<string|int, array<string|int, array<string|int, mixed>|mixed|null|string>>|null|string

        
On this page

Search results