How can you use yiic shell to create a nested submodule?
to create the 1st module
module test1
to create the sub module
module test1\test2
or possibly
modules test1\modules\test2
doesn't seem to work properly because the framework is looking for the "test2" module in ./protected/modules/test1/modules/test2/Test2Module.php
neither method creates the structure properly
Page 1 of 1
yiic shell to create a nested submodule?
#2
Posted 21 April 2010 - 09:36 AM
dont know, if there is a simpler way
>>module test
>>module subtest
copy subtest-folder to test/modules
register subtest module to TestModule.php (init-Method)
>>module test
>>module subtest
copy subtest-folder to test/modules
register subtest module to TestModule.php (init-Method)
$this->setModules(array('subtest'));
Share this topic:
Page 1 of 1

Help











