2 namespace TYPO3\CMS\Backend\Module;
175 $reflector = new \ReflectionObject($this);
176 $this->thisPath = dirname($reflector->getFilename());
177 if (!@is_dir($this->thisPath)) {
178 throw new \RuntimeException(
'TYPO3 Fatal Error: Could not find path for class ' . get_class($this), 1381164687);
183 $this->pObj->MOD_MENU = array_merge($this->pObj->MOD_MENU, $this->modMenu());
197 if ($this->function_key) {
198 $this->extClassConf = $this->pObj->getExternalItemConfig($this->pObj->MCONF[
'name'], $this->function_key, $this->pObj->MOD_SETTINGS[$this->function_key]);
213 @is_file(($this->thisPath .
'/' . $this->localLangFile))
214 || @is_file(($this->thisPath .
'/' . substr($this->localLangFile, 0, -4) .
'.xml'))
215 || @is_file(($this->thisPath .
'/' . substr($this->localLangFile, 0, -4) .
'.php'))
218 $LOCAL_LANG = $this->
getLanguageService()->includeLLFile($this->thisPath .
'/' . $this->localLangFile,
false);
219 if (is_array($LOCAL_LANG)) {
234 if (is_array($this->extClassConf) && $this->extClassConf[
'name']) {
236 $this->extObj->init($this->pObj, $this->extClassConf);
249 if (is_object($this->extObj)) {
250 return $this->extObj->main();
310 if ($this->pageRenderer === null) {