protected function createModel($data) {
		$modelClass = $this->getModel();
			
		$model = $modelClass::factory($data);

		if ($this->hasDatagate()) {
			$model->setDatagate($this->getDatagate());
		}
		
		if ($this->hasLocator()) {
			$model->setLocator($this->getLocator());
		}
		
		return $model;
	}
protected function createModel($data) {
		$modelClass = $this->getModel();
			
		$model = $modelClass::factory($data);

		if ($this->hasDatagate()) {
			$model->setDatagate($this->getDatagate());
		}
		
		if ($this->hasLocator()) {
			$model->setLocator($this->getLocator());
		}
		
		return $model;
	}
protected function createModel ( $ data ) { $ modelClass = $ this -> getModel ( ) ; $ model = $ modelClass :: factory ( $ data ) ; if ( $ this -> hasDatagate ( ) ) { $ model -> setDatagate ( $ this -> getDatagate ( ) ) ; } if ( $ this -> hasLocator ( ) ) { $ model -> setLocator ( $ this -> getLocator ( ) ) ; } return $ model ; }
Create a model

@param  array $data
@return Model
Create a model