src/db/DbRecord.php
public function save()
    {
        if ($this->_isSaved) {
            $this->update($this->id);
        } else {
            $this->id = $this->insert();
            $this->_isSaved = true;
        }
    }
public function save()
    {
        if ($this->_isSaved) {
            $this->update($this->id);
        } else {
            $this->id = $this->insert();
            $this->_isSaved = true;
        }
    }
public function save ( ) { if ( $ this -> _isSaved ) { $ this -> update ( $ this -> id ) ; } else { $ this -> id = $ this -> insert ( ) ; $ this -> _isSaved = true ; } }
Saves this record.

@return void
Saves this record .