소스 검색

Formatted XML files (line breaks and indentation)

git-svn-id: http://svn.code.sf.net/p/itop/code/trunk@1902 a333f486-631f-4898-b8df-5754b55c2be0
romainq 13 년 전
부모
커밋
99f7387687

+ 80 - 24
datamodel/itop-attachments/datamodel.itop-attachments.xml

@@ -1,20 +1,47 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<classes><class name="Attachment" category="addon,bizmodel" parent="DBObject" abstract="false" key_type="autoincrement" db_table="attachment" db_key_field="id" db_final_class_field=""><properties><comment><![CDATA[/**
- * Module attachments
- * 
- * A quick and easy way to upload and attach files to *any* (see Configuration below) object in the CMBD in one click
- *
- * Configuration: the list of classes for which the "Attachments" tab is visible is defined via the module's 'allowed_classes'
- * configuration parameter. By default the tab is active for all kind of Tickets.
- *
- * @author      Erwan Taloc <erwan.taloc@combodo.com>
- * @author      Romain Quetiez <romain.quetiez@combodo.com>
- * @author      Denis Flaven <denis.flaven@combodo.com>
- * @license     http://www.opensource.org/licenses/gpl-3.0.html LGPL
- */]]></comment><naming format="%1$s %2$s"><attributes><attribute name="item_class"/><attribute name="temp_id"/></attributes></naming><display_template></display_template><icon></icon><reconciliation><attributes/></reconciliation></properties><fields><field name="expire" type="DateTime" sql="expire" default_value="" is_null_allowed="false"/><field name="temp_id" type="String" sql="temp_id" default_value="" is_null_allowed="true"/><field name="item_class" type="String" sql="item_class" default_value="" is_null_allowed="false"/><field name="item_id" type="String" sql="item_id" default_value="" is_null_allowed="true"/><field name="item_org_id" type="Integer" sql="item_org_id" default_value="0" is_null_allowed="true"/><field name="contents" type="Blob"/></fields><methods><method name="MapContextParam" static="true" access="public" type="Overload-ExNihilo"><comment><![CDATA[/**
-	 * Maps the given context parameter name to the appropriate filter/search code for this class
-	 * @param string $sContextParam Name of the context parameter, e.g. 'org_id'
-	 * @return string Filter code, e.g. 'customer_id'
+<classes>
+  <class name="Attachment" category="addon,bizmodel" parent="DBObject" abstract="false" key_type="autoincrement" db_table="attachment" db_key_field="id" db_final_class_field="">
+    <properties>
+      <comment><![CDATA[/**
+ * Module attachments
+ * 
+ * A quick and easy way to upload and attach files to *any* (see Configuration below) object in the CMBD in one click
+ *
+ * Configuration: the list of classes for which the "Attachments" tab is visible is defined via the module's 'allowed_classes'
+ * configuration parameter. By default the tab is active for all kind of Tickets.
+ *
+ * @author      Erwan Taloc <erwan.taloc@combodo.com>
+ * @author      Romain Quetiez <romain.quetiez@combodo.com>
+ * @author      Denis Flaven <denis.flaven@combodo.com>
+ * @license     http://www.opensource.org/licenses/gpl-3.0.html LGPL
+ */]]></comment>
+      <naming format="%1$s %2$s">
+        <attributes>
+          <attribute name="item_class"/>
+          <attribute name="temp_id"/>
+        </attributes>
+      </naming>
+      <display_template></display_template>
+      <icon></icon>
+      <reconciliation>
+        <attributes>
+          <attribute name=""/>
+        </attributes>
+      </reconciliation>
+    </properties>
+    <fields>
+      <field name="expire" type="DateTime" sql="expire" default_value="" is_null_allowed="false"/>
+      <field name="temp_id" type="String" sql="temp_id" default_value="" is_null_allowed="true"/>
+      <field name="item_class" type="String" sql="item_class" default_value="" is_null_allowed="false"/>
+      <field name="item_id" type="String" sql="item_id" default_value="" is_null_allowed="true"/>
+      <field name="item_org_id" type="Integer" sql="item_org_id" default_value="0" is_null_allowed="true"/>
+      <field name="contents" type="Blob"/>
+    </fields>
+    <methods>
+      <method name="MapContextParam" static="true" access="public" type="Overload-ExNihilo"><comment><![CDATA[/**
+	 * Maps the given context parameter name to the appropriate filter/search code for this class
+	 * @param string $sContextParam Name of the context parameter, e.g. 'org_id'
+	 * @return string Filter code, e.g. 'customer_id'
 	 */]]></comment><![CDATA[	public static function MapContextParam($sContextParam)
 	{
 		if ($sContextParam == 'org_id')
@@ -25,10 +52,11 @@
 		{
 			return null;
 		}
-	}]]></method><method name="SetItem" static="false" access="public" type="Overload-ExNihilo"><comment><![CDATA[/**
-	 * Set/Update all of the '_item' fields
-	 * @param object $oItem Container item
-	 * @return void
+	}]]></method>
+      <method name="SetItem" static="false" access="public" type="Overload-ExNihilo"><comment><![CDATA[/**
+	 * Set/Update all of the '_item' fields
+	 * @param object $oItem Container item
+	 * @return void
 	 */]]></comment><![CDATA[	public function SetItem($oItem, $bUpdateOnChange = false)
 	{
 		$sClass = get_class($oItem);
@@ -57,9 +85,10 @@
 				}
 			}
 		}
