gitea/src/e7c810a1-3d6a-42e4-b45f-bee...
Robot 12042ffd4d
update 2024-04-07 13:20:18
2024-04-07 13:20:22 +02:00
..
README.md update 2023-10-10 10:16:07 2023-10-10 11:39:23 +02:00
code.php first commit 2023-04-15 17:08:07 +02:00
code.power first commit 2023-04-15 17:08:07 +02:00
settings.json update 2024-04-07 13:20:18 2024-04-07 13:20:22 +02:00

README.md

██████╗  ██████╗ ██╗    ██╗███████╗██████╗
██╔══██╗██╔═══██╗██║    ██║██╔════╝██╔══██╗
██████╔╝██║   ██║██║ █╗ ██║█████╗  ██████╔╝
██╔═══╝ ██║   ██║██║███╗██║██╔══╝  ██╔══██╗
██║     ╚██████╔╝╚███╔███╔╝███████╗██║  ██║
╚═╝      ╚═════╝  ╚══╝╚══╝ ╚══════╝╚═╝  ╚═╝

class Users (Details)

namespace: VDM\Joomla\Gitea\Admin extends: Api

@startuml
class Users  #Gold {
  + list(int $page = 1, int $limit = 10) : ?array
  + create(string $loginName, string $email, ...) : ?object
  + delete(string $username) : string
  + edit(string $username, string $loginName, ...) : ?object
}

note right of Users::list
  List all users.

  since: 3.2.0
  return: ?array
end note

note right of Users::create
  Create a user with extended options.

  since: 3.2.0
  return: ?object
  
  arguments:
    string $loginName
    string $email
    string $password
    string $username
    ?string $fullName = null
    ?bool $mustChangePassword = null
    ?bool $restricted = null
    ?bool $sendNotify = null
    ?int $sourceId = null
    ?string $visibility = null
end note

note right of Users::delete
  Delete a user.

  since: 3.2.0
  return: string
end note

note right of Users::edit
  Edit an existing user.

  since: 3.2.0
  return: ?object
  
  arguments:
    string $username
    string $loginName
    int $sourceId
    bool $active = false
    bool $admin = false
    bool $allowCreateOrganization = false
    bool $allowGitHook = false
    bool $allowImportLocal = false
    string $description = ''
    string $email = ''
    string $fullName = ''
    string $location = ''
    int $maxRepoCreation
    bool $mustChangePassword = false
    string $password = ''
    bool $prohibitLogin = false
    bool $restricted = false
    string $visibility = ''
    string $website = ''
end note
 
@enduml

     ██╗ ██████╗██████╗
     ██║██╔════╝██╔══██╗
     ██║██║     ██████╔╝
██   ██║██║     ██╔══██╗
╚█████╔╝╚██████╗██████╔╝
 ╚════╝  ╚═════╝╚═════╝

Build with Joomla Component Builder