Ejemplo n.º 1
0
 /**
  * Register a table that is related to a media folder and should be stored there.
  * The meaning of registering a table is that management functions know which tables are related to a media folder.
  *
  * @param	string		$table This is the table name
  * @param	string		$position can be used to set the position of a new item within the list of existing items. $position has this syntax: [cmd]:[item-key]. cmd can be "after", "before" or "top" (or "bottom"/blank which is default). If "after"/"before" then submodule will be inserted after/before the existing item with [item-key] if found. If not found, the bottom of list. If "top" the item is inserted in the top of the item list.
  * @return	void
  */
 function register_mediaTable($table, $position = '')
 {
     tx_dam::_addItem($table, $table, $GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['dam']['mediaTables'], $position);
 }