_x]; $output = ''; switch ($record['type']) { case 'file': $output .= HTML::style($record['data'],array('media'=>(! empty($record['media'])) ? $record['media'] : 'screen')); break; case 'stdin': $output .= sprintf("",$record['data']); break; default: throw new Kohana_Exception('Unknown style type :type',array(':type'=>$record['type'])); } return $output; } } ?>