Moving the Features folder again in order to ensure compatibility with the namespaces convention

This commit is contained in:
Gustavo Cruz
2015-02-24 18:14:41 -04:00
parent c7a7736edf
commit 077033adca
78 changed files with 330 additions and 265 deletions

View File

@@ -74,7 +74,14 @@ class Activity extends Api
public function doGetProjectActivityFeatureConfiguration($prj_uid, $act_uid, $filter = '')
{
try {
return array('status' => 200, 'message' => 'success');
$featureServices = new \Features\FeatureServices();
$configuration = $featureServices->retrieveView(array(
'type' => 'activity',
'view' => 'configuration',
'prj_uid' => $prj_uid,
'act_uid' => $act_uid
));
return $configuration;
} catch (\Exception $e) {
throw new RestException(Api::STAT_APP_EXCEPTION, $e->getMessage());
}

View File

@@ -31,25 +31,6 @@ class DynaForm extends Api
}
}
/**
* @url GET /:prj_uid/dynaform
*
* @param string $prj_uid {@min 32}{@max 32}
*/
public function doGetDynaFormList($prj_uid)
{
try {
$dynaForm = new \ProcessMaker\BusinessModel\DynaForm();
$dynaForm->setFormatFieldNameInUppercase(false);
$response = $dynaForm->getDynaForm();
return $response;
} catch (\Exception $e) {
throw (new RestException(Api::STAT_APP_EXCEPTION, $e->getMessage()));
}
}
/**
* @url POST /:prj_uid/dynaform
*