RBAC executeBizRule difference between $params and $data

Hi Guys,

Looking at RBAC (using SRBAC) and noticed executeBizRule is defined as:




/**

	 * Executes the specified business rule.

	 * @param string $bizRule the business rule to be executed.

	 * @param array $params parameters passed to {@link IAuthManager::checkAccess}.

	 * @param mixed $data additional data associated with the authorization item or assignment.

	 * @return boolean whether the business rule returns true.

	 * If the business rule is empty, it will still return true.

	 */

	public function executeBizRule($bizRule,$params,$data)



My question is what is the difference between $params and $data?

Thanks

Ross

$params are passed by the caller in checkAccess() ; $data is a property of the AuthItem