This shows you the differences between two versions of the page.
en:public:developer:template_system:tags:promotion:tpromotions [2013/01/21 11:22] admin [Declared Members] |
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..) | | ||
===== Constructors ===== | ===== Constructors ===== | ||
- | ^ Name ^ Type ^ Description ^ | + | ^ Name ^ Type ^ Description ^ |
- | | <html><span style="color:#008000">Create</span></html> | Array of [[en:public:developer:template_system:tags:promotion:TPromotion]] | It's in this array that the list of all list of promotional boxes ([[en:public:developer:template_system:tags:promotion:TPromotion]] ) are stored | | + | | [[en:public:developer:template_system:tags:promotion:tpromotions:create]] | String | construct a TPromotions object | |
- | You can also create a TPromotions object 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 ===== | ||
- | ^ Name ^ Type ^ Description ^ | + | none |
- | | <html><span style="color:#008000">text</span></html> | Array of [[en:public:developer:template_system:tags:promotion:TPromotion]] | It's in this array that the list of all list of promotional boxes ([[en:public:developer:template_system:tags:promotion:TPromotion]] ) are stored | | + |