add uiLevel asset attribute. Begin to work on write.
This commit is contained in:
parent
bfccc1fa6f
commit
0627d7adbf
4 changed files with 76 additions and 75 deletions
|
|
@ -55,7 +55,7 @@ sub property_meta {
|
|||
return 'WebGUI::Definition::Meta::Property::Asset';
|
||||
}
|
||||
|
||||
has [ qw{tableName icon assetName} ] => (
|
||||
has [ qw{tableName icon assetName uiLevel} ] => (
|
||||
is => 'rw',
|
||||
);
|
||||
|
||||
|
|
@ -88,6 +88,15 @@ The second is the i18n namespace to find the asset's name.
|
|||
|
||||
#-------------------------------------------------------------------
|
||||
|
||||
=head2 uiLevel ( )
|
||||
|
||||
An integer, representing how difficult the Asset will be to use. The default uiLevel is
|
||||
1. uiLevels for an asset can be overridden in the config file for each site.
|
||||
|
||||
=cut
|
||||
|
||||
#-------------------------------------------------------------------
|
||||
|
||||
=head2 get_tables ( )
|
||||
|
||||
Returns an array of the names of all tables in every class used by
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue