migrating asset.pm

This commit is contained in:
JT Smith 2009-10-21 17:28:46 -05:00
parent 6be6aee8c1
commit f7db5d58aa
2 changed files with 10 additions and 81 deletions

View file

@ -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.