×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: PHP
Posted by: Dmitriy Belkin
Added: Sep 19, 2021 10:03 AM
Modified: Sep 28, 2021 10:44 AM
Views: 2691
  1.         /*
  2.          * Сохраняем ##entity##  в базу данных
  3.          * $_REQUEST['data']
  4.          *
  5.          * POST
  6.          */
  7.         case '##entities##_update':
  8.             $manager = new classes\blabs##entitiesClass##();
  9.            $manager->saveRecord($_REQUEST['data']);
  10.             return array(CONTROLLER_STATUS_OK, '##addon##.##entities##_manage');