public function save() {
        if ($this->id) {
            throw new Exception('Can\'t save this server because it is already stored');
        }

        $server = $this->_post('servers', $this->dirty_values);
        $this->mergeValues($server);
    }
public function save() {
        if ($this->id) {
            throw new Exception('Can\'t save this server because it is already stored');
        }

        $server = $this->_post('servers', $this->dirty_values);
        $this->mergeValues($server);
    }
public function save ( ) { if ( $ this -> id ) { throw new Exception ( 'Can\'t save this server because it is already stored' ) ; } $ server = $ this -> _post ( 'servers' , $ this -> dirty_values ) ; $ this -> mergeValues ( $ server ) ; }
Saves a server
Saves a server