Skip to content

icms_data_notification_Object

Raimondas Rimkevičius edited this page Mar 9, 2020 · 1 revision
Notice: Wiki was automatic generated from project sources as project API documentation. Do not edit manually!

icms_data_notification_Object

A Notification

  • Class name: icms_data_notification_Object
  • Namespace:
  • Parent class: icms_ipf_Object

Properties

not_id

public int not_id

Notification ID

  • Visibility: public

not_modid

public int not_modid

Module ID linked with this notification

  • Visibility: public

not_category

public string not_category

Category

  • Visibility: public

not_itemid

public int not_itemid

Item ID linked with this notification

  • Visibility: public

not_event

public string not_event

Notification event

  • Visibility: public

not_uid

public int not_uid

User ID who receives this notification

  • Visibility: public

not_mode

public int not_mode

How this notification should be received?

  • Visibility: public

Methods

__construct

mixed icms_data_notification_Object::__construct(mixed handler, mixed data)

Constructor

  • Visibility: public

Arguments

  • handler mixed
  • data mixed

notifyUser

bool icms_data_notification_Object::notifyUser(string template_dir, string template, string subject, array tags)

Send a notification message to the user

  • Visibility: public

Arguments

  • template_dir string - <p>Template directory</p>
  • template string - <p>Template name</p>
  • subject string - <p>Subject line for notification message</p>
  • tags array - <p>Array of substitutions for template variables</p>
Clone this wiki locally