Separate classes into their own files and add a PSR-0 autoloader (MIT license)

Signed-off-by: emanuele <emanuele45@gmail.com>
Moved Lang class from static to object

Signed-off-by: emanuele <emanuele45@gmail.com>
import_exception => ImportException
Cleanup

Signed-off-by: emanuele <emanuele45@gmail.com>
Put languages in a custom directory

Signed-off-by: emanuele <emanuele45@gmail.com>
Moved the importers to a different dir in order to prepare for importing to multiple different sources (and some more stuff that I should have split into multiple commits)
 Lotsa fix to at least make it load the first page

Signed-off-by: emanuele <emanuele45@gmail.com>
Now the template knows about multiple destinations

Signed-off-by: emanuele <emanuele45@gmail.com>
DIRECTORY_SEPARATOR, just to be picky

Signed-off-by: emanuele <emanuele45@gmail.com>
Removing some stuff from the constructor of the Import class

Signed-off-by: emanuele <emanuele45@gmail.com>
A getter for the language class, not tested

Signed-off-by: emanuele <emanuele45@gmail.com>
Isolate some of the SMF-specific functions to the SMF-specific importer

Signed-off-by: emanuele <emanuele45@gmail.com>
Some functions are better as methods

Signed-off-by: emanuele <emanuele45@gmail.com>
Separate processing of steps into its own function and add another layer to the importer xml to accomodate the steps of the process (step1, step2 and step3)

Signed-off-by: emanuele <emanuele45@gmail.com>
Move the doStep2 to the xml importer

Signed-off-by: emanuele <emanuele45@gmail.com>
Do the same for doStep3

Signed-off-by: emanuele <emanuele45@gmail.com>
No need for a class anymore

Signed-off-by: emanuele <emanuele45@gmail.com>
Actually a class is better for step 2

Signed-off-by: emanuele <emanuele45@gmail.com>
Replicated the steps2 and 3 for all the importers

Signed-off-by: emanuele <emanuele45@gmail.com>
The php file represents the destination platform and not the source

Signed-off-by: emanuele <emanuele45@gmail.com>