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

@return bool
Save the opertaion makes by user either creation or editing .