Changeset View
Changeset View
Standalone View
Standalone View
branches/5.2.x/units/orders/orders_event_handler.php
Show First 20 Lines • Show All 3489 Lines • ▼ Show 20 Line(s) | |||||
/** | /** | ||||
* Creates list from items selected in grid | * Creates list from items selected in grid | ||||
* | * | ||||
* @param kEvent $event | * @param kEvent $event | ||||
*/ | */ | ||||
function OnLoadSelected($event) | function OnLoadSelected($event) | ||||
{ | { | ||||
$event->setPseudoClass('_List'); | $event->setPseudoClass('_List'); | ||||
$object = $event->getObject( Array('selected_only' => true) ); | |||||
/** @var kDBList $object */ | |||||
$object = $event->getObject(array('selected_only' => true, 'per_page' => -1)); | |||||
$event->redirect = false; | $event->redirect = false; | ||||
} | } | ||||
/** | /** | ||||
* Return orders list, that will expire in time specified | * Return orders list, that will expire in time specified | ||||
* | * | ||||
* @param int $pre_expiration timestamp | * @param int $pre_expiration timestamp | ||||
* @return Array | * @return Array | ||||
▲ Show 20 Lines • Show All 539 Lines • Show Last 20 Lines |