migrating asset.pm
This commit is contained in:
parent
6be6aee8c1
commit
f7db5d58aa
2 changed files with 10 additions and 81 deletions
|
|
@ -35,6 +35,8 @@ You must migrate your asset to use the new WebGUI::Definition::Asset class inste
|
|||
|
||||
7) The properties attribute must be an array reference of properties. No more Tie::IxHash.
|
||||
|
||||
8) The autoGenerateForms has been removed. All edit forms are autogenerated in WebGUI 8.
|
||||
|
||||
Here's an example.
|
||||
|
||||
use WebGUI::Definition::Asset (
|
||||
|
|
@ -69,4 +71,6 @@ assetDbProperties - Simply instantiate the asset if you want it's properties.
|
|||
|
||||
assetExists - Simply instantiate the asset if you want to know if it exists.
|
||||
|
||||
getValue - Use get() or the individual property accessors instead.
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue