DBObj(1); } function get() { return $this->getFromDB($this->id, 'footer'); } function save() { $this->_data['id'] = $this->id; $id = (int)$this->getFromDB($this->id, 'id'); if (!$id) { $this->insert(); } else { $this->update(); } return $this->id; } }