ILMSinfo / RBIS: XML
From ILMS-Wiki
		(Difference between revisions)
		
		
 (→rights)  | 
		 (→rights)  | 
		||
| Line 4: | Line 4: | ||
==rights==  | ==rights==  | ||
Controls the actions executed using the XML-file  | Controls the actions executed using the XML-file  | ||
| − | '''read''': ''allows''/disallows view  | + | *'''read''': ''allows''/disallows view  | 
| − | '''write''': ''allows''/disallows write activities  | + | *'''write''': ''allows''/disallows write activities  | 
| − | '''delete''': allows/''disallow'' delete activities  | + | *'''delete''': allows/''disallow'' delete activities  | 
  <nowiki><rights read="true" write="true" delete="false"/></nowiki>  |   <nowiki><rights read="true" write="true" delete="false"/></nowiki>  | ||
Revision as of 14:54, 20 January 2012
Contents | 
General structure
Detailed description
view
rights
Controls the actions executed using the XML-file
- read: allows/disallows view
 - write: allows/disallows write activities
 - delete: allows/disallow delete activities
 
<rights read="true" write="true" delete="false"/>
id
group
map
edit
document
table
- name: Table name in the database
 
<table name="metadata">
- cond: name of condition (if the name is not set in the config.php, the table will be ignored. The cond-attribute must be also set in the attribute and join element.)
 
<table name="fp_featpar_all2" cond="workgroup">
attribute
- cond: name of condition (if the name is not set in the config.php, the attribute will be ignored. The cond-attribute must be also set in the table and join element.)
 
<attribute cond="workgroup" name="featpar" title="geo.... />
example: Primaray key
example: Selection list
example: Date
join
- cond: name of condition (if the name is not set in the config.php, the table will be ignored. The cond-attribute must be also set in the table and attribute element.)
 
<join cond="workgroup" from_table="geodata" ... />