Created notification object.

This commit is contained in:
Pierre 2018-02-17 11:25:24 +01:00
parent 4bb1a2426e
commit b502f68bc5

View File

@ -39,6 +39,7 @@ class Notification {
private $from_container_id;
private $from_container_type;
/**
* Set notification id
*
@ -201,4 +202,22 @@ class Notification {
public function get_from_container_id() : int {
return $this->from_container_id;
}
/**
* Set notification target element type
*
* @param string $elem_type The type of the target element type
*/
public function set_from_container_type(string $from_container_type){
$this->from_container_type = $from_container_type;
}
/**
* Get notification target element type
*
* @return string The from_container_type of the notification
*/
public function get_from_container_type() : string {
return $this->from_container_type;
}
}