25 public function transform($attr, $config, $context) {
28 switch ($attr[
'name']) {
31 case 'allowScriptAccess':
32 $attr[
'value'] =
'never';
34 case 'allowNetworking':
35 $attr[
'value'] =
'internal';
37 case 'allowFullScreen':
38 if ($config->get(
'HTML.FlashAllowFullScreen')) {
39 $attr[
'value'] = ($attr[
'value'] ==
'true') ?
'true' :
'false';
41 $attr[
'value'] =
'false';
45 $attr[
'value'] = $this->wmode->validate($attr[
'value'], $config, $context);
49 $attr[
'name'] =
"movie";
50 $attr[
'value'] = $this->uri->validate($attr[
'value'], $config, $context);
58 $attr[
'name'] = $attr[
'value'] = null;