Menu

## SendMessageProcess

SendMessageProcess.php : 23

##### Tags

class

  trait Trait for SendMessageProcess Processes

### Table of Contents

#### Methods

selectSendMessage() : void
  Send or schedule a message to a parent with push notification support.

### Methods

#### selectSendMessage()

SendMessageProcess.php : 36

Send or schedule a message to a parent with push notification support.

`public selectSendMessage(object $data, int $school_id, string $admin_email, User $parent, User $admin, User $student) : void`

##### Parameters

$data : object

  Request payload containing subject, message, and optional execution time

$school_id : int

  School identifier

$admin_email : string

  Sender email address

$parent : User

  Parent user receiving the message

$admin : User

  Admin user performing the action

$student : User

  Student associated with the parent

## Search results