<?php defined('FULL_PATH') or die('restricted access!'); /** * Extends/overrides methods of default ProductsTagProcessor class * */ class EProductTagProcessor extends ProductsTagProcessor { /** * Adding custom processing to existing Field method * * @param Array $params * @return string */ function Field($params) { $o = parent::Field($params); // do some custom stuff here $o = trim($o); return $o; } }