protected function createTableModel(Model $model = null) {
		$phalconModel = new PhalconModel($this->getTableModelDi());
		$phalconModel->setDatagate($this);
		
		if ($model !== null) {
			$phalconModel->assign($model->getData());
		}
		
		return $phalconModel;
	}
protected function createTableModel(Model $model = null) {
		$phalconModel = new PhalconModel($this->getTableModelDi());
		$phalconModel->setDatagate($this);
		
		if ($model !== null) {
			$phalconModel->assign($model->getData());
		}
		
		return $phalconModel;
	}
protected function createTableModel ( Model $ model = null ) { $ phalconModel = new PhalconModel ( $ this -> getTableModelDi ( ) ) ; $ phalconModel -> setDatagate ( $ this ) ; if ( $ model !== null ) { $ phalconModel -> assign ( $ model -> getData ( ) ) ; } return $ phalconModel ; }
Create the phalcon model instance

@param  Model $model
@return PhalconModel
Create the phalcon model instance