Commit Graph

4 Commits

Author SHA1 Message Date
Erik Amaru Ortiz
b25efdd866 Adding Rest Api Service Support
Rest Service on plugins
-----------------------

1. enable service

add the following line in plugin __constructor main class
$this->enableRestService(true);

2. Create the sources directory structure by example:
if you plugin is named myPlugin

myPlugin
    |--src
        |--Services
             |--Api
                 |--MyPlugin
                      |--Test.php

Where Test.php is a Restler class
2013-12-03 17:10:18 -04:00
Erik Amaru Ortiz
260bcb7e89 FIX for api.ini parsig file, alias section was updated 2013-12-02 16:53:08 -04:00
Erik Amaru Ortiz
4a61ebea00 Litle update on Test api class 2013-11-27 16:12:01 -04:00
Erik Amaru Ortiz
1faafa8ee4 Updating API Rest Dispatching, adding alias support from a conf api.ini file 2013-11-26 17:17:36 -04:00