HOR-80 "0018229: Error en report tables para grillas" SOLVED

Issue:
    0018229: Error en report tables para grillas - Create report tables from grids
Cause:
    Nuevo requerimiento de funciones (procesos BPMN)
Solution:
    - Se a implementado la creacion de Report-tables de tipo Grid para procesos BPMN
    - Esta funcionaldad es la misma que los procesos Clasicos

Fix
This commit is contained in:
Victor Saisa Lopez
2016-06-15 17:03:07 -04:00
parent 4979c587bd
commit e3d08619d3
6 changed files with 313 additions and 128 deletions

View File

@@ -136,5 +136,23 @@ class Common extends \Maveriks\Util\Common
return $sCode;
}
/**
* Convert string to JSON
*
* @param string $string
*
* @return object Returns an object, FALSE otherwise
*/
public static function stringToJson($string)
{
try {
$object = json_decode($string);
return (json_last_error() == JSON_ERROR_NONE)? $object : false;
} catch (\Exception $e) {
throw $e;
}
}
}