change aspect to define
This commit is contained in:
parent
57484beb66
commit
20ee527dbd
68 changed files with 218 additions and 218 deletions
|
|
@ -18,9 +18,9 @@ use strict;
|
|||
use Tie::IxHash;
|
||||
use WebGUI::Definition::Asset;
|
||||
extends 'WebGUI::Asset::Sku';
|
||||
aspect assetName => ['assetName', 'Asset_WikiMaster'];
|
||||
aspect icon => 'adsku.gif';
|
||||
aspect tableName => 'AdSku';
|
||||
define assetName => ['assetName', 'Asset_WikiMaster'];
|
||||
define icon => 'adsku.gif';
|
||||
define tableName => 'AdSku';
|
||||
|
||||
property purchaseTemplate => (
|
||||
tab => "display",
|
||||
|
|
|
|||
|
|
@ -19,9 +19,9 @@ use Tie::IxHash;
|
|||
|
||||
use WebGUI::Definition::Asset;
|
||||
extends 'WebGUI::Asset::Sku';
|
||||
aspect assetName => ['assetName', 'Asset_Donation'];
|
||||
aspect icon => 'Donation.gif';
|
||||
aspect tableName => 'donation';
|
||||
define assetName => ['assetName', 'Asset_Donation'];
|
||||
define icon => 'Donation.gif';
|
||||
define tableName => 'donation';
|
||||
property templateId => (
|
||||
tab => "display",
|
||||
fieldType => "template",
|
||||
|
|
|
|||
|
|
@ -17,9 +17,9 @@ package WebGUI::Asset::Sku::EMSBadge;
|
|||
use strict;
|
||||
use WebGUI::Definition::Asset;
|
||||
extends 'WebGUI::Asset::Sku';
|
||||
aspect assetName => ['ems badge', 'Asset_EMSBadge'];
|
||||
aspect icon => 'EMSBadge.gif';
|
||||
aspect tableName => 'EMSBadge';
|
||||
define assetName => ['ems badge', 'Asset_EMSBadge'];
|
||||
define icon => 'EMSBadge.gif';
|
||||
define tableName => 'EMSBadge';
|
||||
property price => (
|
||||
tab => "shop",
|
||||
fieldType => "float",
|
||||
|
|
|
|||
|
|
@ -17,9 +17,9 @@ package WebGUI::Asset::Sku::EMSRibbon;
|
|||
use strict;
|
||||
use WebGUI::Definition::Asset;
|
||||
extends 'WebGUI::Asset::Sku';
|
||||
aspect assetName => ['ems ribbon', 'Asset_EMSRibbon'];
|
||||
aspect icon => 'EMSRibbon.gif';
|
||||
aspect tableName => 'EMSRibbon';
|
||||
define assetName => ['ems ribbon', 'Asset_EMSRibbon'];
|
||||
define icon => 'EMSRibbon.gif';
|
||||
define tableName => 'EMSRibbon';
|
||||
property price => (
|
||||
tab => "shop",
|
||||
fieldType => "float",
|
||||
|
|
|
|||
|
|
@ -17,9 +17,9 @@ package WebGUI::Asset::Sku::EMSTicket;
|
|||
use strict;
|
||||
use WebGUI::Definition::Asset;
|
||||
extends 'WebGUI::Asset::Sku';
|
||||
aspect assetName => ['ems ticket', 'Asset_EMSTicket'];
|
||||
aspect icon => 'EMSTicket.gif';
|
||||
aspect tableName => 'EMSTicket';
|
||||
define assetName => ['ems ticket', 'Asset_EMSTicket'];
|
||||
define icon => 'EMSTicket.gif';
|
||||
define tableName => 'EMSTicket';
|
||||
property price => (
|
||||
tab => "shop",
|
||||
fieldType => "float",
|
||||
|
|
|
|||
|
|
@ -17,9 +17,9 @@ package WebGUI::Asset::Sku::EMSToken;
|
|||
use strict;
|
||||
use WebGUI::Definition::Asset;
|
||||
extends 'WebGUI::Asset::Sku';
|
||||
aspect assetName => ['ems token', 'Asset_EMSToken'];
|
||||
aspect icon => 'EMSToken.gif';
|
||||
aspect tableName => 'EMSToken';
|
||||
define assetName => ['ems token', 'Asset_EMSToken'];
|
||||
define icon => 'EMSToken.gif';
|
||||
define tableName => 'EMSToken';
|
||||
property price => (
|
||||
tab => "shop",
|
||||
fieldType => "float",
|
||||
|
|
|
|||
|
|
@ -18,9 +18,9 @@ use strict;
|
|||
use Tie::IxHash;
|
||||
use WebGUI::Definition::Asset;
|
||||
extends 'WebGUI::Asset::Sku';
|
||||
aspect assetName => ['assetName', 'Asset_FlatDiscount'];
|
||||
aspect icon => 'FlatDiscount.gif';
|
||||
aspect tableName => 'FlatDiscount';
|
||||
define assetName => ['assetName', 'Asset_FlatDiscount'];
|
||||
define icon => 'FlatDiscount.gif';
|
||||
define tableName => 'FlatDiscount';
|
||||
property templateId => (
|
||||
tab => "display",
|
||||
fieldType => "template",
|
||||
|
|
|
|||
|
|
@ -22,9 +22,9 @@ use JSON;
|
|||
use WebGUI::Definition::Asset;
|
||||
extends 'WebGUI::Asset::Sku';
|
||||
|
||||
aspect assetName => ['assetName', 'Asset_Product'];
|
||||
aspect icon => 'product.gif';
|
||||
aspect tableName => 'Product';
|
||||
define assetName => ['assetName', 'Asset_Product'];
|
||||
define icon => 'product.gif';
|
||||
define tableName => 'Product';
|
||||
|
||||
property cacheTimeout => (
|
||||
tab => "display",
|
||||
|
|
|
|||
|
|
@ -18,9 +18,9 @@ use strict;
|
|||
use Tie::IxHash;
|
||||
use WebGUI::Definition::Asset;
|
||||
extends 'WebGUI::Asset::Sku';
|
||||
aspect assetName => ['assetName', 'Asset_Subscription'];
|
||||
aspect icon => 'subscription.gif';
|
||||
aspect tableName => 'Subscription';
|
||||
define assetName => ['assetName', 'Asset_Subscription'];
|
||||
define icon => 'subscription.gif';
|
||||
define tableName => 'Subscription';
|
||||
property templateId => (
|
||||
tab => "display",
|
||||
fieldType => "template",
|
||||
|
|
|
|||
|
|
@ -18,9 +18,9 @@ use strict;
|
|||
use Tie::IxHash;
|
||||
use WebGUI::Definition::Asset;
|
||||
extends 'WebGUI::Asset::Sku';
|
||||
aspect assetName => ['assetName', 'Asset_ThingyRecord'];
|
||||
aspect icon => 'thingyRecord.gif';
|
||||
aspect tableName => 'ThingyRecord';
|
||||
define assetName => ['assetName', 'Asset_ThingyRecord'];
|
||||
define icon => 'thingyRecord.gif';
|
||||
define tableName => 'ThingyRecord';
|
||||
property templateIdView => (
|
||||
tab => "display",
|
||||
fieldType => "template",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue