@@ -110,12 +110,12 @@ discard block |
||
110 | 110 | $this->beanNamespace = $this->moufManager->getVariable("tdbmDefaultBeanNamespace_tdbmService"); |
111 | 111 | |
112 | 112 | if ($this->daoNamespace == null && $this->beanNamespace == null) { |
113 | - $classNameMapper = ClassNameMapper::createFromComposerFile(__DIR__.'/../../../../../../../../composer.json'); |
|
113 | + $classNameMapper = ClassNameMapper::createFromComposerFile(__DIR__.'/../../../../../../../../composer.json'); |
|
114 | 114 | |
115 | - $autoloadNamespaces = $classNameMapper->getManagedNamespaces(); |
|
115 | + $autoloadNamespaces = $classNameMapper->getManagedNamespaces(); |
|
116 | 116 | if ($autoloadNamespaces) { |
117 | 117 | $this->autoloadDetected = true; |
118 | - $rootNamespace = $autoloadNamespaces[0]; |
|
118 | + $rootNamespace = $autoloadNamespaces[0]; |
|
119 | 119 | $this->daoNamespace = $rootNamespace."Dao"; |
120 | 120 | $this->beanNamespace = $rootNamespace."Dao\\Bean"; |
121 | 121 | } else { |
@@ -131,17 +131,17 @@ discard block |
||
131 | 131 | $this->template->toHtml(); |
132 | 132 | } |
133 | 133 | |
134 | - /** |
|
135 | - * This action generates the TDBM instance, then the DAOs and Beans. |
|
136 | - * |
|
137 | - * @Action |
|
138 | - * @param string $daonamespace |
|
139 | - * @param string $beannamespace |
|
140 | - * @param int $keepSupport |
|
141 | - * @param int $storeInUtc |
|
142 | - * @param string $selfedit |
|
143 | - */ |
|
144 | - public function generate($daonamespace, $beannamespace, $keepSupport = 0, $storeInUtc = 0, $selfedit="false") { |
|
134 | + /** |
|
135 | + * This action generates the TDBM instance, then the DAOs and Beans. |
|
136 | + * |
|
137 | + * @Action |
|
138 | + * @param string $daonamespace |
|
139 | + * @param string $beannamespace |
|
140 | + * @param int $keepSupport |
|
141 | + * @param int $storeInUtc |
|
142 | + * @param string $selfedit |
|
143 | + */ |
|
144 | + public function generate($daonamespace, $beannamespace, $keepSupport = 0, $storeInUtc = 0, $selfedit="false") { |
|
145 | 145 | $this->selfedit = $selfedit; |
146 | 146 | |
147 | 147 | if ($selfedit == "true") { |