original_string: protected function submitIndexOrder()
      {
          if ($this->isPosted('delete')) {
              $this->deleteOrder();
          } else if ($this->isPosted('status') && $this->validateIndexOrder()) {
              $this->updateStatusOrder();
          } else if ($this->isPosted('clone') && $this->validateIndexOrder()) {
              $this->cloneOrder();
          }
      }
code: protected function submitIndexOrder()
      {
          if ($this->isPosted('delete')) {
              $this->deleteOrder();
          } else if ($this->isPosted('status') && $this->validateIndexOrder()) {
              $this->updateStatusOrder();
          } else if ($this->isPosted('clone') && $this->validateIndexOrder()) {
              $this->cloneOrder();
          }
      }
code_tokens: protected function submitIndexOrder ( ) { if ( $ this -> isPosted ( 'delete' ) ) { $ this -> deleteOrder ( ) ; } else if ( $ this -> isPosted ( 'status' ) && $ this -> validateIndexOrder ( ) ) { $ this -> updateStatusOrder ( ) ; } else if ( $ this -> isPosted ( 'clone' ) && $ this -> validateIndexOrder ( ) ) { $ this -> cloneOrder ( ) ; } }
docstring: Handles a submitted order
docstring_tokens: Handles a submitted order