/** * @see Filter::supports() */ function supports(&$input, &$output) { // We intercept the supports() method so that // we can remove et-al entries which are valid but // do not conform to the canonical type definition. $filteredOutput =& $this->removeEtAlEntries($output); if ($filteredOutput === false) { return false; } return parent::supports($input, $filteredOutput); }