private function getValidator($model = null) { if ($this->_validator === null) { $this->_validator = $this->createEmbeddedValidator($model); } return $this->_validator; }