Lines:
1 to 51 of 51
<?php /** * WPSEO plugin file. * * @package WPSEO\Admin\Notifications */ /* class Yoast_Notification_Center */ /* function Yoast_Notification_Center::__construct() – Construct. */ /* function Yoast_Notification_Center::get() – Singleton getter. */ /* function Yoast_Notification_Center::ajax_dismiss_notification() – Dismiss a notification. */ /* function Yoast_Notification_Center::is_notification_dismissed() – Check if the user has dismissed a notification. */ /* function Yoast_Notification_Center::maybe_dismiss_notification() – Checks if the notification is being dismissed. */ /* function Yoast_Notification_Center::dismiss_notification() – Dismisses a notification. */ /* function Yoast_Notification_Center::restore_notification() – Restores a notification. */ /* function Yoast_Notification_Center::clear_dismissal() – Clear dismissal information for the specified Notification. */ /* function Yoast_Notification_Center::setup_current_notifications() – Retrieves notifications from the storage and merges in previous notification changes. */ /* function Yoast_Notification_Center::add_notification() – Add notification to the cookie. */ /* function Yoast_Notification_Center::get_notification_by_id() – Get the notification by ID and user ID. */ /* function Yoast_Notification_Center::display_notifications() – Display the notifications. */ /* function Yoast_Notification_Center::remove_notification() – Remove notification after it has been displayed. */ /* function Yoast_Notification_Center::remove_notification_by_id() – Removes a notification by its ID. */ /* function Yoast_Notification_Center::get_notification_count() – Get the notification count. */ /* function Yoast_Notification_Center::get_resolved_notification_count() – Get the number of notifications resolved this execution. */ /* function Yoast_Notification_Center::get_sorted_notifications() – Return the notifications sorted on type and priority. */ /* function Yoast_Notification_Center::ajax_get_notifications() – AJAX display notifications. */ /* function Yoast_Notification_Center::deactivate_hook() – Remove storage when the plugin is deactivated. */ /* function Yoast_Notification_Center::get_user_id() – Returns the given user ID if it exists. */ /* function Yoast_Notification_Center::split_on_user_id() – Splits the notifications on user ID. */ /* function Yoast_Notification_Center::update_storage() – Save persistent notifications to storage. */ /* function Yoast_Notification_Center::store_notifications_for_user() – Stores the notifications to its respective user’s storage. */ /* function Yoast_Notification_Center::get_notifications() – Provide a way to verify present notifications. */ /* function Yoast_Notification_Center::get_notifications_for_user() – Returns the notifications for the given user. */ /* function Yoast_Notification_Center::get_new_notifications() – Get newly added notifications. */ /* function Yoast_Notification_Center::get_user_input() – Get information from the User input. */ /* function Yoast_Notification_Center::retrieve_notifications_from_storage() – Retrieve the notifications from storage. */ /* function Yoast_Notification_Center::sort_notifications() – Sort on type then priority. */ /* function Yoast_Notification_Center::clear_notifications() – Clear local stored notifications. */ /* function Yoast_Notification_Center::filter_persistent_notifications() – Filter out non-persistent notifications. */ /* function Yoast_Notification_Center::filter_dismissed_notifications() – Filter out dismissed notifications. */ /* function Yoast_Notification_Center::notification_to_array() – Convert Notification to array representation. */ /* function Yoast_Notification_Center::array_to_notification() – Convert stored array to Notification. */ /* function Yoast_Notification_Center::filter_notification_current_user() – Filter notifications that should not be displayed for the current user. */ /* function Yoast_Notification_Center::is_notification_persistent() – Checks if given notification is persistent. */ /* function Yoast_Notification_Center::queue_transaction() – Queues a notification transaction for later execution if notifications are not yet set up. */ /* function Yoast_Notification_Center::add_transaction_to_queue() – Adds a notification transaction to the queue for later execution. */ /* function Yoast_Notification_Center::remove_storage() – Removes all notifications from storage. */ /* function Yoast_Notification_Center::has_stored_notifications() – Checks if there are stored notifications. */ /* function Yoast_Notification_Center::get_stored_notifications() – Retrieves the stored notifications. */