private function _checkProhibitedTokens($token) {
		if ($this->_isActive('checkProhibitedTokens')) {
			if (in_array($token->getName(), $this->_prohibitedTokens)) {
				$msg = $this->_getMessage("PROHIBITED_TOKEN", $token->getName());
				$this->_writeError('checkProhibitedTokens', $msg);
			}
		}
	}
private function _checkProhibitedTokens($token) {
		if ($this->_isActive('checkProhibitedTokens')) {
			if (in_array($token->getName(), $this->_prohibitedTokens)) {
				$msg = $this->_getMessage("PROHIBITED_TOKEN", $token->getName());
				$this->_writeError('checkProhibitedTokens', $msg);
			}
		}
	}
private function _checkProhibitedTokens ( $ token ) { if ( $ this -> _isActive ( 'checkProhibitedTokens' ) ) { if ( in_array ( $ token -> getName ( ) , $ this -> _prohibitedTokens ) ) { $ msg = $ this -> _getMessage ( "PROHIBITED_TOKEN" , $ token -> getName ( ) ) ; $ this -> _writeError ( 'checkProhibitedTokens' , $ msg ) ; } } }
Check for the presence of a prohibited token.

@param TokenInfo $token
the token to check
Check for the presence of a prohibited token .