HOR-886 Se precisa informacion del nombre de time zone

fix in time zone by user
This commit is contained in:
Ronald Q
2016-04-28 11:09:58 -04:00
committed by Ronald Quenta
parent 8b2ff23606
commit ba48d13bf3
2 changed files with 28 additions and 2 deletions

View File

@@ -1533,4 +1533,26 @@ class Light extends Api
}
return $response;
}
/**
* Get configuration ProcessMaker
*
* @return array
*
* @url GET /config-user
*
* @param string $fileLimit {@from path}
* @param string $tz {@from path}
*/
public function getConfigurationUser($fileLimit = false, $tz = false)
{
try {
$params = array('fileLimit' => $fileLimit, 'tz' => $tz);
$oMobile = new \ProcessMaker\BusinessModel\Light();
$response = $oMobile->getConfiguration($params);
} catch (\Exception $e) {
throw new RestException(Api::STAT_APP_EXCEPTION, $e->getMessage());
}
return $response;
}
}