protected function stationValidate($stationParamArray) { $station = new Station(); unset($stationParamArray['station_id']); unset($stationParamArray['created']); unset($stationParamArray['updated']); $station->attributes = $stationParamArray; if (!$station->validate()) { $this->errors[] = $station->getErrors(); } }