PHP Class SimpleOptionsLogger

Inheritance: extends SimpleLogger
Afficher le fichier Open project: bonny/wordpress-simple-history

Méthodes publiques

Свойство Type Description
$slug

Méthodes publiques

Méthode Description
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 )

Method Details

add_context_for_option_default_category() public méthode

"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 méthode

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

add_context_for_option_page_for_posts() public méthode

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

add_context_for_option_page_on_front() public méthode

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() public méthode

Get array with information about this logger
public getInfo ( ) : array
Résultat array

getLogRowDetailsOutput() public méthode

Get detailed output
public getLogRowDetailsOutput ( $row )

getLogRowPlainTextOutput() public méthode

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() public méthode

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
Résultat string output

get_details_output_for_option_default_email_category() public méthode

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 méthode

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() public méthode

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
Résultat string output

loaded() public méthode

public loaded ( )

on_updated_option() public méthode

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

Property Details

$slug public_oe property

public $slug