BUG 10547 "PMFGetCaseNotes function. The wizard does not..." SOLVED

- PMFGetUserEmailAddress and PMFGetCaseNotes function. The wizard does not work properly.
- Solved problem, corrected default values of the parameters
* Available from version ProcessMaker-2.0.46
This commit is contained in:
Victor Saisa Lopez
2013-01-29 15:05:04 -04:00
parent 439f1736a0
commit a3cf657fa0

View File

@@ -46,7 +46,6 @@ if (! class_exists( 'PMScript' )) {
*/ */
/** /**
*
* @method * @method
* *
* Retrieves the current date formated in the format "yyyy-mm-dd", with leading zeros in the * Retrieves the current date formated in the format "yyyy-mm-dd", with leading zeros in the
@@ -1530,7 +1529,7 @@ function PMFUserList () //its test was successfull
* Add a input document. * Add a input document.
* *
* @name PMFAddInputDocument * @name PMFAddInputDocument
* @label PMF Add a input document. * @label PMF Add a input document
* @link http://wiki.processmaker.com/index.php/ProcessMaker_Functions#PMFAddInputDocument.28.29 * @link http://wiki.processmaker.com/index.php/ProcessMaker_Functions#PMFAddInputDocument.28.29
* *
* @param string(32) | $inputDocumentUid | ID of the input document | The unique ID of the input document. * @param string(32) | $inputDocumentUid | ID of the input document | The unique ID of the input document.
@@ -2422,18 +2421,18 @@ function PMFGetNextAssignedUser ($application, $task)
} }
/** /**
*
* @method * @method
* *
* Returns a list or user. * Returns a list or user.
* *
* @name PMFGetUserEmailAddress * @name PMFGetUserEmailAddress
* @label PMF Get User Email Address * @label PMF Get User Email Address
* @link http://wiki.processmaker.com/index.php/ProcessMaker_Functions#PMFGetUserEmailAddress.28.29
* *
* @param string(32) or Array | $id | Case ID | Id of the case * @param string(32) or Array | $id | Case ID | Id of the case.
* @param string(32) | $APP_UID or null | Application ID | Id of the Application * @param string(32) | $APP_UID = null | Application ID | Id of the Application.
* @param string(32) | $prefix or default value 'usr' | prefix | Id of the task * @param string(32) | $prefix = "usr" | prefix | Id of the task.
* @return array | $aRecipient | Array of the Recipient | Return an Array of the Recipient * @return array | $aRecipient | Array of the Recipient | Return an Array of the Recipient.
* *
*/ */
function PMFGetUserEmailAddress ($id, $APP_UID = null, $prefix = 'usr') function PMFGetUserEmailAddress ($id, $APP_UID = null, $prefix = 'usr')
@@ -2565,18 +2564,18 @@ function PMFGetUserEmailAddress ($id, $APP_UID = null, $prefix = 'usr')
} }
/** /**
*
* @method * @method
* *
* Get of the cases notes an application. * Get of the cases notes an application.
* *
* @name PMFGetCaseNotes * @name PMFGetCaseNotes
* @label PMF Get of the cases notes an application. * @label PMF Get of the cases notes an application
* @link http://wiki.processmaker.com/index.php/ProcessMaker_Functions#PMFGetCaseNotes.28.29
* *
* @param string(32) | $applicationID | Application ID | ID of the Application * @param string(32) | $applicationID | Application ID | ID of the Application.
* @param string(32) | $type or default value 'array' | type of the return value | type of the return value (array, object, string) * @param string(32) | $type = "array" | type of the return value | type of the return value (array, object, string).
* @param string(32) | $userUid default value empty string | User ID | Id of the User * @param string(32) | $userUid = "" | User ID | Id of the User.
* @return array, object or string | $response | Array of the response | Return an Array or Object or String * @return array, object or string | $response | Array of the response | Return an Array or Object or String.
* *
*/ */
function PMFGetCaseNotes ($applicationID, $type = 'array', $userUid = '') function PMFGetCaseNotes ($applicationID, $type = 'array', $userUid = '')