+<?php\r
+/***************************************************************\r
+ * Copyright notice\r
+ *\r
+ * (c) 2010 Steffen Kamper <steffen@typo3.org>\r
+ * All rights reserved\r
+ *\r
+ * This script is part of the TYPO3 project. The TYPO3 project is\r
+ * free software; you can redistribute it and/or modify\r
+ * it under the terms of the GNU General Public License as published by\r
+ * the Free Software Foundation; either version 2 of the License, or\r
+ * (at your option) any later version.\r
+ *\r
+ * The GNU General Public License can be found at\r
+ * http://www.gnu.org/copyleft/gpl.html.\r
+ * A copy is found in the textfile GPL.txt and important notices to the license\r
+ * from the author is found in LICENSE.txt distributed with these scripts.\r
+ *\r
+ *\r
+ * This script is distributed in the hope that it will be useful,\r
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of\r
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\r
+ * GNU General Public License for more details.\r
+ *\r
+ * This copyright notice MUST APPEAR in all copies of the script!\r
+ ***************************************************************/\r
+\r
+class tx_em_API {\r
+\r
+ /**\r
+ * @var array\r
+ */\r
+ public $typeLabels = array();\r
+\r
+ /**\r
+ * @var array\r
+ */\r
+ public $typeDescr = array();\r
+\r
+ /**\r
+ * @var array\r
+ */\r
+ public $typeBackPaths = array();\r
+\r
+\r
+ /**\r
+ * Constructor\r
+ *\r
+ * @return void\r
+ */\r
+ public function __construct() {\r
+\r
+ // load langauge file\r
+ $GLOBALS['LANG']->includeLLFile(t3lib_extMgm::extPath('em') . 'language/locallang.xml');\r
+\r
+ /**\r
+ * "TYPE" information; labels, paths, description etc.\r
+ */\r
+ $this->typeLabels = array(\r
+ 'S' => $GLOBALS['LANG']->getLL('type_system'),\r
+ 'G' => $GLOBALS['LANG']->getLL('type_global'),\r
+ 'L' => $GLOBALS['LANG']->getLL('type_local'),\r
+ );\r
+ $this->typeDescr = array(\r
+ 'S' => $GLOBALS['LANG']->getLL('descr_system'),\r
+ 'G' => $GLOBALS['LANG']->getLL('descr_global'),\r
+ 'L' => $GLOBALS['LANG']->getLL('descr_local'),\r
+ );\r
+\r
+\r
+\r
+ }\r
+}\r