PHP 클래스 SimpleOptionsLogger

상속: extends SimpleLogger
파일 보기 프로젝트 열기: bonny/wordpress-simple-history

공개 프로퍼티들

프로퍼티 타입 설명
$slug

공개 메소드들

메소드 설명
add_context_for_option_default_category ( $context, $old_value, $new_value, $option, $option_page ) "default_category" = Writing Settings » Default Post Category
add_context_for_option_default_email_category ( $context, $old_value, $new_value, $option, $option_page )
add_context_for_option_page_for_posts ( $context, $old_value, $new_value, $option, $option_page )
add_context_for_option_page_on_front ( $context, $old_value, $new_value, $option, $option_page ) Page on front = "Front page displays" -> Your latest posts / A static page value 0 = Your latest post value int n = A static page
getInfo ( ) : array Get array with information about this logger
getLogRowDetailsOutput ( $row ) Get detailed output
getLogRowPlainTextOutput ( $row ) Give some options better plain text output
get_details_output_for_option_default_category ( $context, $old_value, $new_value, $option, $option_page, $tmpl_row ) : string Add detailed putput for default_category
get_details_output_for_option_default_email_category ( $context, $old_value, $new_value, $option, $option_page, $tmpl_row )
get_details_output_for_option_page_for_posts ( $context, $old_value, $new_value, $option, $option_page )
get_details_output_for_option_page_on_front ( $context, $old_value, $new_value, $option, $option_page, $tmpl_row ) : string Add detailed putput for page_on_front
loaded ( )
on_updated_option ( $option, $old_value, $new_value )

메소드 상세

add_context_for_option_default_category() 공개 메소드

"default_category" = Writing Settings » Default Post Category
public add_context_for_option_default_category ( $context, $old_value, $new_value, $option, $option_page )

add_context_for_option_default_email_category() 공개 메소드

public add_context_for_option_default_email_category ( $context, $old_value, $new_value, $option, $option_page )

add_context_for_option_page_for_posts() 공개 메소드

public add_context_for_option_page_for_posts ( $context, $old_value, $new_value, $option, $option_page )

add_context_for_option_page_on_front() 공개 메소드

Page on front = "Front page displays" -> Your latest posts / A static page value 0 = Your latest post value int n = A static page
public add_context_for_option_page_on_front ( $context, $old_value, $new_value, $option, $option_page )

getInfo() 공개 메소드

Get array with information about this logger
public getInfo ( ) : array
리턴 array

getLogRowDetailsOutput() 공개 메소드

Get detailed output
public getLogRowDetailsOutput ( $row )

getLogRowPlainTextOutput() 공개 메소드

Not doing anything at the moment, because it was really difficaly to give them meaningful text values
public getLogRowPlainTextOutput ( $row )

get_details_output_for_option_default_category() 공개 메소드

Add detailed putput for default_category
public get_details_output_for_option_default_category ( $context, $old_value, $new_value, $option, $option_page, $tmpl_row ) : string
리턴 string output

get_details_output_for_option_default_email_category() 공개 메소드

public get_details_output_for_option_default_email_category ( $context, $old_value, $new_value, $option, $option_page, $tmpl_row )

get_details_output_for_option_page_for_posts() 공개 메소드

public get_details_output_for_option_page_for_posts ( $context, $old_value, $new_value, $option, $option_page )

get_details_output_for_option_page_on_front() 공개 메소드

Add detailed putput for page_on_front
public get_details_output_for_option_page_on_front ( $context, $old_value, $new_value, $option, $option_page, $tmpl_row ) : string
리턴 string output

loaded() 공개 메소드

public loaded ( )

on_updated_option() 공개 메소드

public on_updated_option ( $option, $old_value, $new_value )

프로퍼티 상세

$slug 공개적으로 프로퍼티

public $slug