Advertisement
Extends:
AdvertisementModel → Advertisement
this class was deprecated.
Helper class representing advertisement. Typically use {@link AdvertisementService#get}
Example:
import { advertisementService, Advertisement } from 'clinical6';
// Typically use AdvertisementService.get()
advertisementService.get().then(ads => console.log(ads));
// These can be manually created using this class
let advertisement = new Advertisement{{
action: 1,
action_object: null,
content_id: 1,
id: 1,
title: 'name',
description: 'Demo Content Information',
image: {
image: {
url: '/uploads/test/cms/advertisement/image/1/1.png'
main: {
url: '/uploads/test/cms/advertisement/image/1/galaxy_s3_1.png'
}
}
}
tags: []
});
Inherited Summary
From class AdvertisementModel | ||
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|