Merged in victorsl/processmaker (pull request #390)

ProcessMaker-BE "Category Fixes"
This commit is contained in:
Erik Amaru Ortiz
2014-04-11 19:22:46 -04:00
2 changed files with 8 additions and 12 deletions

View File

@@ -14,7 +14,7 @@ class ProcessCategory extends Api
private $formatFieldNameInUppercase = false; private $formatFieldNameInUppercase = false;
/** /**
* @url GET * @url GET /categories
*/ */
public function doGetCategories($filter = null, $start = null, $limit = null) public function doGetCategories($filter = null, $start = null, $limit = null)
{ {
@@ -31,7 +31,7 @@ class ProcessCategory extends Api
} }
/** /**
* @url GET /:cat_uid * @url GET /category/:cat_uid
* *
* @param string $cat_uid {@min 32}{@max 32} * @param string $cat_uid {@min 32}{@max 32}
*/ */
@@ -50,7 +50,7 @@ class ProcessCategory extends Api
} }
/** /**
* @url POST * @url POST /category
* *
* @param string $cat_name * @param string $cat_name
* *
@@ -68,7 +68,7 @@ class ProcessCategory extends Api
} }
/** /**
* @url PUT /:cat_uid * @url PUT /category/:cat_uid
* *
* @param string $cat_uid {@min 32}{@max 32} * @param string $cat_uid {@min 32}{@max 32}
* @param string $cat_name * @param string $cat_name
@@ -87,7 +87,7 @@ class ProcessCategory extends Api
} }
/** /**
* @url DELETE /:cat_uid * @url DELETE /category/:cat_uid
* *
* @param string $cat_uid {@min 32}{@max 32} * @param string $cat_uid {@min 32}{@max 32}
* *
@@ -103,3 +103,4 @@ class ProcessCategory extends Api
} }
} }
} }

View File

@@ -35,7 +35,7 @@ debug = 1
report-Table = "ProcessMaker\Services\Api\Project\ReportTable" report-Table = "ProcessMaker\Services\Api\Project\ReportTable"
sub-process= "ProcessMaker\Services\Api\Project\SubProcess" sub-process= "ProcessMaker\Services\Api\Project\SubProcess"
trigger-wizard = "ProcessMaker\Services\Api\Project\TriggerWizard" trigger-wizard = "ProcessMaker\Services\Api\Project\TriggerWizard"
;category = "ProcessMaker\Services\Api\ProcessCategory" category = "ProcessMaker\Services\Api\ProcessCategory"
[alias: projects] [alias: projects]
project = "ProcessMaker\Services\Api\Project" project = "ProcessMaker\Services\Api\Project"
@@ -70,8 +70,3 @@ debug = 1
input-document = "ProcessMaker\Services\Api\Cases\InputDocument" input-document = "ProcessMaker\Services\Api\Cases\InputDocument"
output-document = "ProcessMaker\Services\Api\Cases\OutputDocument" output-document = "ProcessMaker\Services\Api\Cases\OutputDocument"
[alias: category]
category = "ProcessMaker\Services\Api\ProcessCategory"
[alias: categories]
category = "ProcessMaker\Services\Api\ProcessCategory"