Lines Matching refs:val
48 foreach($attList as $key => $val) {
67 $out .= ' '.$key. (is_null($val) ? '' : '="'.$val.'"');
72 if (in_array(strtolower(trim($val)), array('ltr','rtl','auto'))) {
73 $out .= ' dir="'. hsc($val).'"';
80 if (in_array(strtolower(trim($val)), array('hidden','until-found'))) {
81 $out .= ' hidden="'. hsc($val).'"';
89 $out .= ' '.$key.'="'.hsc($val).'"';
97 $out .= ' '.$key.'="'.hsc($val).'"';
102 $out .= ' '.$key.'="'.hsc($val).'"';
107 if ($myObj->allowAttribute($key, $val)) {
108 $out .= ' '.$key. (is_null($val) ? '' : '="'.$val.'"');