FIle - /trunk/docs/classes/models/usergroup/index.md

/trunk/docs/classes/models/usergroup/index.md
1,919 bytes
January 20, 2025 at 08:22
4



App\Users\Models\UserGroup

UserGroup Model

  • public __construct(int $id, int $show_in_form, string $name):.md
  • public staticall([ string $sort_by = 'id' ], [ string $sort_dir = 'asc' ], [ int $limit = '0' ], [ int $offset = '0' ]): ModelIterator.md
  • public staticcount([ string $where_sql = '' ], [ ... $args ]): int.md
  • public delete(): void.md
  • public staticdeleteMany(string $where_sql, [ ... $args ]): int.md
  • public getChildren(string $foreign_key, string $class_name, [ string $sort_by = 'id' ], [ string $sort_dir = 'asc' ], [ int $limit = '0' ], [ int $offset = '0' ]): ModelIterator.md
  • public getId(): int.md
  • public getName(): string.md
  • public getShowInForm(): int.md
  • public staticinsert(object | array $values): ?static.md
  • public staticinsertFromForm(): static.md
  • public staticinsertOrUpdate(array $criteria, array $values): ?static.md
  • public staticpurge(): void.md
  • public save([ array $values = [] ]): void.md
  • public setId(int $id): void.md
  • public setName(string $name): void.md
  • public setShowInForm(int $show_in_form): void.md
  • public toArray(): array.md
  • public toFormattedArray(): array.md
  • public staticupdate(array $values, [ string $where_sql = '' ], [ ... $args ]): void.md
  • public staticwhere(string $where_sql, [ ... $args ]): ModelIterator.md
  • public staticwhereFirst(string $where_sql, [ ... $args ]): ?static.md
  • public staticwhereId(string | int $id): ?static.md