PHP Class FeedWordPress, feedwordpress

Afficher le fichier Open project: radgeek/feedwordpress Class Usage Examples

Méthodes publiques

Свойство Type Description
$feeds
$feedurls
$httpauth
$strip_attrs
$update_hooked * FeedWordPress::has_secret ()
$uri_attrs

Méthodes publiques

Méthode Description
__construct ( ) FeedWordPress::__construct (): Construct FeedWordPress singleton object and retrieves a list of feeds for later reference.
admin_api ( ) * FeedWordPress::admin_init()
admin_footer ( ) * FeedWordPress::allow_html_mail ()
admin_init ( ) * FeedWordPress::stale()
affirmative ( $f, $setting ) * FeedWordPress::negative ()
all_admin_notices ( ) * FeedWordPress::admin_api ()
allow_html_mail ( ) * FeedWordPress::email_diagnostic_log ()
auto_update ( ) * FeedWordPress::update_requested_url()
automatic_update_hook ( $params = [] )
cache_duration ( $params = [] ) * FeedWordPress::clear_cache ()
cache_lifetime ( $duration )
clear_cache ( ) * FeedWordPress::fetch ()
clear_cache_magic_url ( ) * FeedWordPress::user_can_richedit ()
clear_cache_requested ( ) * FeedWordPress::clear_cache_magic_url()
crash_ts ( $default = NULL ) * FeedWordPress::update ()
create_guid_index ( ) * FeedWordPress::has_guid_index ()
critical_bug ( $varname, $var, $line, $file = NULL ) # Internal debugging functions
dashboard ( ) * FeedWordPress::dashboard_setup ()
dashboard_setup ( ) * FeedWordPress::row_actions ()
diagnostic ( $level, $out, $persist = NULL, $since = NULL, $mostRecent = NULL ) * FeedWordPress::diagnostic_on ()
diagnostic_on ( $level ) * FeedWordPress::val ()
email_diagnostic_log ( $params = [] ) * FeedWordPress::ready_to_email_diagnostics ()
email_diagnostics_override ( ) * FeedWordPress::diagnostic ()
feedwordpress_cleanup ( )
fetch ( $url, $params = [] )
fetch_timeout ( )
find_link ( $uri, $field = 'link_rss' ) * FeedWordPress::auto_update ()
force_update_all ( ) * FeedWordPress::last_update_all ()
fwp_feedcontents ( ) * FeedWordPress::fwp_feeds ()
fwp_feeds ( ) * FeedWordPress::wp_loaded ()
fwp_xpathtest ( ) * FeedWordPress::fwp_feedcontents ()
has_emailed_diagnostics ( $dlog ) * FeedWordPress::email_diagnostics_override ()
has_guid_index ( ) * FeedWordPress::upgrade_database()
has_secret ( ) * FeedWordPress::secret_key ()
init ( ) * FeedWordPress::feedwordpress_cleanup ()
is_null_email ( $email ) * FeedWordPress::null_email_set ()
last_update_all ( ) * FeedWordPress::automatic_update_hook ()
link_category_id ( ) * FeedWordPress::syndicated_links()
log_prefix ( $date = false ) * FeedWordPress::admin_footer ()
menu_cap ( $sub = false ) * FeedWordPress::log_prefix ()
munge_permalinks ( ) : boolean FeedWordPress::munge_permalinks: check whether or not FeedWordPress should rewrite permalinks for syndicated items to reflect their original location.
needs_upgrade ( ) # Upgrades and maintenance.
negative ( $f, $setting ) # Utility functions for handling text settings
noncritical_bug ( $varname, $var, $line, $file = NULL ) * FeedWordPress::critical_bug ()
null_email_set ( ) function FeedWordPress::on_unfamiliar()
on_unfamiliar ( $what = 'author' ) * FeedWordPress::syndicated_status()
param ( $key, $type = 'REQUEST', $default = NULL ) here for backward compatibility.
path ( $filename = '' ) * FeedWordPress::menu_cap ()
post ( $key, $default = NULL ) * FeedWordPress::param ()
process_retirements ( $delta ) * FeedWordPress::all_admin_notices ()
ready_to_email_diagnostics ( $dlog ) * FeedWordPress::has_emailed_diagnostics ()
redirect_retired ( ) * FeedWordPress::fwp_xpathtest ()
remove_guid_index ( ) * FeedWordPress::create_guid_index ()
row_actions ( $actions, $post ) * FeedWordPress::redirect_retired ()
secret_key ( ) * FeedWordPress::crash_ts ()
stale ( ) * FeedWordPress::force_update_all ()
subscribed ( mixed $id ) : boolean FeedWordPress::subscribed (): Check whether a feed is currently in the subscription list for FeedWordPress.
subscription ( mixed $which ) : mixed FeedWordPress::subscription (): Get the SyndicatedLink object for a given URL or numeric ID, if we have either an active subscription to it; or a de-activated subscription.
syndicate_link ( string $name, string $uri, string $rss ) : mixed FeedWordPress:syndicate_link(): add or update a feed subscription
syndicated_links ( $args = [] ) * FeedWordPress::munge_permalinks()
syndicated_status ( $what, $default ) * function FeedWordPress::syndicate_link()
update ( $uri = null, $crash_ts = null ) #
update_magic_url ( ) * FeedWordPress::clear_cache_requested()
update_requested ( ) * FeedWordPress::update_magic_url ()
update_requested_url ( ) * FeedWordPress::update_requested()
upgrade_database ( $from = NULL ) * FeedWordPress::needs_upgrade ()
use_aggregator_source_data ( ) * FeedWordPress::is_null_email ()
user_can_richedit ( $rich_edit ) * FeedWordPress::dashboard ()
val ( $v, $no_newlines = false ) * FeedWordPress::noncritical_bug ()
wp_loaded ( ) FeedWordPress::wp_loaded (): Once all plugin and theme modules have been loaded and initialized (by actions on the init hook, etc.), check the HTTP request to see if we need to perform any special FeedWordPress-related actions.

