PHP 클래스 WPSEO_GSC, wordpress-seo

파일 보기 프로젝트 열기: yoast/wordpress-seo

보호된 프로퍼티들

프로퍼티 타입 설명
$category_filter WPSEO_GSC_Category_Filters
$issue_fetch WPSEO_GSC_Issues

공개 메소드들

메소드 설명
__construct ( ) Constructor for the page class. This will initialize all GSC related stuff
display ( ) Function that outputs the redirect page
display_table ( ) Display the table
init ( ) Run init logic.
page_scripts ( ) Load the admin redirects scripts
register_gsc_notification ( ) If the Google Search Console has no credentials, add a notification for the user to give him a heads up. This message is dismissable.
register_settings ( ) Be sure the settings will be registered, so data can be stored
set_help ( ) Setting the tab help on top of the screen
set_screen_option ( string $status, string $option, string $value ) : mixed Set the screen options

비공개 메소드들

메소드 설명
add_notification ( string $message, string $type ) Adding notification to the yoast notification center
catch_authentication_post ( ) Catch the authentication post
get_profile_notification ( ) : Yoast_Notification Builds the notification used when GSC is not connected to a profile
list_table_search_post_to_get ( ) Catch the redirects search post and redirect it to a search get
request_handler ( ) Handles the POST and GET requests
set_dependencies ( ) Setting dependencies which will be used one this page
set_hooks ( ) Setting the hooks to be load on page request

메소드 상세

__construct() 공개 메소드

Constructor for the page class. This will initialize all GSC related stuff
public __construct ( )

display() 공개 메소드

Function that outputs the redirect page
public display ( )

display_table() 공개 메소드

Display the table
public display_table ( )

init() 공개 메소드

Run init logic.
public init ( )

page_scripts() 공개 메소드

Load the admin redirects scripts
public page_scripts ( )

register_gsc_notification() 공개 메소드

If the Google Search Console has no credentials, add a notification for the user to give him a heads up. This message is dismissable.

register_settings() 공개 메소드

Be sure the settings will be registered, so data can be stored
public register_settings ( )

set_help() 공개 메소드

Setting the tab help on top of the screen
public set_help ( )

set_screen_option() 공개 메소드

Set the screen options
public set_screen_option ( string $status, string $option, string $value ) : mixed
$status string Status string.
$option string Option key.
$value string Value to return.
리턴 mixed

프로퍼티 상세

$category_filter 보호되어 있는 프로퍼티

protected WPSEO_GSC_Category_Filters $category_filter
리턴 WPSEO_GSC_Category_Filters

$issue_fetch 보호되어 있는 프로퍼티

protected WPSEO_GSC_Issues $issue_fetch
리턴 WPSEO_GSC_Issues