-	}]]></method><method name="SetDefaultOrgId" static="false" access="public" type="Overload-ExNihilo"><comment><![CDATA[/**
-	 * Give a default value for item_org_id (if relevant...)
-	 * @return void
+	}]]></method>
+      <method name="SetDefaultOrgId" static="false" access="public" type="Overload-ExNihilo"><comment><![CDATA[/**
+	 * Give a default value for item_org_id (if relevant...)
+	 * @return void
 	 */]]></comment><![CDATA[	public function SetDefaultOrgId()
 	{
 		// First check that the organization CAN be fetched from the target class
@@ -93,4 +122,31 @@
 				}
 			}
 		}
-	}]]></method></methods><presentation><details><items><item>temp_id</item><item>item_class</item><item>item_id</item><item>item_org_id</item></items></details><search><items><item>temp_id</item><item>item_class</item><item>item_id</item></items></search><list><items><item>temp_id</item><item>item_class</item><item>item_id</item></items></list></presentation></class></classes>
+	}]]></method>
+    </methods>
+    <presentation>
+      <details>
+        <items>
+          <item>temp_id</item>
+          <item>item_class</item>
+          <item>item_id</item>
+          <item>item_org_id</item>
+        </items>
+      </details>
+      <search>
+        <items>
+          <item>temp_id</item>
+          <item>item_class</item>
+          <item>item_id</item>
+        </items>
+      </search>
+      <list>
+        <items>
+          <item>temp_id</item>
+          <item>item_class</item>
+          <item>item_id</item>
+        </items>
+      </list>
+    </presentation>
+  </class>
+</classes>

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 7
datamodel/itop-change-mgmt-1.0.0/datamodel.itop-change-mgmt.xml


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 7
datamodel/itop-config-mgmt-1.0.0/datamodel.itop-config-mgmt.xml


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 7
datamodel/itop-incident-mgmt-1.0.0/datamodel.itop-incident-mgmt.xml


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 2
datamodel/itop-knownerror-mgmt-1.0.0/datamodel.itop-knownerror-mgmt.xml


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 7
datamodel/itop-problem-mgmt-1.0.0/datamodel.itop-problem-mgmt.xml


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 7
datamodel/itop-request-mgmt-1.0.0/datamodel.itop-request-mgmt.xml


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 7
datamodel/itop-service-mgmt-1.0.0/datamodel.itop-service-mgmt.xml


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 7
datamodel/itop-tickets-1.0.0/datamodel.itop-tickets.xml


이 변경점에서 너무 많은 파일들이 변경되어 몇몇 파일들은 표시되지 않았습니다.