\lloc\MslsMslsCustomColumn

Handling of existing/not existing translations in the backend listings of various post types

Summary

Methods
Properties
Constants
__construct()
init()
debugger()
get_input_array()
is_autosave()
verify_nonce()
delete()
th()
td()
No public properties found
No constants found
get_input_value()
save()
$options
$collection
N/A
No private methods found
No private properties found
N/A

Properties

Methods

debugger()

debugger(mixed  $message) 

Prints a message in the error log if WP_DEBUG is true

Parameters

mixed $message

get_input_array()

get_input_array(integer  $object_id) : array

Get the input array

Parameters

integer $object_id

Returns

array

is_autosave()

is_autosave(integer  $post_id) : boolean

Checks if the current input comes from the autosave-functionality

Parameters

integer $post_id

Returns

boolean

verify_nonce()

verify_nonce() : boolean

Checks for the nonce in the INPUT_POST

Returns

boolean

delete()

delete(integer  $object_id) 

Delete

Parameters

integer $object_id

th()

th(array  $columns) : array

Table header

Parameters

array $columns

Returns

array

td()

td(string  $column_name, integer  $item_id) 

Table body

Parameters

string $column_name
integer $item_id

get_input_value()

get_input_value(  $key,   $value) : array

Prepare input key/value-pair

Parameters

$key
$value

Returns

array

save()

save(integer  $object_id, string  $class) 

Save

Parameters

integer $object_id
string $class