Implement multiple inheritance in Help, allowing variables, fields and related

topics to be inherited from multiple entries.  Operation/Help now also gives
the help hash a default ISA array, to make downstream processing by tests and
documentation compilers easier.
Convert existing Help entries that already used ISA to have an array ref
instead of a singular hash ref.  Also update the Help skeleton to show
the new syntax.
This commit is contained in:
Colin Kuskie 2006-05-31 04:16:40 +00:00
parent d7450926be
commit b4597e50e5
14 changed files with 105 additions and 39 deletions

View file

@ -5,10 +5,12 @@ our $HELP = {
'folder add/edit' => {
title => 'folder add/edit title',
body => 'folder add/edit body',
isa => {
namespace => "Asset_Wobject",
tag => "wobject add/edit"
isa => [
{
namespace => "Asset_Wobject",
tag => "wobject add/edit",
},
],
fields => [
{
title => 'visitor cache timeout',
@ -33,10 +35,16 @@ our $HELP = {
'folder template' => {
title => 'folder template title',
body => 'folder template body',
isa => {
namespace => "Asset_Wobject",
tag => "wobject template"
isa => [
{
namespace => "Asset_Wobject",
tag => "wobject template"
},
{
namespace => "Asset",
tag => "asset template",
},
],
fields => [ ],
variables => [
{