Example #1
0
 public function __construct($userId, $migrator)
 {
     if (is_object($migrator)) {
         $this->migrator = $migrator;
     } else {
         throw new LogicException("Migrator object invalid");
     }
     $this->userId = $userId;
     $this->migrator = $migrator;
     $this->config = new stdClass();
     $this->queryConfig(OCISchemaUser::UserGetRequest17sp4($this->userId));
     $this->queryConfig(OCISchemaServiceCallForwardingAlways::UserCallForwardingAlwaysGetRequest($this->userId));
     $this->queryConfig(OCISchemaServiceCallForwardingBusy::UserCallForwardingBusyGetRequest($this->userId));
     $this->queryConfig(OCISchemaServiceCallForwardingNoAnswer::UserCallForwardingNoAnswerGetRequest13mp16($this->userId));
     //       $this->queryConfig(OCISchemaServiceCallForwardingNotReachable::UserCallForwardingNotReachableGetRequest($this->userId));
     $this->queryConfig(OCISchemaUser::UserServiceGetAssignmentListRequest($this->userId));
     $this->queryConfig(OCISchemaServiceVoiceMessaging::UserVoiceMessagingUserGetVoiceManagementRequest17($this->userId));
     $this->queryConfig(OCISchemaServiceVoiceMessaging::UserVoiceMessagingUserGetAdvancedVoiceManagementRequest14sp3($this->userId));
     $this->queryConfig(OCISchemaServiceCallingLineIDDeliveryBlocking::UserCallingLineIDDeliveryBlockingGetRequest($this->userId));
     $this->queryConfig(OCISchemaServiceCallWaiting::UserCallWaitingGetRequest17sp4($this->userId));
     //$this->queryConfig(OCISchemaServiceCallForwardingSelective::UserCallForwardingSelectiveGetRequest16($this->userId));
 }