ZMObject
└─ZMBanner
public class ZMBanner
extends ZMObject
| Fields inherited from org.zenmagick.core\ZMObject | |
|---|---|
| properties_ | |
| Method Summary | |
|---|---|
| void | Create new instance. |
| int | getId() Get the banner id. |
| string | getImage() Get the banner image. |
| string | getText() Get the banner text. |
| string | getTitle() Get the banner title. |
| string | getUrl() Get the banner URL. |
| boolean | isActive() Check if the banner is active. |
| boolean | isNewWin() Check if the banner click should open a new window. |
| void | setActive(boolean status) Set the banner status. |
| void | setId(int id) Set the banner id. |
| void | setImage(string image) Set the banner image. |
| void | setNewWin(boolean newWin) Set if the banner click should open a new window. |
| void | setText(string text) Set the banner text. |
| void | setTitle(string title) Set the banner title. |
| void | setUrl(string url) Set the banner URL. |
| Methods inherited from org.zenmagick.core\ZMObject | |
|---|---|
| __construct, attachMethod, get, getAttachedMethods, getProperties, getPropertyNames, set, singleton | |
public void __construct()
Create new instance.
public int getId()
Get the banner id.
public string getImage()
Get the banner image.
public string getText()
Get the banner text.
public string getTitle()
Get the banner title.
public string getUrl()
Get the banner URL.
public boolean isActive()
Check if the banner is active.
true if the banner is active.public boolean isNewWin()
Check if the banner click should open a new window.
true if the banner URL should be opened in a new window, false if not.public void setActive(boolean status)
Set the banner status.
public void setId(int id)
Set the banner id.
public void setImage(string image)
Set the banner image.
public void setNewWin(boolean newWin)
Set if the banner click should open a new window.
true if the banner URL should be opened in a new window, false if not.public void setText(string text)
Set the banner text.
public void setTitle(string title)
Set the banner title.
public void setUrl(string url)
Set the banner URL.
A single banner.