Commits

christiansalazar  committed 6c5db65

new method for EYuiFormDb getModel() retrieving the current model

  • Participants
  • Parent commits 563773d

Comments (0)

Files changed (1)

File EYuiFormDb.php

 	public function eyuiform_getPrimaryId(){
 		return $this->_instanceid;
 	}
-	
+
+	public function getModel(){
+		return $this->_validatorInstance;
+	}
+
+
 	/**
 		a transaction event called when ever is needed.
 		
 		$inst = self::newModel($modelInstance);
 		return $inst->eyuiform_getFieldValue($formId,'',$fullFieldName);
 	}
-}
+}