1. Christian Salazar
  2. EYuiDemo

Commits

Christian Salazar  committed a07e9fc

adapting demo, adding context argument in interface for eyuiform

  • Participants
  • Parent commits 265013a
  • Branches master

Comments (0)

Files changed (2)

File protected/data/testdrive.db

  • Ignore whitespace
Binary file modified.

File protected/models/TblUser.php

View file
  • Ignore whitespace
 
 
 	/* 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");