framework/web/auth/CAuthManager.php
public function executeBizRule($bizRule,$params,$data)
	{
		if($bizRule==='' || $bizRule===null)
			return true;
		if ($this->showErrors)
			return eval($bizRule)!=0;
		else
		{
			try
			{
				return @eval($bizRule)!=0;
			}
			catch (ParseError $e)
			{
				return false;
			}
		}
	}
public function executeBizRule($bizRule,$params,$data)
	{
		if($bizRule==='' || $bizRule===null)
			return true;
		if ($this->showErrors)
			return eval($bizRule)!=0;
		else
		{
			try
			{
				return @eval($bizRule)!=0;
			}
			catch (ParseError $e)
			{
				return false;
			}
		}
	}
public function executeBizRule ( $ bizRule , $ params , $ data ) { if ( $ bizRule === '' || $ bizRule === null ) return true ; if ( $ this -> showErrors ) return eval ( $ bizRule ) != 0 ; else { try { return @ eval ( $ bizRule ) != 0 ; } catch ( ParseError $ e ) { return false ; } } }
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.
Executes the specified business rule .