framework/web/auth/CDbAuthManager.php
public function saveAuthAssignment($assignment)
	{
		$this->db->createCommand()
			->update($this->assignmentTable, array(
				'bizrule'=>$assignment->getBizRule(),
				'data'=>serialize($assignment->getData()),
			), 'itemname=:itemname AND userid=:userid', array(
				'itemname'=>$assignment->getItemName(),
				'userid'=>$assignment->getUserId()
			));
	}
public function saveAuthAssignment($assignment)
	{
		$this->db->createCommand()
			->update($this->assignmentTable, array(
				'bizrule'=>$assignment->getBizRule(),
				'data'=>serialize($assignment->getData()),
			), 'itemname=:itemname AND userid=:userid', array(
				'itemname'=>$assignment->getItemName(),
				'userid'=>$assignment->getUserId()
			));
	}
public function saveAuthAssignment ( $ assignment ) { $ this -> db -> createCommand ( ) -> update ( $ this -> assignmentTable , array ( 'bizrule' => $ assignment -> getBizRule ( ) , 'data' => serialize ( $ assignment -> getData ( ) ) , ) , 'itemname=:itemname AND userid=:userid' , array ( 'itemname' => $ assignment -> getItemName ( ) , 'userid' => $ assignment -> getUserId ( ) ) ) ; }
Saves the changes to an authorization assignment.
@param CAuthAssignment $assignment the assignment that has been changed.
Saves the changes to an authorization assignment .