original_string: public function save()
      {
          if ($this->_state == CRUD::CREATE_STAT) {
              $this->add();
          } elseif ($this->_state == CRUD::UPDATE_STAT) {
              $this->edit();
          }
      }
code: public function save()
      {
          if ($this->_state == CRUD::CREATE_STAT) {
              $this->add();
          } elseif ($this->_state == CRUD::UPDATE_STAT) {
              $this->edit();
          }
      }
code_tokens: public function save ( ) { if ( $ this -> _state == CRUD :: CREATE_STAT ) { $ this -> add ( ) ; } elseif ( $ this -> _state == CRUD :: UPDATE_STAT ) { $ this -> edit ( ) ; } }
docstring: Save the opertaion makes by user either creation or editing.
  
  @return bool
docstring_tokens: Save the opertaion makes by user either creation or editing .