Fuel Notification Class
This class extends the Fuel_base_library class.
Properties Reference
Property | Default Value | Description |
---|---|---|
public | ||
to | none | The to address to send the notification |
from | none | The from address of the sender |
from_name | none | The from name of the sender |
subject | none | The subject line of the notification |
message | none | The message |
attachments |
array() |
Attachments |
use_dev_mode | 1 | Whether to use dev mode or not which means it will send to the dev_email address in the config |
mailtype | text |
Function Reference [+]
$this->fuel->notification->send([$params=array()])
Sends an email message.
Returns
boolean
Parameters
(array) $params Email preferences (optional)
$this->fuel->notification->data_message($data, ['$intro'=''])
Converts an array of data (e.g. $_POST) into a key value message format. Used for form submissions.
Returns
string
Parameters
(array) $data An array of data to humanize and turn into a message (string) $intro An intro message to place before the data (optional)
$this->fuel->notification->is_dev_mode()
Determines if the site is in dev mode and whether "use_dev_mode" is specified as TRUE on the object.
Returns
boolean