• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Modular Extensions - HMVC version 5.4

#1
[eluser]wiredesignz[/eluser]
Modular Extensions - HMVC version 5.4 is available from Bitbucket. (see my signature below)

CodeIgniter version 1.7 is no longer supported.

#2
[eluser]Twisted1919[/eluser]
Just updated a project of mine to ci 2.0 official and HMVC 5.4, and wanted to thank you for the excellent work
you made with hmvc Smile

#3
[eluser]n0xie[/eluser]
Thanks again wiredesignz. Your extensions has helped a lot.

#4
[eluser]InsiteFX[/eluser]
Thank you ver much, wiredesignz...

InsiteFX

#5
[eluser]kimp[/eluser]
Hey wiredesignz,

Thanks, fantastic. One quick point - it seems I can not use the get_instance() funtion in a library when the controller has inherited from MX_Controller. Any plans to change this? Or should I be finding a workaround for each of my libraries?

(I raised this in an earlier post, http://ellislab.com/forums/viewthread/179478/)

Much appreciated,

Kim

#6
[eluser]wiredesignz[/eluser]
With HMVC you need to pass into or set the controller instance for the library before using it.
Code:
$this->load->library('form_validation');
$this->form_validation->CI =& $this;

/* or */

$this->load->library('form_validation', array('CI' => $this));
And then process the parameters inside the library constructor yourself.

#7
[eluser]kimp[/eluser]
Thanks.

#8
[eluser]Lucas Alves[/eluser]
Thanks, wiredesignz.

I have a doubt: Can I load a config file from a module using application/config/autoload.php $autoload?

#9
[eluser]kimp[/eluser]
Hi wiredesignz,

Another quick point. When I'm not using HMVC, I can access controller properties in a view using $this->variable. As soon as MY_Controller inherits from MX_Controller, however, the property is no longer available.

I've been reading up on the CI object hierarchy, including this article by David Upton, http://www.packtpub.com/article/codeigniter-and-objects, but I'm having difficulty understanding how this changes when we use HMVC...

Any assistance appreciated..., Kim

#10
[eluser]eoinmcg[/eluser]
most useful and very much appreciated!

thanks, wiredesignz!


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


Users browsing this thread:
1 Guest(s)


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2017 MyBB Group.