Lines Matching refs:serviceID
66 $serviceID = $INPUT->str('authorize');
67 $service = $services[$serviceID]::getInstance();
71 foreach ($services as $serviceID => $serviceClass) {
73 $this->orgs[$serviceID] = [];
74 if ($INPUT->str('reconfigureService') === $serviceID || !$service->isConfigured()) {
75 $this->configNeeded[] = $serviceID;
79 $this->orgs[$serviceID] = $service->getListOfAllUserOrganisations();
80 sort($this->orgs[$serviceID]);
105 * @param string $serviceID
109 protected function appendServiceTab($html, $serviceID) argument
113 $service = $services[$serviceID];
115 return $html . "<li><a data-service='$serviceID'>" . $serviceName . '</a></li>';
122 * @param string $serviceID
126 protected function appendServicePage($html, $serviceID) argument
130 $service = $services[$serviceID]::getInstance();
133 $html .= "<div data-service='$serviceID' class='service_wrapper'>";
135 if (in_array($serviceID, $this->configNeeded)) {
138 $configForm->setHiddenField('authorize', $serviceID);
144 } elseif (count($this->orgs[$serviceID]) === 0) {
148 … $reconfigureURL = $INPUT->server->str('REQUEST_URI') . '&reconfigureService=' . $serviceID;
151 $form = new \dokuwiki\Form\Form(['data-service' => $serviceID]);
157 $form->addFieldsetOpen($this->getLang("legend:group $serviceID"));
160 array_merge([''], $this->orgs[$serviceID]),
161 $this->getLang("label $serviceID:choose organisation")
165 $html .= "<div data-service='$serviceID' class='repo_area'></div>";