public function renumberObjects() { if ((bool) $this->request->config->get('allow_automated_renumbering_of_objects_in_a_lot')) { $t_lot = new ca_object_lots($this->request->getParameter('lot_id', pInteger)); if ($t_lot->getPrimaryKey()) { $t_lot->renumberObjects($this->opo_app_plugin_manager); if ($t_lot->numErrors()) { foreach ($t_lot->getErrors() as $vs_error) { $this->notification->addNotification($vs_error, __NOTIFICATION_TYPE_ERROR__); } } else { $this->notification->addNotification(_t('Renumbered contents of lot'), __NOTIFICATION_TYPE_INFO__); } } } return $this->Edit(); }