Exemplo n.º 1
0
 public function action_add_store()
 {
     if (Request::initial()->is_ajax()) {
         $name = Arr::get($_POST, 'name', '');
         $ajax = new Model_Stanki();
         $res = $ajax->add_store($name);
     }
 }