This shows you the differences between two versions of the page.
en:public:developer:template_system:tags:promotion:tpromotions [2013/01/21 16:04] admin [Constructors] |
en:public:developer:template_system:tags:promotion:tpromotions [2013/02/24 20:43] (current) admin [Properties] |
||
---|---|---|---|
Line 5: | Line 5: | ||
{{:en:public:promotionalboxes.jpg?600|}} | {{:en:public:promotionalboxes.jpg?600|}} | ||
- | ===== Declared Members ===== | + | ===== Properties ===== |
^ Name ^ Type ^ Description ^ | ^ Name ^ Type ^ Description ^ | ||
- | | <html><span style="color:#008000">Items</span></html> | Array of [[en:public:developer:template_system:tags:promotion:TPromotion]] | the list of all promotional boxes ([[en:public:developer:template_system:tags:promotion:TPromotion]] ) | | + | | <html><span style="color:#008000">Items</span></html> | Array of [[en:public:developer:template_system:tags:promotion:TPromotion]] | the list of all promotional boxes ([[en:public:developer:template_system:tags:promotion:TPromotion]] ) Note: Items is the **default property** of TPromotions objects. The items identifier can be omitted when accessing the Items property. For example, the following two lines of code are both acceptable and do the same thing: \\ * Promotions.Items[0] \\ * Promotions[0] | |
| <html><span style="color:#008000">Count</span></html> | Integer | The number of promotional boxes stored in Items | | | <html><span style="color:#008000">Count</span></html> | Integer | The number of promotional boxes stored in Items | | ||
| <html><span style="color:#008000">Name</span></html> | String | The name of the space (Left, Top, Bottom, etc..) | | | <html><span style="color:#008000">Name</span></html> | String | The name of the space (Left, Top, Bottom, etc..) | | ||
+ | |||
===== Constructors ===== | ===== Constructors ===== | ||
Line 17: | Line 18: | ||
You can also create a TPromotions object (That will be named **Promotions**) via a call to | You can also create a TPromotions object (That will be named **Promotions**) via a call to | ||
- | <#[[en:public:developer:template_system:tags:promotion:promotions]]> | + | <#[[en:public:developer:template_system:tags:promotion:tpromotions:create|promotions]]> |
===== Functions ===== | ===== Functions ===== | ||
none | none |