public function update($group)
    {
        if (is_string($group)) {
            $group = $this->groupFactory->createForPlayer($group);
        } else {
            if (is_array($group)) {
                $group = $this->groupFactory->createForPlayers($group);
            }
        }

        $ml = $this->guiHandler->getManialink($group, $this);
        if ($ml) {
            $this->actionFactory->destroyNotPermanentActions($ml);
            if ($ml instanceof Window) {
                $ml->busyCounter += 1;

                if ($ml->isBusy && $ml->busyCounter > 1) {
                    $ml->setBusy(false);
                }
            }
            $this->updateContent($ml);
            $this->guiHandler->addToDisplay($ml, $this);
        }
    }
public function update($group)
    {
        if (is_string($group)) {
            $group = $this->groupFactory->createForPlayer($group);
        } else {
            if (is_array($group)) {
                $group = $this->groupFactory->createForPlayers($group);
            }
        }

        $ml = $this->guiHandler->getManialink($group, $this);
        if ($ml) {
            $this->actionFactory->destroyNotPermanentActions($ml);
            if ($ml instanceof Window) {
                $ml->busyCounter += 1;

                if ($ml->isBusy && $ml->busyCounter > 1) {
                    $ml->setBusy(false);
                }
            }
            $this->updateContent($ml);
            $this->guiHandler->addToDisplay($ml, $this);
        }
    }
public function update ( $ group ) { if ( is_string ( $ group ) ) { $ group = $ this -> groupFactory -> createForPlayer ( $ group ) ; } else { if ( is_array ( $ group ) ) { $ group = $ this -> groupFactory -> createForPlayers ( $ group ) ; } } $ ml = $ this -> guiHandler -> getManialink ( $ group , $ this ) ; if ( $ ml ) { $ this -> actionFactory -> destroyNotPermanentActions ( $ ml ) ; if ( $ ml instanceof Window ) { $ ml -> busyCounter += 1 ; if ( $ ml -> isBusy && $ ml -> busyCounter > 1 ) { $ ml -> setBusy ( false ) ; } } $ this -> updateContent ( $ ml ) ; $ this -> guiHandler -> addToDisplay ( $ ml , $ this ) ; } }
Request an update for manialink.

@param string|array|Group $group
Request an update for manialink .