コード例 #1
0
 function asArray()
 {
     $inherited = parent::asArray();
     $properties = array('widgetCompletionInfo' => $this->widget_completion_info, 'widgetAuthFailureInfo' => $this->widget_auth_failure_info);
     $properties = array_merge($inherited, $properties);
     foreach ($properties as $k => $v) {
         if ($v === null || $v === '') {
             unset($properties[$k]);
         }
     }
     return array('widgetInfo' => $properties);
 }
コード例 #2
0
 function asArray()
 {
     $inherited = parent::asArray();
     $properties = array('recipients' => $this->recipients->asArray(), 'ccs' => $this->ccs, 'message' => $this->message, 'signatureType' => $this->signature_type, 'reminderFrequency' => $this->reminder_frequency, 'daysUntilSigningDeadline' => $this->days_until_signing_deadline);
     $properties = array_merge($inherited, $properties);
     foreach ($properties as $k => $v) {
         if ($v === null || $v === '') {
             unset($properties[$k]);
         }
     }
     return array('documentCreationInfo' => $properties);
 }