@@ -179,6 +179,9 @@ discard block |
||
179 | 179 | } |
180 | 180 | } |
181 | 181 | |
182 | + /** |
|
183 | + * @param string $model |
|
184 | + */ |
|
182 | 185 | private function getWorkflow($model){ |
183 | 186 | $data = WorkflowModel::where('content_type', 'like', '%' . $model . '%'); |
184 | 187 | return $data; |
@@ -632,6 +635,14 @@ discard block |
||
632 | 635 | } |
633 | 636 | } |
634 | 637 | |
638 | + /** |
|
639 | + * @param boolean $error |
|
640 | + * @param integer $statusCode |
|
641 | + * @param string $title |
|
642 | + * @param string $type |
|
643 | + * @param string $message |
|
644 | + * @param string $transition |
|
645 | + */ |
|
635 | 646 | private function SendClient($client, $host, $error, $statusCode, $title, $type, $message, $result, $state, $transition){ |
636 | 647 | if(Auth::guest()){ $current_user = 1; } |
637 | 648 | else{ $current_user = (Auth::user())?((Auth::user()->id)?Auth::user()->id:1):1; } |
@@ -776,6 +787,9 @@ discard block |
||
776 | 787 | return $responses; |
777 | 788 | } |
778 | 789 | |
790 | + /** |
|
791 | + * @param string $keterangan |
|
792 | + */ |
|
779 | 793 | private function send_apimanager($url_apimanager,$client,$host,$keterangan,$apikey=""){ |
780 | 794 | if(Auth::guest()){ $current_user = 1; } |
781 | 795 | else{ $current_user = (Auth::user())?((Auth::user()->id)?Auth::user()->id:1):1; } |