Ejemplo n.º 1
0
 /**
  * Constructor
  *
  * @param $displayName string
  * @param $transformation array the supported transformation
  *
  * NB: The input side of the transformation must always
  * be an XML format. See the XMLTypeDescription class for
  * more details how to enable XML validation.
  */
 function XSLTransformationFilter($displayName = 'XSL Transformation', $transformation = null)
 {
     // Instantiate the settings of this filter
     import('lib.pkp.classes.filter.FilterSetting');
     $this->addSetting(new FilterSetting('xsl', null, null));
     $this->addSetting(new FilterSetting('xslType', null, null));
     $this->addSetting(new FilterSetting('resultType', null, null, FORM_VALIDATOR_OPTIONAL_VALUE));
     parent::GenericFilter($displayName, $transformation);
 }
Ejemplo n.º 2
0
 /**
  * Constructor
  */
 function CompositeFilter($displayName = null, $transformation = null)
 {
     parent::GenericFilter($displayName, $transformation);
 }