Ver Fonte

added www_link type for fields in comapanies for company pro-netmedia

Piotr Labudda há 10 anos atrás
pai
commit
404607a49b

+ 19 - 0
SE/schema/gui/company/biuro_pro_netmedia_pl/default_db.companies.php

@@ -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;
+	}
+
+}