ILMSinfo / RBIS: XML

From ILMS-Wiki
(Difference between revisions)
Jump to: navigation, search
(table)
(table)
Line 18: Line 18:
 
  <nowiki><table name="metadata"></nowiki>
 
  <nowiki><table name="metadata"></nowiki>
 
*'''''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.)
 
*'''''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.)
  <nowiki>$conditions["workgroup"] = 1;</nowiki>
+
 
 +
  <nowiki>config.php: $conditions["workgroup"] = 1;</nowiki>
 +
 
 
  <nowiki><table name="fp_featpar_all2" cond="workgroup"></nowiki>
 
  <nowiki><table name="fp_featpar_all2" cond="workgroup"></nowiki>
  

Revision as of 15:01, 20 January 2012

Contents

General structure

Detailed description

view

rights

Controls the actions executed using the XML-file

  • read (true|false): view activities
  • write (true|false): write activities
  • delete (true|false): delete activities
<rights read="true" write="true" delete="true"/>

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.)
config.php: $conditions["workgroup"] = 1;
<table name="fp_featpar_all2" cond="workgroup">

Example:

<table name="metadata">
</table>

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" ... />
Personal tools