The Inx_Api_Approval_ApproverManager is used for the retrieval and creation of approvers.
The Inx_Api_Approval_ApproverManager is used for the retrieval and creation of approvers. The following code snippet creates a new approver responsible for the list with the id 12:
$approverMgr = $session->getApproverManager(); $approver = approverMgr->createApprover(); $approver->updateName( "Max Mustermann" ); $approver->updateComment( "Approver for List 12" ); $approver->updateLists( array( 12 ) ); $approver->commitUpdate();Note: The usage of Inx_Api_Approval_Approvers requires the api user right: Inx_Api_UserRights::PROPERTY_SYSTEM_USE For more information on approvers, see the Inx_Api_Approval_Approver documentation.
Located in /Api/Approval/ApproverManager.php (line 27)
Inx_Api_BOManager | --Inx_Api_Approval_ApproverManager
Creates a new approver.
Creates a new approver.
Selects all approvers assigned to the given list and all system wide approvers.
Selects all approvers assigned to the given list and all system wide approvers.
Inherited From Inx_Api_BOManager
Inx_Api_BOManager::get()
Inx_Api_BOManager::remove()
Inx_Api_BOManager::selectAll()
Documentation generated on Thu, 17 Sep 2015 14:27:20 +0200 by phpDocumentor 1.3.2