Page tree
Skip to end of metadata
Go to start of metadata


null notify(string $app_id, string $key_name, int $feed_id, int $user_id)

Push a notification to your user.



Your apps ID.


Unique key to connect your notification to your JSON Configuration.


Feed ID#.


User ID# of whom we should send the notification to.


Sample code to be placed in your start.php when notifying the user.

notify('Sample_App', 'my_update', 1, 2);


The 2nd argument, must be a unique $key_name, which should be associated in your app.json file 

	"id": "Sample_App",
	"notifications": {
   		"my_update": {
     		"message": "Howdy!",
	      	"url": "/url/:id",
      		"icon": "fa-video-camera"
  • No labels