Yii Framework Forum: Yiic shell and nested modules. - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Yiic shell and nested modules. Rate Topic: -----

#1 User is offline   jayrulez 

  • Advanced Member
  • PipPipPip
  • Yii
  • Group: Members
  • Posts: 348
  • Joined: 29-July 09

Posted 15 December 2009 - 09:58 PM

Just a query, can yiic shell be used to generate nested modules? eg: "module testmodule"

then generate a module under testmodule like "module testmodule.testchildmodule"

?
php:
foreach(array('cat', 'dog', 'cow') as $animal) echo $animal."\n";

python:
[(animal, print(animal)) for animal in ['cat', 'dog', 'cow']]

ruby:
['cat', 'dog', 'cow'].each {|animal| puts animal}


You say Tomato, I say Tomato.
0

#2 User is offline   cmx 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 42
  • Joined: 21-November 09
  • Location:California USA

Posted 17 December 2009 - 01:32 AM

View Postjayrulez, on 15 December 2009 - 09:58 PM, said:

Just a query, can yiic shell be used to generate nested modules? eg: "module testmodule"

then generate a module under testmodule like "module testmodule.testchildmodule"

?


Apparently not. I had to generate my nested modules at the same folder level as my unnested modules, then move them manually to the parent module's modules folder.

I read in another post some where that there was some interest by the developers in developing a web-based version of yiic for 1.1. Maybe there will be some support in that application. I'm running on the svn version all the time and have not seen it yet. However, it's something they could release after the 1.1 final release.
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users