Menu

## TodolistProcess uses trait:short

TodolistProcess.php : 26

##### Tags

class

  trait Trait for TodolistProcess Processes

### Table of Contents

#### Methods

addClassReminder() : mixed
addTaskAssignee() : mixed
adminBirthdayReminder() : void
  Notify admins about a user's birthday via all channels.
editTaskAssignee() : mixed
sendToAssignmentReminder() : void
  Send assignment reminder to a user two days before due date.
sendToAttendanceReminder() : void
  Send absentee notifications to parents across available channels.
sendToBirthdayReminder() : void
  Send birthday or work anniversary reminders to a user via multiple channels.
sendToReminderEvent() : void
  Dispatch reminder events for an event across notification, SMS, and mail channels.
sendToSnoozeTask() : void
  Send snooze reminder for a task through notifications.
sendToSnoozeTaskWeb() : void
  Send web notification for snoozed tasks.
sendToTaskReminder() : void
  Dispatch task reminder to a user over notification, SMS, and email.
snoozeTask() : mixed
userNotifyGroup() : void
  Notify users when added to a chat room via SMS and mail.

### Methods

#### addClassReminder()

TodolistProcess.php : 202
`public addClassReminder(mixed $school_id, mixed $reminder_date, mixed $title, mixed $entity_id, mixed $standardLink_id) : mixed`

##### Parameters

$school_id : mixed
$reminder_date : mixed
$title : mixed
$entity_id : mixed
$standardLink_id : mixed

#### addTaskAssignee()

TodolistProcess.php : 30
`public addTaskAssignee(mixed $data, mixed $school_id, mixed $academic_year_id, mixed $auth_id) : mixed`

##### Parameters

$data : mixed
$school_id : mixed
$academic_year_id : mixed
$auth_id : mixed

#### adminBirthdayReminder()

EventProcess.php : 141

Notify admins about a user's birthday via all channels.

`public adminBirthdayReminder(int $school_id, string $user_name, string $user_email, int $entity_id, string $date_of_birth, string|null $mobile_no, string|null $mail, string $birth_date) : void`

##### Parameters

$school_id : int

  School identifier

$user_name : string

  Name of the user

$user_email : string

  Email of the user

$entity_id : int

  User identifier

$date_of_birth : string

  Birth date of the user

$mobile_no : string|null

  Mobile number for SMS

$mail : string|null

  Email address for mail delivery

$birth_date : string

  Date used to schedule the notification

#### editTaskAssignee()

TodolistProcess.php : 216
`public editTaskAssignee(mixed $data, mixed $auth_id, mixed $id) : mixed`

##### Parameters

$data : mixed
$auth_id : mixed
$id : mixed

#### sendToAssignmentReminder()

EventProcess.php : 272

Send assignment reminder to a user two days before due date.

`public sendToAssignmentReminder(int $school_id, string $date, string $subject_name, string $title, int $entity_id, string|null $mail, string|null $mobile_no) : void`

##### Parameters

$school_id : int

  School identifier

$date : string

  Assignment due date

$subject_name : string

  Name of the subject

$title : string

  Assignment title

$entity_id : int

  User identifier

$mail : string|null

  Email address for mail delivery

$mobile_no : string|null

  Mobile number for SMS

#### sendToAttendanceReminder()

EventProcess.php : 180

Send absentee notifications to parents across available channels.

`public sendToAttendanceReminder(int $school_id, string $date, int $entity_id, string|null $mobile_no, string|null $email, string $student_name) : void`

##### Parameters

$school_id : int

  School identifier

$date : string

  Date of absence

$entity_id : int

  Student identifier

$mobile_no : string|null

  Mobile number for SMS

$email : string|null

  Email address for mail delivery

$student_name : string

  Name of the absent student

#### sendToBirthdayReminder()

EventProcess.php : 94

Send birthday or work anniversary reminders to a user via multiple channels.

`public sendToBirthdayReminder(int $school_id, int $entity_id, string $date_of_birth, array<string|int, mixed> $data, string|null $mobile_no, string|null $mail, string $type) : void`

##### Parameters

$school_id : int

  School identifier

$entity_id : int

  User identifier

$date_of_birth : string

  Birth date for the user

$data : array<string|int, mixed>

  Payload passed to the reminder event

$mobile_no : string|null

  Mobile number for SMS

$mail : string|null

  Email address for mail delivery

$type : string

  Reminder type ('birthday' or 'work_anniversary')

#### sendToReminderEvent()

EventProcess.php : 25

Dispatch reminder events for an event across notification, SMS, and mail channels.

`public sendToReminderEvent(Events $events, string $executed_at, string $check) : void`

##### Parameters

$events : Events

  Event instance containing schedule info

$executed_at : string

  Date string used to schedule the reminder (Y-m-d)

$check : string

  Indicator for recurrence handling (e.g., 'next')

#### sendToSnoozeTask()

EventProcess.php : 303

Send snooze reminder for a task through notifications.

`public sendToSnoozeTask(int $school_id, string $date, string $title, int $entity_id, string|null $mail, string|null $mobile_no) : void`

##### Parameters

$school_id : int

  School identifier

$date : string

  Rescheduled reminder date

$title : string

  Task title

$entity_id : int

  Task identifier

$mail : string|null

  Email address for mail delivery

$mobile_no : string|null

  Mobile number for SMS

#### sendToSnoozeTaskWeb()

EventProcess.php : 333

Send web notification for snoozed tasks.

`public sendToSnoozeTaskWeb(int $school_id, string $date, string $title, int $entity_id, string|null $mail, string|null $mobile_no) : void`

##### Parameters

$school_id : int

  School identifier

$date : string

  Rescheduled reminder date

$title : string

  Task title

$entity_id : int

  Task identifier

$mail : string|null

  Email address for mail delivery

$mobile_no : string|null

  Mobile number for SMS

#### sendToTaskReminder()

EventProcess.php : 236

Dispatch task reminder to a user over notification, SMS, and email.

`public sendToTaskReminder(int $school_id, string $date, string $title, int $entity_id, string|null $mail, string|null $mobile_no) : void`

##### Parameters

$school_id : int

  School identifier

$date : string

  Date to execute reminder

$title : string

  Task title

$entity_id : int

  Task identifier

$mail : string|null

  Email address for mail delivery

$mobile_no : string|null

  Mobile number for SMS

#### snoozeTask()

TodolistProcess.php : 437
`public snoozeTask(mixed $data, mixed $auth_id, mixed $id) : mixed`

##### Parameters

$data : mixed
$auth_id : mixed
$id : mixed

#### userNotifyGroup()

EventProcess.php : 362

Notify users when added to a chat room via SMS and mail.

`public userNotifyGroup(int $school_id, int $entity_id, string|null $mobile_no, string|null $email, string $date) : void`

##### Parameters

$school_id : int

  School identifier

$entity_id : int

  Room link identifier

$mobile_no : string|null

  Mobile number for SMS

$email : string|null

  Email address for mail delivery

$date : string

  Notification execution date

## Search results