private static function testLabelViewCondition($condition, $componentClass) { if (self::testCondition($condition)) { if ($componentClass == '\\Opensymap\\Ocl\\Component\\DateBox') { $_REQUEST[$fieldName] = DateBox::convert($_REQUEST[$fieldName]); } $componentClass = '\\Opensymap\\Ocl\\Component\\Label'; } return $componentClass; }