@@ 629-641 (lines=13) @@ | ||
626 | * @param array $processRequestArray |
|
627 | * @return ProcessResult |
|
628 | */ |
|
629 | public function processSubmitRequest($processRequestArray) { |
|
630 | if (is_array($processRequestArray)) { |
|
631 | foreach ($processRequestArray as &$process) { |
|
632 | $process = new SoapVar($process, SOAP_ENC_OBJECT, 'ProcessSubmitRequest', $this->namespace); |
|
633 | } |
|
634 | $arg = new stdClass(); |
|
635 | $arg->actions = $processRequestArray; |
|
636 | return $this->_process($arg); |
|
637 | } else { |
|
638 | $backtrace = debug_backtrace(); |
|
639 | die('Please pass in array to this function: '.$backtrace[0]['function']); |
|
640 | } |
|
641 | } |
|
642 | ||
643 | /** |
|
644 | * Process Work Item Request for Approval |
|
@@ 649-661 (lines=13) @@ | ||
646 | * @param array $processRequestArray |
|
647 | * @return ProcessResult |
|
648 | */ |
|
649 | public function processWorkitemRequest($processRequestArray) { |
|
650 | if (is_array($processRequestArray)) { |
|
651 | foreach ($processRequestArray as &$process) { |
|
652 | $process = new SoapVar($process, SOAP_ENC_OBJECT, 'ProcessWorkitemRequest', $this->namespace); |
|
653 | } |
|
654 | $arg = new stdClass(); |
|
655 | $arg->actions = $processRequestArray; |
|
656 | return $this->_process($arg); |
|
657 | } else { |
|
658 | $backtrace = debug_backtrace(); |
|
659 | die('Please pass in array to this function: '.$backtrace[0]['function']); |
|
660 | } |
|
661 | } |
|
662 | ||
663 | /** |
|
664 | * Retrieves a list of available objects for your organization's data. |