Set the file format extensions (filename suffix) for a format object
mixed $extensions One or more file extensions:
public function setExtensions($extensions) {
if ($extensions) {
if (!is_array($extensions)) {
$extensions = array(
$extensions,
);
}
$this->extensions = $extensions;
}
else {
$this->extensions = array();
}
}