PHP Class FeedWordPressAdminPage, feedwordpress

显示文件 Open project: radgeek/feedwordpress Class Usage Examples

Public Properties

Property Type Description
$dispatch
$filename
$link
$pagenames

Protected Properties

Property Type Description
$context
$mesg
$updated

Public Methods

Method Description
__construct ( $page = 'feedwordpressadmin', mixed $link = NULL ) Construct the admin page object.
accept_POST ( $post ) * FeedWordPressAdminPage::pagename ()
admin_page_href ( $page, $params = [], $link = NULL ) * FeedWordPressAdminPage::ajax_interface_js ()
ajax_interface_js ( ) * FeedWordPressAdminPage::fix_toggles()
close_sheet ( ) * FeedWordPressAdminPage::open_sheet ()
display ( )
display_feed_select_dropdown ( ) * FeedWordPressAdminPage::display_feed_settings_page_links
display_feed_settings_page_links ( $params = [] ) * FeedWordPressAdminPage::admin_page_href ()
display_settings_scope_message ( ) * FeedWordPressAdminPage::display_update_notice_if_updated()
display_sheet_header ( $pagename = 'Syndication', $all = false ) * FeedWordPressAdminPage::display_feed_select_dropdown()
display_update_notice_if_updated ( $pagename = 'Syndication', $mesg = NULL )
fix_toggles ( ) Outputs JavaScript to fix AJAX toggles settings.
for_default_settings ( )
for_feed_settings ( ) * FeedWordPressAdminPage::save_settings ()
form_action ( $filename = NULL )
has_link ( ) *static
meta_box_context ( ) : string Provides a uniquely identifying name for the interface context for use with add_meta_box() and do_meta_boxes(),
open_sheet ( $header )
pagename ( $context = NULL )
pageslug ( ) * FeedWordPressAdminPage constructor
save_button ( $caption = NULL ) * FeedWordPressAdminPage::setting_radio_control ()
save_requested_in ( $post ) * FeedWordPressAdminPage::update_setting ()
save_settings ( $post )
setting ( $names, $fallback_value = NULL, $params = [] )
setting_radio_control ( $localName, $globalName, $options, $params = [] ) * FeedWordPressAdminPage::close_sheet ()
stamp_link_id ( $field = null ) * FeedWordPressAdminPage::submitted_link ()
submitted_link ( ) * FeedWordPressAdminPage::submitted_link_id()
submitted_link_id ( )
these_posts_phrase ( ) * FeedWordPressAdminPage::stamp_link_id ()
update_feed ( )
update_message ( ) * FeedWordPressAdminPage::form_action ()
update_requested_in ( $post )
update_setting ( $names, $value, $default = 'default' )

Method Details

__construct() public method

Construct the admin page object.
public __construct ( $page = 'feedwordpressadmin', mixed $link = NULL )
$link mixed An object of class {@link SyndicatedLink} if created for one feed's settings, NULL if created for global default settings

accept_POST() public method

* FeedWordPressAdminPage::pagename ()
public accept_POST ( $post )

admin_page_href() public method

* FeedWordPressAdminPage::ajax_interface_js ()
public admin_page_href ( $page, $params = [], $link = NULL )

ajax_interface_js() public method

* FeedWordPressAdminPage::fix_toggles()
public ajax_interface_js ( )

close_sheet() public method

* FeedWordPressAdminPage::open_sheet ()
public close_sheet ( )

display() public method

public display ( )

display_feed_select_dropdown() public method

* FeedWordPressAdminPage::display_feed_settings_page_links

display_settings_scope_message() public method

* FeedWordPressAdminPage::display_update_notice_if_updated()

display_sheet_header() public method

* FeedWordPressAdminPage::display_feed_select_dropdown()
public display_sheet_header ( $pagename = 'Syndication', $all = false )

display_update_notice_if_updated() public method

public display_update_notice_if_updated ( $pagename = 'Syndication', $mesg = NULL )

fix_toggles() public method

Outputs JavaScript to fix AJAX toggles settings.
public fix_toggles ( )

for_default_settings() public method

for_feed_settings() public method

* FeedWordPressAdminPage::save_settings ()
public for_feed_settings ( )

form_action() public method

public form_action ( $filename = NULL )

meta_box_context() public method

Provides a uniquely identifying name for the interface context for use with add_meta_box() and do_meta_boxes(),
See also: add_meta_box()
See also: do_meta_boxes()
public meta_box_context ( ) : string
return string the context name

open_sheet() public method

public open_sheet ( $header )

pagename() public method

public pagename ( $context = NULL )

pageslug() public method

* FeedWordPressAdminPage constructor
public pageslug ( )

save_button() public method

* FeedWordPressAdminPage::setting_radio_control ()
public save_button ( $caption = NULL )

save_requested_in() public method

* FeedWordPressAdminPage::update_setting ()
public save_requested_in ( $post )

save_settings() public method

public save_settings ( $post )

setting() public method

public setting ( $names, $fallback_value = NULL, $params = [] )

setting_radio_control() public method

* FeedWordPressAdminPage::close_sheet ()
public setting_radio_control ( $localName, $globalName, $options, $params = [] )

these_posts_phrase() public method

* FeedWordPressAdminPage::stamp_link_id ()
public these_posts_phrase ( )

update_feed() public method

public update_feed ( )

update_message() public method

* FeedWordPressAdminPage::form_action ()
public update_message ( )

update_requested_in() public method

public update_requested_in ( $post )

update_setting() public method

public update_setting ( $names, $value, $default = 'default' )

Property Details

$context protected_oe property

protected $context

$dispatch public_oe property

public $dispatch

$filename public_oe property

public $filename

$mesg protected_oe property

protected $mesg

$pagenames public_oe property

public $pagenames

$updated protected_oe property

protected $updated