ActionScheduler_Abstract_ListTable::set_items()
Set the data for displaying. It will attempt to unserialize (There is a chance that some columns are serialized). This can be override in child classes for futher data transformation.
Method of the class: ActionScheduler_Abstract_ListTable{}
No Hooks.
Return
null
. Nothing (null).
Usage
// protected - for code of main (parent) or child class $result = $this->set_items( $items );
- $items(array) (required)
- Items array.
ActionScheduler_Abstract_ListTable::set_items() ActionScheduler Abstract ListTable::set items code WC 8.6.1
protected function set_items( array $items ) { $this->items = array(); foreach ( $items as $item ) { $this->items[ $item[ $this->ID ] ] = array_map( 'maybe_unserialize', $item ); } }