/** * Validate all fields and saves row to the data source * @return boolean */ public function saveRow() { if ($this->validateFields()) { $this->data->saveRow(); return true; } return false; }