PHP Класс FeedWordPress, feedwordpress

Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
$feeds
$feedurls
$httpauth
$strip_attrs
$update_hooked * FeedWordPress::has_secret ()
$uri_attrs

Открытые методы

Метод Описание
__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.

Описание методов

__construct() публичный Метод

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

admin_api() публичный Метод

* FeedWordPress::admin_init()
public admin_api ( )

admin_init() статический публичный Метод

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

affirmative() статический публичный Метод

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

all_admin_notices() публичный Метод

* FeedWordPress::admin_api ()
public all_admin_notices ( )

allow_html_mail() статический публичный Метод

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

auto_update() публичный Метод

* FeedWordPress::update_requested_url()
public auto_update ( )

automatic_update_hook() публичный Метод

public automatic_update_hook ( $params = [] )

cache_duration() публичный статический Метод

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

cache_lifetime() публичный статический Метод

public static cache_lifetime ( $duration )

clear_cache() публичный Метод

* FeedWordPress::fetch ()
public clear_cache ( )

clear_cache_magic_url() публичный Метод

* FeedWordPress::user_can_richedit ()

clear_cache_requested() публичный Метод

* FeedWordPress::clear_cache_magic_url()

crash_ts() публичный Метод

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

create_guid_index() публичный статический Метод

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

critical_bug() статический публичный Метод

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

dashboard() публичный Метод

* FeedWordPress::dashboard_setup ()
public dashboard ( )

dashboard_setup() публичный Метод

* FeedWordPress::row_actions ()
public dashboard_setup ( )

diagnostic() статический публичный Метод

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

diagnostic_on() статический публичный Метод

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

email_diagnostic_log() публичный Метод

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

email_diagnostics_override() публичный Метод

* FeedWordPress::diagnostic ()

feedwordpress_cleanup() публичный Метод

fetch() статический публичный Метод

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

fetch_timeout() статический публичный Метод

static public fetch_timeout ( )

force_update_all() публичный Метод

* FeedWordPress::last_update_all ()
public force_update_all ( )

fwp_feedcontents() публичный Метод

* FeedWordPress::fwp_feeds ()
public fwp_feedcontents ( )

fwp_feeds() публичный Метод

* FeedWordPress::wp_loaded ()
public fwp_feeds ( )

fwp_xpathtest() публичный Метод

* FeedWordPress::fwp_feedcontents ()
public fwp_xpathtest ( )

has_emailed_diagnostics() публичный Метод

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

has_guid_index() публичный статический Метод

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

has_secret() публичный Метод

* FeedWordPress::secret_key ()
public has_secret ( )

init() публичный Метод

* FeedWordPress::feedwordpress_cleanup ()
public init ( )

is_null_email() публичный статический Метод

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

last_update_all() публичный Метод

* FeedWordPress::automatic_update_hook ()
public last_update_all ( )

log_prefix() статический публичный Метод

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

menu_cap() статический публичный Метод

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

needs_upgrade() статический публичный Метод

..
static public needs_upgrade ( )

negative() статический публичный Метод

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

noncritical_bug() статический публичный Метод

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

null_email_set() публичный статический Метод

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

on_unfamiliar() публичный статический Метод

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

param() статический публичный Метод

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

path() статический публичный Метод

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

post() статический публичный Метод

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

process_retirements() публичный Метод

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

ready_to_email_diagnostics() публичный Метод

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

redirect_retired() публичный Метод

* FeedWordPress::fwp_xpathtest ()
public redirect_retired ( )

remove_guid_index() публичный статический Метод

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

row_actions() публичный Метод

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

secret_key() публичный Метод

* FeedWordPress::crash_ts ()
public secret_key ( )

stale() публичный Метод

* FeedWordPress::force_update_all ()
public stale ( )

subscribed() публичный Метод

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
Результат boolean TRUE if currently subscribed; FALSE otherwise.

subscription() публичный Метод

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
Результат mixed SyndicatedLink object if subscription is found; NULL if not

syndicated_status() статический публичный Метод

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

update() публичный Метод

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

update_magic_url() публичный Метод

* FeedWordPress::clear_cache_requested()
public update_magic_url ( )

update_requested() публичный статический Метод

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

update_requested_url() публичный Метод

* FeedWordPress::update_requested()

upgrade_database() статический публичный Метод

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

use_aggregator_source_data() публичный статический Метод

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

user_can_richedit() публичный Метод

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

val() статический публичный Метод

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

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.
С версии: 2016.0614
public wp_loaded ( )

Описание свойств

$feeds публичное свойство

public $feeds

$feedurls публичное свойство

public $feedurls

$httpauth публичное свойство

public $httpauth

$strip_attrs публичное свойство

public $strip_attrs

$update_hooked публичное свойство

* FeedWordPress::has_secret ()
public $update_hooked

$uri_attrs публичное свойство

public $uri_attrs