thuphinguyen / php-dynamics-crm-2011

Automatically exported from code.google.com/p/php-dynamics-crm-2011
0 stars 0 forks source link

Implement an automatic class loader #14

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Currently, class loading is done manually using "require_once", and listing 
each file in the DynamicsCRM2011.php file.

Instead, this should be done using an automatic class loader:
http://www.php.net/manual/en/function.spl-autoload-register.php

Each php file in the project should require_once just the main 
DynamicsCRM2011.php file.

Original issue reported on code.google.com by N.M.Pr...@gmail.com on 16 Mar 2012 at 2:40

GoogleCodeExporter commented 9 years ago
I'll pick this one up

Original comment by N.M.Pr...@gmail.com on 16 Mar 2012 at 2:42

GoogleCodeExporter commented 9 years ago
Started work on this - should be quite quick, one function to create in 
DynamicsCRM2011 and a quick test with an Entity.

Original comment by N.M.Pr...@gmail.com on 16 Mar 2012 at 3:50

GoogleCodeExporter commented 9 years ago
Done & Tested

Original comment by N.M.Pr...@gmail.com on 16 Mar 2012 at 4:20