|
@@ -0,0 +1,19 @@
|
|
|
|
|
+<?php
|
|
|
|
|
+
|
|
|
|
|
+class Schema_biuro_pro_netmedia_pl_default_db_companies {
|
|
|
|
|
+
|
|
|
|
|
+ public function fixTypes($types) {
|
|
|
|
|
+ foreach ($types as $fldName => $type) {
|
|
|
|
|
+ switch ($fldName) {
|
|
|
|
|
+ case 'WWW': {
|
|
|
|
|
+ $types[$fldName]['simpleType'] = 'p5:www_link';
|
|
|
|
|
+ } break;
|
|
|
|
|
+ case 'KATALOG_LINK': {
|
|
|
|
|
+ $types[$fldName]['simpleType'] = 'p5:www_link';
|
|
|
|
|
+ } break;
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ return $types;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+}
|