Method Details

__construct() public méthode

FeedWordPress::__construct (): Construct FeedWordPress singleton object and retrieves a list of feeds for later reference.
public __construct ( )

admin_api() public méthode

* FeedWordPress::admin_init()
public admin_api ( )

admin_init() static public méthode

* FeedWordPress::stale()
static public admin_init ( )

affirmative() static public méthode

* FeedWordPress::negative ()
static public affirmative ( $f, $setting )

all_admin_notices() public méthode

* FeedWordPress::admin_api ()
public all_admin_notices ( )

allow_html_mail() static public méthode

* FeedWordPress::email_diagnostic_log ()
static public allow_html_mail ( )

auto_update() public méthode

* FeedWordPress::update_requested_url()
public auto_update ( )

automatic_update_hook() public méthode

public automatic_update_hook ( $params = [] )

cache_duration() public static méthode

* FeedWordPress::clear_cache ()
public static cache_duration ( $params = [] )

cache_lifetime() public static méthode

public static cache_lifetime ( $duration )

clear_cache() public méthode

* FeedWordPress::fetch ()
public clear_cache ( )

clear_cache_magic_url() public méthode

* FeedWordPress::user_can_richedit ()

clear_cache_requested() public méthode

* FeedWordPress::clear_cache_magic_url()

crash_ts() public méthode

* FeedWordPress::update ()
public crash_ts ( $default = NULL )

create_guid_index() public static méthode

* FeedWordPress::has_guid_index ()
public static create_guid_index ( )

critical_bug() static public méthode

# Internal debugging functions
static public critical_bug ( $varname, $var, $line, $file = NULL )

dashboard() public méthode

* FeedWordPress::dashboard_setup ()
public dashboard ( )

dashboard_setup() public méthode

* FeedWordPress::row_actions ()
public dashboard_setup ( )

diagnostic() static public méthode

* FeedWordPress::diagnostic_on ()
static public diagnostic ( $level, $out, $persist = NULL, $since = NULL, $mostRecent = NULL )

diagnostic_on() static public méthode

* FeedWordPress::val ()
static public diagnostic_on ( $level )

email_diagnostic_log() public méthode

* FeedWordPress::ready_to_email_diagnostics ()
public email_diagnostic_log ( $params = [] )

email_diagnostics_override() public méthode

* FeedWordPress::diagnostic ()

feedwordpress_cleanup() public méthode

fetch() static public méthode

static public fetch ( $url, $params = [] )

fetch_timeout() static public méthode

static public fetch_timeout ( )

force_update_all() public méthode

* FeedWordPress::last_update_all ()
public force_update_all ( )

fwp_feedcontents() public méthode

* FeedWordPress::fwp_feeds ()
public fwp_feedcontents ( )

fwp_feeds() public méthode

* FeedWordPress::wp_loaded ()
public fwp_feeds ( )

fwp_xpathtest() public méthode

* FeedWordPress::fwp_feedcontents ()
public fwp_xpathtest ( )

has_emailed_diagnostics() public méthode

* FeedWordPress::email_diagnostics_override ()
public has_emailed_diagnostics ( $dlog )

