Commits

christiansalazar committed a07e9fc

adapting demo, adding context argument in interface for eyuiform

Comments (0)

Files changed (2)

protected/data/testdrive.db

Binary file modified.

protected/models/TblUser.php

 
 
 	/* for required interface: EYuiSearchable*/
-	public function eyuisearchable_findModels($text){
+	public function eyuisearchable_findModels($text,$context){
 		$criteria=new CDbCriteria;
 		$criteria->params = array(':text'=>"%".$text."%");
 		$criteria->addCondition("username like :text");