public function SWFObject::param in SWF Embed 6
Same name and namespace in other branches
- 7 swfembed.module \SWFObject::param()
 
Specify a parameter to pass to the HTML object or embed tag.
These will be converted into a name/value pair encoded in a param tag.
Example: <code> <param name="NAME" value="VALUE"/> </code>
Parameters
$name: The param to define.
$val: The value of the param.
Return value
The called object.
File
- ./
swfembed.module, line 325  - The main file for swfembed.
 
Class
- SWFObject
 - Generic data object for describing an SWF configuration.
 
Code
public function param($name, $val) {
  $this->params[$name] = $val;
  return $this;
}