Menu

## MemberProcess

MemberProcess.php : 25

##### Tags

class

  trait Trait for MemberProcess Processes

### Table of Contents

#### Methods

AlumniFilter() : AnonymousResourceCollection
  Filter alumni users by name alphabet and batch.
AlumniProfileFilter() : AnonymousResourceCollection
  Filter alumni profiles excluding the current user.
LibraryMemberFilter() : AnonymousResourceCollection
  Filter library member records (students) using profile and library data.
LibraryStaffFilter() : AnonymousResourceCollection
  Filter library staff by profile and library card/lending data.
LibraryTeacherFilter() : AnonymousResourceCollection
  Filter library teachers by profile and library card/lending data.
MemberFilter() : AnonymousResourceCollection
  Filter members (students) by role, status, and optional profile criteria.
ParentFilter() : AnonymousResourceCollection
  Filter parents with active children and optional profile attributes.
StaffFilter() : AnonymousResourceCollection
  Filter non-teaching staff users by group and optional attributes.
TeacherFilter() : AnonymousResourceCollection
  Filter teacher users by role and profile attributes.

### Methods

#### AlumniFilter()

MemberProcess.php : 385

Filter alumni users by name alphabet and batch.

`public AlumniFilter(Request $request, int $school_id, int $usergroup_id) : AnonymousResourceCollection`

##### Parameters

$request : Request

  Incoming request with filter params

$school_id : int

  School identifier

$usergroup_id : int

  Alumni role id

##### Return values

AnonymousResourceCollection

#### AlumniProfileFilter()

MemberProcess.php : 425

Filter alumni profiles excluding the current user.

`public AlumniProfileFilter(Request $request, int $school_id, int $usergroup_id, int $user_id) : AnonymousResourceCollection`

##### Parameters

$request : Request

  Incoming request with filter params

$school_id : int

  School identifier

$usergroup_id : int

  Alumni role id

$user_id : int

  Current user id to exclude

##### Return values

AnonymousResourceCollection

#### LibraryMemberFilter()

MemberProcess.php : 465

Filter library member records (students) using profile and library data.

`public LibraryMemberFilter(Request $request, int $school_id, int $usergroup_id, string $status) : AnonymousResourceCollection`

##### Parameters

$request : Request

  Incoming request with filter params

$school_id : int

  School identifier

$usergroup_id : int

  User group to filter by

$status : string

  Default status filter

##### Return values

AnonymousResourceCollection

#### LibraryStaffFilter()

MemberProcess.php : 631

Filter library staff by profile and library card/lending data.

`public LibraryStaffFilter(Request $request, int $school_id, array<string|int, mixed> $usergroup_id) : AnonymousResourceCollection`

##### Parameters

$request : Request

  Incoming request with filter params

$school_id : int

  School identifier

$usergroup_id : array<string|int, mixed>

  Staff role ids

##### Return values

AnonymousResourceCollection

#### LibraryTeacherFilter()

MemberProcess.php : 557

Filter library teachers by profile and library card/lending data.

`public LibraryTeacherFilter(Request $request, int $school_id, int $usergroup_id) : AnonymousResourceCollection`

##### Parameters

$request : Request

  Incoming request with filter params

$school_id : int

  School identifier

$usergroup_id : int

  Teacher role id

##### Return values

AnonymousResourceCollection

#### MemberFilter()

MemberProcess.php : 36

Filter members (students) by role, status, and optional profile criteria.

`public MemberFilter(Request $request, int $school_id, int $usergroup_id, string $status) : AnonymousResourceCollection`

##### Parameters

$request : Request

  Incoming request with filter params

$school_id : int

  School identifier

$usergroup_id : int

  User group to filter by

$status : string

  Default status filter

##### Return values

AnonymousResourceCollection

#### ParentFilter()

MemberProcess.php : 310

Filter parents with active children and optional profile attributes.

`public ParentFilter(Request $request, int $school_id, int $usergroup_id) : AnonymousResourceCollection`

##### Parameters

$request : Request

  Incoming request with filter params

$school_id : int

  School identifier

$usergroup_id : int

  Parent role id

##### Return values

AnonymousResourceCollection

#### StaffFilter()

MemberProcess.php : 224

Filter non-teaching staff users by group and optional attributes.

`public StaffFilter(Request $request, int $school_id, array<string|int, mixed> $usergroup_id) : AnonymousResourceCollection`

##### Parameters

$request : Request

  Incoming request with filter params

$school_id : int

  School identifier

$usergroup_id : array<string|int, mixed>

  One or more staff role ids

##### Return values

AnonymousResourceCollection

#### TeacherFilter()

MemberProcess.php : 138

Filter teacher users by role and profile attributes.

`public TeacherFilter(Request $request, int $school_id, int $usergroup_id) : AnonymousResourceCollection`

##### Parameters

$request : Request

  Incoming request with filter params

$school_id : int

  School identifier

$usergroup_id : int

  Teacher role id

##### Return values

AnonymousResourceCollection

## Search results