Welcome Guest, Not a member yet? Register   Sign In
Matchbox & CI 1.7 Working Form Validation
#4

[eluser]philpalmieri[/eluser]
Hi,

Sure.. first thing i did was update _ci_load_class with dexcell's update (although i dont think it effects the library loading.
http://ellislab.com/forums/viewthread/65...50/#480924

Then i updated _ci_init_class, Matchbox's method doesnt have reference to the new $object_name parameter, so i just ignore it and force the load as if its null by setting the $classvar.

This may still prevent it from working with subdirectories.

The reason this is all happening is because CI switched from loading the loaded libraries names into an normal array $this->_ci_classes, where all the load calls are using if(in_array()... and now they are using key value pairs with the library obj name as a string key. - problem is, Matchbox isnt updated yet, so its still doign in_array calls as apposed to array_key_exists.

I'm not sure why it's only affecting the form_validation, but it is.

Not sure if that helps at all, and keep in mind this was the first time i cracked open matchbox, so i may have inadvertently affected something else.

Phil


Messages In This Thread
Matchbox & CI 1.7 Working Form Validation - by El Forum - 11-02-2008, 11:56 PM
Matchbox & CI 1.7 Working Form Validation - by El Forum - 11-03-2008, 01:52 AM
Matchbox & CI 1.7 Working Form Validation - by El Forum - 11-08-2008, 04:39 PM
Matchbox & CI 1.7 Working Form Validation - by El Forum - 11-09-2008, 12:58 PM
Matchbox & CI 1.7 Working Form Validation - by El Forum - 11-10-2008, 09:11 AM
Matchbox & CI 1.7 Working Form Validation - by El Forum - 12-10-2008, 07:46 PM
Matchbox & CI 1.7 Working Form Validation - by El Forum - 01-20-2009, 03:44 PM
Matchbox & CI 1.7 Working Form Validation - by El Forum - 01-22-2009, 10:52 AM
Matchbox & CI 1.7 Working Form Validation - by El Forum - 01-26-2009, 10:54 PM
Matchbox & CI 1.7 Working Form Validation - by El Forum - 01-27-2009, 09:33 PM
Matchbox & CI 1.7 Working Form Validation - by El Forum - 03-17-2009, 06:35 PM
Matchbox & CI 1.7 Working Form Validation - by El Forum - 03-18-2009, 03:06 PM
Matchbox & CI 1.7 Working Form Validation - by El Forum - 03-19-2009, 10:21 AM
Matchbox & CI 1.7 Working Form Validation - by El Forum - 06-18-2009, 08:41 AM
Matchbox & CI 1.7 Working Form Validation - by El Forum - 07-08-2009, 05:44 PM
Matchbox & CI 1.7 Working Form Validation - by El Forum - 03-14-2010, 08:26 PM
Matchbox & CI 1.7 Working Form Validation - by El Forum - 03-04-2011, 02:27 PM
Matchbox & CI 1.7 Working Form Validation - by El Forum - 05-28-2011, 10:10 AM



Theme © iAndrew 2016 - Forum software by © MyBB