Welcome Guest, Not a member yet? Register   Sign In
Modular Extensions - HMVC version 5.2

[eluser]Tony Nash[/eluser]
Will ME work with freakauth? or which CI auth library work properly with ME?

[eluser]wiredesignz[/eluser]
Hi Tony,

I imagine they would all work. Wink

[eluser]Sam Dark[/eluser]
Have a patch for the latest version of HMVC + CI 1.7.

Code:
//For compatibility with Form_Validation from CI 1.7 form_helper
function __get($name){
  switch ($name) {
    case '_ci_classes': return self::$loader->_ci_classes; break;
  }
}
    
function __isset($name){
  switch ($name) {
    case '_ci_classes': return isset(self::$loader->_ci_classes); break;
  }
}

[eluser]Tony Nash[/eluser]
[quote author="wiredesignz" date="1222103462"]Hi Tony,

I imagine they would all work. Wink[/quote]



Well I like ME very much but I need a very good Auth library for my application. FreakAuth and CI_Auth both seems perfect for my needs. However CI_Auth still missing some documentations :-S .. Hope someone else may have tried this already and help be out?

[eluser]wiredesignz[/eluser]
[quote author="Sam Dark" date="1222105851"]Have a patch for the latest version of HMVC + CI 1.7.[/quote]

That's nice Sam. Could you please explain what your patch does.

[eluser]Sam Dark[/eluser]
New validation library helpers are accessing Loader's $_ci_classes variable to get Validation library object that is not avilable when using HMVC loader.

[eluser]wiredesignz[/eluser]
Hi Sam, thanks for this idea, I will be adding a reference to the CI_Loader _ci_classes in ME Loader constructor like so.


Code:
//Controller.php line 132

        /* get a reference to CI_Loader classes */
        $this->_ci_classes =& self::$loader->_ci_classes;

Will send an update to the mailing list tomorrow.

[eluser]Sam Dark[/eluser]
Good idea since __set and __isset are not very fast.

[eluser]Gnative[/eluser]
Hey guys.. could anyone throw me the lastest copy of ME 5, i cant seem to get hold of wiredesignsnz..
Thanks
S

[eluser]wiredesignz[/eluser]
@Gnative, It's impossible to add you to the mailing list if you don't provide an email address. Tongue




Theme © iAndrew 2016 - Forum software by © MyBB