-
Notifications
You must be signed in to change notification settings - Fork 2
Getting Started with ERP
m0mo edited this page Dec 13, 2011
·
1 revision
The easiest way is to include the API.php using the code
require_once ’path/to/API.php’;
, which will load all necessary classes. The only setting a user has to configure (depending on the system) is the inclusion path, which is located in /util/Constants.php. After that, the API is fully functional and ready to use. Further, the API provides static helper functions for creating all kinds of objects (for instance, line $model = ERP::getModel();
creates a Model object). Therefore, the user can fully concentrate on the task rather than learn the API’s architecture.