Beispiel #1
0
 public function executeOrderDocument()
 {
     try {
         $documentId = $this->getRequestParameter('id');
         $up = $this->getRequestParameter('up');
         if ($up == "true") {
             Relation::orderDocument($documentId);
         } else {
             Relation::orderDocument($documentId, false);
         }
     } catch (Exception $e) {
         FileHelper::Log('ERROR SORT: ' . $e->getMessage(), UtilsHelper::MSG_ERROR);
     }
 }