Interface Inx_Api_Approval_ApproverManager

Description

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.

  • version: $Revision: 10520 $ $Date: 2008-09-12 14:40:48 +0200 (Fr, 12 Sep 2008) $ $Author: sbn $
  • since: API 1.6.0

Located in /Api/Approval/ApproverManager.php (line 27)

Inx_Api_BOManager
   |
   --Inx_Api_Approval_ApproverManager
Method Summary
Inx_Api_Aprroval_Approver createApprover ()
Methods
createApprover (line 44)

Creates a new approver.

Creates a new approver.

  • return: the new approver.
  • access: public
Inx_Api_Aprroval_Approver createApprover ()
select (line 36)

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.

  • return: a result set containing the approvers.
  • access: public

Inherited Methods

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