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.
Метод класса: ActionScheduler_Abstract_ListTable{}
Хуков нет.
Возвращает
null
. Ничего.
Использование
// protected - в коде основоного (родительского) или дочернего класса $result = $this->set_items( $items );
- $items(массив) (обязательный)
- Items array.
Код ActionScheduler_Abstract_ListTable::set_items() ActionScheduler Abstract ListTable::set items WC 7.7.0
protected function set_items( array $items ) { $this->items = array(); foreach ( $items as $item ) { $this->items[ $item[ $this->ID ] ] = array_map( 'maybe_unserialize', $item ); } }