asset variables and ISA relationships for Product

This commit is contained in:
Colin Kuskie 2007-01-16 21:36:45 +00:00
parent 693aa8461f
commit 1ab53b33bf
2 changed files with 131 additions and 5 deletions

View file

@ -6,8 +6,8 @@ our $HELP = {
body => '39',
isa => [
{
namespace => "Asset_Wobject",
tag => "wobject add/edit"
namespace => 'Asset_Wobject',
tag => 'wobject add/edit'
},
],
fields => [
@ -94,6 +94,7 @@ our $HELP = {
}
]
},
'product feature add/edit' => {
title => '40',
body => '41',
@ -120,6 +121,7 @@ our $HELP = {
}
]
},
'product specification add/edit' => {
title => '42',
body => '43',
@ -152,6 +154,7 @@ our $HELP = {
}
]
},
'product accessory add/edit' => {
title => '44',
body => '45',
@ -174,6 +177,7 @@ our $HELP = {
}
]
},
'product related add/edit' => {
title => '46',
body => '47',
@ -196,6 +200,7 @@ our $HELP = {
}
]
},
'product benefit add/edit' => {
title => '49',
body => '50',
@ -222,9 +227,24 @@ our $HELP = {
}
]
},
'product template' => {
title => '62',
body => '63',
isa => [
{
namespace => 'Asset_Product',
tag => 'product asset template variables'
},
{
namespace => 'Asset_Template',
tag => 'template variables'
},
{
namespace => 'Asset',
tag => 'asset template'
},
],
fields => [
],
variables => [
@ -376,10 +396,54 @@ our $HELP = {
tag => 'product add/edit',
namespace => 'Asset_Product'
},
]
},
'product asset template variables' => {
title => 'product asset template variables title',
body => 'product asset template variables body',
isa => [
{
tag => 'wobject template',
namespace => 'Asset_Wobject'
}
namespace => 'Asset_Wobject',
tag => 'wobject template variables'
},
],
fields => [
],
variables => [
{
'name' => 'cacheTimeout'
},
{
'name' => 'templateId'
},
{
'name' => 'price'
},
{
'name' => 'image1'
},
{
'name' => 'image2'
},
{
'name' => 'image3'
},
{
'name' => 'brochure'
},
{
'name' => 'manual'
},
{
'name' => 'warranty'
},
],
related => [
{
tag => 'article add/edit',
namespace => 'Asset_Article'
},
]
},
};

View file

@ -647,6 +647,68 @@ our $I18N = {
lastUpdated => 1031514049
},
'product asset template variables title' => {
message => q|Product Asset Template Variables|,
lastUpdated => 1164841146
},
'product asset template variables body' => {
message => q|Every asset provides a set of variables to most of its
templates based on the internal asset properties. Some of these variables may
be useful, others may not.|,
lastUpdated => 1164841201
},
'cacheTimeout' => {
message => q|The amount of time in seconds output from this Asset will be cached.|,
lastUpdated => 1164841201
},
'templateId' => {
message => q|The ID of the template that will be used to display this Asset.|,
lastUpdated => 1164841201
},
'price' => {
message => q|The price of this Product.|,
lastUpdated => 1164841201
},
'productNumber' => {
message => q|The product number, SKU, ISBN, or other identifier for this product.|,
lastUpdated => 1164841201
},
'image1' => {
message => q|The unique identifier for the storage object for the first image.|,
lastUpdated => 1164841201
},
'image2' => {
message => q|The unique identifier for the storage object for the second image.|,
lastUpdated => 1164841201
},
'image3' => {
message => q|The unique identifier for the storage object for the third image.|,
lastUpdated => 1164841201
},
'brochure' => {
message => q|The unique identifier for the storage object for a product brochure .|,
lastUpdated => 1164841201
},
'manual' => {
message => q|The unique identifier for the storage object for a product manual.|,
lastUpdated => 1164841201
},
'warranty' => {
message => q|The unique identifier for the storage object for a product warranty.|,
lastUpdated => 1164841201
},
};
1;