ok

Mini Shell

Direktori : /proc/thread-self/root/proc/self/root/home2/selectio/www/y1jobportal.in/admin/api/config/
Upload File :
Current File : //proc/thread-self/root/proc/self/root/home2/selectio/www/y1jobportal.in/admin/api/config/push.php

<?php 

class Push {
    //notification title
    private $title;

    //notification message 
    private $message;

    //notification image url 
    private $image;
    
    //type of notification ex: default / category / product 
    private $type;
    
    //ID of the type ex: category_id / product_id 
    private $id;

    //initializing values in this constructor
    function __construct($title, $message, $image,$type,$id) {
        $this->title = $title;
        $this->message = $message;
        $this->image = $image;
        $this->type = $type;
        $this->id = $id; 
    }
    
    //getting the push notification
    public function getPush() {
        $res = array();
        $res['data']['title'] = $this->title;
        $res['data']['message'] = $this->message;
        $res['data']['image'] = $this->image;
        $res['data']['type'] = $this->type;
        $res['data']['id'] = $this->id;
        return $res;
    }
 
}

Zerion Mini Shell 1.0