ActionScheduler_Abstract_ListTable::get_table_columns
Process and return the columns name. This is meant for using with SQL, this means it always includes the primary key.
Method of the class: ActionScheduler_Abstract_ListTable{}
No Hooks.
Returns
Array.
Usage
// protected - for code of main (parent) or child class $result = $this->get_table_columns();
ActionScheduler_Abstract_ListTable::get_table_columns() ActionScheduler Abstract ListTable::get table columns code WC 10.6.2
protected function get_table_columns() {
$columns = array_keys( $this->columns );
if ( ! in_array( $this->ID, $columns, true ) ) {
$columns[] = $this->ID;
}
return $columns;
}