Commit Graph

3 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
d7d22e57f5 Updating use of Api::STAT_APP_EXCEPTION const 2013-12-02 12:56:13 -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