Since: 1.0
Inheritance: extends Windwalker\DataMapper\DataMapper
Ejemplo n.º 1
0
 /**
  * removeNotification
  *
  * @param   string  $type
  * @param   int     $targetId
  * @param   int     $userId
  *
  * @return  bool
  */
 public static function removeNotification($type, $targetId, $userId)
 {
     $mapper = new NotificationMapper();
     return $mapper->delete(['type' => $type, 'target_id' => $targetId, 'user_id' => $userId]);
 }