Moving the Features folder again in order to ensure compatibility with the namespaces convention
This commit is contained in:
@@ -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());
|
||||
}
|
||||
|
||||
@@ -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
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user