Commit Graph

6 Commits

Author SHA1 Message Date
Julio Cesar Laura
64e518fb49 Doc System, change hardcoded labels 2013-03-14 15:15:04 -04:00
jennylee
3e135b4ac3 I add new UnitTest for REST classes 2012-10-05 17:27:46 -04:00
Fernando Ontiveros
215e498aa0 fixing an issue with REST-crud generator script 2012-10-04 11:54:05 -04:00
Fernando Ontiveros
0915784426 working in the REST API, rebuilding classes for all tables and fixing small errors 2012-09-24 15:09:48 -04:00
Erik Amaru Ortiz
ce21ee6454 PM Rest Feature: added plugins support & more improvements
from a plugin a rest class can be registered now:

on setup method add the following:
---
$this->registerRestService('Sample', [optional string: $path]);
--

and create the folder   PATH_PLUGIN . /your_plugin/classes/rest

next add a class with the flowing characteristics:

<?php

class Plugin_Services_Rest_Sample
{
    public function get()
    {
        return 'hello world';
    }
}

A class prefixed with Plugin_Services_Rest_
and add the corresponding methods for a Restler api
(http://luracast.com/products/restler/)

Finally on process maker will be exposed as:

via GET: http://127.0.0.1/rest/workflow/sample
2012-08-23 13:01:19 -04:00
Erik Amaru Ortiz
612819cb75 FEATURE, PM Rest Api: Adding rest api crud generator 2012-08-20 18:33:25 -04:00