考えてみれば単純なことなのにハマったので備忘録に残します。
ハマった時のケースはModule Aから共通Module(例ではModule B)のデータを表示する際にModule AのViewでModule BのModelをどう呼び出すか、というもの。(そもそも設計云々に問題があるというのは割愛します・・・)

■module Aからmodule BのModelを呼び出す場合。

module Aで

\Module::load('B');

と記述し、Module Bを読み込む。
確認方法は、

$loaded = Module::loaded();
var_dump($loaded);

とすれば、呼び出されていることが確認できます。

Modelでデータを取得する際は、

$persons = B\Model_Xxx::find('all');

というように、namespace(module名)を付ければ呼び出すことができます。

 

・・・何でこんなに悩んだんだろう。。。

 

150 Comments

  1. black hat backlinks says:

    buy high pr homepage links

    yhfjvgtkr mwxvx ocvmfrx wiou jpruhjefufstqce

  2. kardinal stick says:

    … [Trackback]

    […] Find More on that Topic: dragon-ark.com/archives/782 […]

  3. white house market link says:

    … [Trackback]

    […] Read More Information here to that Topic: dragon-ark.com/archives/782 […]

  4. Dark0de says:

    … [Trackback]

    […] Information to that Topic: dragon-ark.com/archives/782 […]

  5. sbo says:

    … [Trackback]

    […] Read More Info here on that Topic: dragon-ark.com/archives/782 […]

  6. sagame says:

    … [Trackback]

    […] Read More on that Topic: dragon-ark.com/archives/782 […]

  7. anti screenshot playstore says:

    … [Trackback]

    […] Read More to that Topic: dragon-ark.com/archives/782 […]

  8. 포인트홀덤 says:

    … [Trackback]

    […] Read More to that Topic: dragon-ark.com/archives/782 […]

  9. 3stringent says:

    3articulated

  10. gay farmers dating sites says:

    gay autism dating vancouver washington https://gaypridee.com/

  11. gay chat roulette chat says:

    gay chat rooms on aol town square https://gay-buddies.com/

  12. sexy tiktok girls says:

    … [Trackback]

    […] There you will find 16494 more Info to that Topic: dragon-ark.com/archives/782 […]

  13. สล็อตวอเลท ไม่มีขั้นต่ำ says:

    … [Trackback]

    […] There you can find 66502 more Information on that Topic: dragon-ark.com/archives/782 […]

  14. 【FuelPHP】【備忘録】moduleから別のmodule(model)を呼び出す | Dragon-Ark says:

    Lorie Roches

    考えてみれば単純なことなのにハマったので備忘録に残します。 ハマった時のケースはMo…

  15. 【FuelPHP】【備忘録】moduleから別のmodule(model)を呼び出す | Dragon-Ark says:

    Tammi Delore

    考えてみれば単純なことなのにハマったので備忘録に残します。 ハマった時のケースはMo…

  16. 【FuelPHP】【備忘録】moduleから別のmodule(model)を呼び出す | Dragon-Ark says:

    Hyun Schoeben

    考えてみれば単純なことなのにハマったので備忘録に残します。 ハマった時のケースはMo…

  17. 【FuelPHP】【備忘録】moduleから別のmodule(model)を呼び出す | Dragon-Ark says:

    Xrumer Proxies

    考えてみれば単純なことなのにハマったので備忘録に残します。 ハマった時のケースはMo…

  18. 【FuelPHP】【備忘録】moduleから別のmodule(model)を呼び出す | Dragon-Ark says:

    Cheap Private Proxies

    考えてみれば単純なことなのにハマったので備忘録に残します。 ハマった時のケースはMo…

  19. 【FuelPHP】【備忘録】moduleから別のmodule(model)を呼び出す | Dragon-Ark says:

    Squid Proxies

    考えてみれば単純なことなのにハマったので備忘録に残します。 ハマった時のケースはMo…

  20. 【FuelPHP】【備忘録】moduleから別のmodule(model)を呼び出す | Dragon-Ark says:

    Proxys Usa

    考えてみれば単純なことなのにハマったので備忘録に残します。 ハマった時のケースはMo…

  21. 【FuelPHP】【備忘録】moduleから別のmodule(model)を呼び出す | Dragon-Ark says:

    Torrie Taton

    考えてみれば単純なことなのにハマったので備忘録に残します。 ハマった時のケースはMo…

  22. kertvbs.webgarden.com says:

    online prescriptions without a doctor https://kertvbs.webgarden.com/

    You made your stand extremely clearly.!

  23. 【FuelPHP】【備忘録】moduleから別のmodule(model)を呼び出す | Dragon-Ark says:

    Abraham Amyx

    考えてみれば単純なことなのにハマったので備忘録に残します。 ハマった時のケースはMo…

  24. gwertvb.mystrikingly.com says:

    purchasing cialis on the internet https://gwertvb.mystrikingly.com/

    With thanks! A good amount of posts.

  25. 【FuelPHP】【備忘録】moduleから別のmodule(model)を呼び出す | Dragon-Ark says:

    Dedicated Private Proxies

    考えてみれば単純なことなのにハマったので備忘録に残します。 ハマった時のケースはMo…

  26. cialis canadian pharmacy says:

    canadian drug https://pharmacy-online.yolasite.com/

    You reported this adequately.

  27. https://kevasw.webgarden.com/ says:

    cialis generico https://kevasw.webgarden.com/

    Beneficial information. Kudos!

  28. most reliable canadian pharmacies says:

    online pharmacies canada https://62553dced4718.site123.me/

    You suggested it fantastically.

  29. https://site128620615.fo.team/ says:

    online prescriptions without a doctor https://site128620615.fo.team/

    Kudos. I enjoy it.

  30. https://fwervs.gumroad.com/ says:

    cialis lowest price https://fwervs.gumroad.com/

    Nicely put. Thanks.

  31. buy cialis delhi says:

    cialis 5mg prix https://generic-cialis-20-mg.yolasite.com/

    Thanks a lot, Plenty of stuff!

  32. buy cheap cialis no prescription says:

    tadalafil 20 mg https://hemuyrt.livejournal.com/325.html

    Appreciate it, Plenty of forum posts.

  33. https://sehytv.wordpress.com/ says:

    cialis 5 mg https://sehytv.wordpress.com/

    Thank you! A good amount of material!

  34. kertubs.mystrikingly.com says:

    tadalafil https://kertubs.mystrikingly.com/

    Really loads of useful information.

  35. canadian pharmacy cialis says:

    canadian pharmacy no prescription https://online-pharmacies0.yolasite.com/

    Cheers! A good amount of posts!

  36. canadian pharmacies without an rx says:

    top rated online canadian pharmacies https://deiun.flazio.com/

    This is nicely expressed! !

  37. https://kertyun.flazio.com/ says:

    buy cialis https://kertyun.flazio.com/

    Thank you! Loads of advice!

  38. kerbnt.flazio.com says:

    tadalafil generic https://kerbnt.flazio.com/

    With thanks! A lot of knowledge.

  39. canadian online pharmacies says:

    canadian pharmacy no prescription http://ime.nu/cialisonlinei.com

    Truly a lot of excellent knowledge.

  40. gewrt.usluga.me says:

    cialis canada https://gewrt.usluga.me/

    Cheers. Quite a lot of advice.

  41. canadian pharmaceuticals says:

    safe canadian online pharmacies https://site273035107.fo.team/

    Nicely put, Kudos!

  42. site656670376.fo.team says:

    cialis uk https://site656670376.fo.team/

    Wonderful posts, Regards.

  43. https://hertnsd.nethouse.ru/ says:

    cialis 20 mg best price https://hertnsd.nethouse.ru/

    Whoa loads of excellent data!

  44. https://pharmacies.bigcartel.com/ says:

    Cialis tadalafil https://pharmacies.bigcartel.com/

    Effectively expressed without a doubt. .

  45. canadian rx world pharmacy says:

    canadian pharmacy online http://site592154748.fo.team/

    Factor certainly utilized..

  46. asebg.bigcartel.comcanadian-pharmacy says:

    cialis generico online https://asebg.bigcartel.com/canadian-pharmacy

    Helpful write ups. Appreciate it.

  47. canadian pharmaceuticals online says:

    canada pharmacies online prescriptions https://selera.mystrikingly.com/

    With thanks! A good amount of material.

  48. https://kwersv.proweb.cz/ says:

    cialis 5 mg https://kwersv.proweb.cz/

    Effectively spoken indeed! .

  49. canadianpharmacy.teachable.com says:

    cialis lowest price https://canadianpharmacy.teachable.com/

    You actually mentioned that effectively.

  50. https://hkwerf.micro.blog/ says:

    cialis 5mg prix https://hkwerf.micro.blog/

    With thanks. I value it!

  51. canada drugs online says:

    canadian pharcharmy online https://hub.docker.com/r/dkwer/drugs

    You made your stand pretty clearly.!

  52. https://graph.org/Tadalafil-20mg-08-13 says:

    cialis 20mg prix en pharmacie https://graph.org/Tadalafil-20mg-08-13

    You have made your position quite nicely!.

  53. https://viagraonlineee.wordpress.com/ says:

    cialis without a doctor’s prescription https://viagraonlineee.wordpress.com/

    Incredible lots of helpful knowledge.

  54. https://viagraonline.home.blog/ says:

    cialis 5mg prix https://viagraonline.home.blog/

    Awesome write ups, Many thanks.

  55. buy viagra delhi says:

    Viagra great britain https://viagraonlinee.livejournal.com/492.html

    Whoa many of good info!

  56. onlineviagra.flazio.com says:

    tadalafil tablets https://onlineviagra.flazio.com/

    Kudos. Terrific information.

  57. https://onlineviagra.fo.team/ says:

    buy cialis without a doctor’s prescription https://onlineviagra.fo.team/

    You suggested this terrifically!

  58. 2cocktail says:

    3illustrations

  59. chat gay joven says:

    gay phone chat free no cost https://gaychatspots.com/

  60. gay dirty chat says:

    free gay chat rooms in new york state https://gayphillychat.com/

  61. gay bi chat line says:

    gay massachusetts chat no sign up https://gaymusclechatrooms.com/

  62. gay geek chat says:

    gay phone chat meet locals “welcome to the https://free-gay-sex-chat.com/

  63. stromectol india says:

    stromectol dosage table https://ktqt.ftu.edu.vn/en/question list/order-stromectol-over-the-counter-10/

    You mentioned it perfectly.

  64. stromectol nuzeniec says:

    stromectol posologie https://challonge.com/esapenti

    Appreciate it, Ample write ups!

  65. buy viagra delhi says:

    Interactions for viagra https://challonge.com/citlitigolf

    Kudos. An abundance of tips.

  66. dsdgbvda.zombeek.cz says:

    Tadalafil 20 mg https://dsdgbvda.zombeek.cz/

    Amazing forum posts. Kudos!

  67. https://inflavnena.zombeek.cz/ says:

    Viagra vs viagra vs levitra https://inflavnena.zombeek.cz/

    Whoa plenty of awesome advice!

  68. canadian pharmacy says:

    canadian pharmaceuticals https://supplier.ihrsa.org/profile/421717/0

    Wonderful material. With thanks.

  69. trust pharmacy canada says:

    canadian pharmaceuticals online https://moaamein.nacda.com/profile/422018/0

    Thanks a lot, Lots of information!

  70. canada rx says:

    online pharmacies https://network.myscrs.org/profile/422020/0

    Whoa plenty of good info!

Leave a Reply

You must be logged in to post a comment.