has_guid_index() public static méthode

* FeedWordPress::upgrade_database()
public static has_guid_index ( )

has_secret() public méthode

* FeedWordPress::secret_key ()
public has_secret ( )

init() public méthode

* FeedWordPress::feedwordpress_cleanup ()
public init ( )

is_null_email() public static méthode

* FeedWordPress::null_email_set ()
public static is_null_email ( $email )

last_update_all() public méthode

* FeedWordPress::automatic_update_hook ()
public last_update_all ( )

log_prefix() static public méthode

* FeedWordPress::admin_footer ()
static public log_prefix ( $date = false )

menu_cap() static public méthode

* FeedWordPress::log_prefix ()
static public menu_cap ( $sub = false )

needs_upgrade() static public méthode

..
static public needs_upgrade ( )

negative() static public méthode

# Utility functions for handling text settings
static public negative ( $f, $setting )

noncritical_bug() static public méthode

* FeedWordPress::critical_bug ()
static public noncritical_bug ( $varname, $var, $line, $file = NULL )

null_email_set() public static méthode

function FeedWordPress::on_unfamiliar()
public static null_email_set ( )

on_unfamiliar() public static méthode

* FeedWordPress::syndicated_status()
public static on_unfamiliar ( $what = 'author' )

param() static public méthode

here for backward compatibility.
static public param ( $key, $type = 'REQUEST', $default = NULL )

path() static public méthode

* FeedWordPress::menu_cap ()
static public path ( $filename = '' )

post() static public méthode

* FeedWordPress::param ()
static public post ( $key, $default = NULL )

process_retirements() public méthode

* FeedWordPress::all_admin_notices ()
public process_retirements ( $delta )

ready_to_email_diagnostics() public méthode

* FeedWordPress::has_emailed_diagnostics ()
public ready_to_email_diagnostics ( $dlog )

redirect_retired() public méthode

* FeedWordPress::fwp_xpathtest ()
public redirect_retired ( )

remove_guid_index() public static méthode

* FeedWordPress::create_guid_index ()
public static remove_guid_index ( )

row_actions() public méthode

* FeedWordPress::redirect_retired ()
public row_actions ( $actions, $post )

secret_key() public méthode

* FeedWordPress::crash_ts ()
public secret_key ( )

stale() public méthode

* FeedWordPress::force_update_all ()
public stale ( )

subscribed() public méthode

FeedWordPress::subscribed (): Check whether a feed is currently in the subscription list for FeedWordPress.
public subscribed ( mixed $id ) : boolean
$id mixed Numeric ID of a WordPress link object or URL of a feed
Résultat boolean TRUE if currently subscribed; FALSE otherwise.

subscription() public méthode

FeedWordPress::subscription (): Get the SyndicatedLink object for a given URL or numeric ID, if we have either an active subscription to it; or a de-activated subscription.
public subscription ( mixed $which ) : mixed
$which mixed Numeric ID for a WordPress link object or string URL for a feed
Résultat mixed SyndicatedLink object if subscription is found; NULL if not

syndicated_status() static public méthode

* function FeedWordPress::syndicate_link()
static public syndicated_status ( $what, $default )

update() public méthode

#
public update ( $uri = null, $crash_ts = null )

update_magic_url() public méthode

* FeedWordPress::clear_cache_requested()
public update_magic_url ( )

update_requested() public static méthode

* FeedWordPress::update_magic_url ()
public static update_requested ( )

update_requested_url() public méthode

* FeedWordPress::update_requested()

upgrade_database() static public méthode

* FeedWordPress::needs_upgrade ()
static public upgrade_database ( $from = NULL )

use_aggregator_source_data() public static méthode

* FeedWordPress::is_null_email ()
public static use_aggregator_source_data ( )

user_can_richedit() public méthode

* FeedWordPress::dashboard ()
public user_can_richedit ( $rich_edit )

val() static public méthode

* FeedWordPress::noncritical_bug ()
static public val ( $v, $no_newlines = false )

wp_loaded() public méthode

FeedWordPress::wp_loaded (): Once all plugin and theme modules have been loaded and initialized (by actions on the init hook, etc.), check the HTTP request to see if we need to perform any special FeedWordPress-related actions.
Since: 2016.0614
public wp_loaded ( )

Property Details

$feeds public_oe property

public $feeds

$feedurls public_oe property

public $feedurls

$httpauth public_oe property

public $httpauth

$strip_attrs public_oe property

public $strip_attrs

$update_hooked public_oe property

* FeedWordPress::has_secret ()
public $update_hooked

$uri_attrs public_oe property

public $uri_attrs