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 further data transformation.
Method of the class: ActionScheduler_Abstract_ListTable{}
No Hooks.
Returns
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 10.3.6
protected function set_items( array $items ) {
$this->items = array();
foreach ( $items as $item ) {
$this->items[ $item[ $this->ID ] ] = array_map( 'maybe_unserialize', $item );
}
}