43        switch ($attr[
'name']) {
 
   46            case 'allowScriptAccess':
 
   47                $attr[
'value'] = 
'never';
 
   49            case 'allowNetworking':
 
   50                $attr[
'value'] = 
'internal';
 
   52            case 'allowFullScreen':
 
   53                if (
$config->get(
'HTML.FlashAllowFullScreen')) {
 
   54                    $attr[
'value'] = ($attr[
'value'] == 
'true') ? 
'true' : 
'false';
 
   56                    $attr[
'value'] = 
'false';
 
   60                $attr[
'value'] = $this->wmode->validate($attr[
'value'], 
$config, $context);
 
   64                $attr[
'name'] = 
"movie";
 
   65                $attr[
'value'] = $this->uri->validate($attr[
'value'], 
$config, $context);
 
   73                $attr[
'name'] = $attr[
'value'] = 
null;
 
An exception for terminatinating execution or to throw for unit testing.
Validates a keyword against a list of valid values.
Validates a URI as defined by RFC 3986.