From 2b4f4e8120e2a4d635566ceed7447bf51a5f6af4 Mon Sep 17 00:00:00 2001 From: JT Smith Date: Fri, 7 Sep 2007 17:59:18 +0000 Subject: [PATCH] API error - definition --- docs/changelog/7.x.x.txt | 1 + lib/WebGUI/Asset.pm | 6 +++++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/docs/changelog/7.x.x.txt b/docs/changelog/7.x.x.txt index e79022566..18679b911 100644 --- a/docs/changelog/7.x.x.txt +++ b/docs/changelog/7.x.x.txt @@ -7,6 +7,7 @@ accurately - fix: Inbox shows Next page link when is empty - fix: Change Owner in Security Tab in Assets is not always Working + - fix: API error - definition - All toolbar icons now have a class called "toolbarIcon" so they can be styled by external CSS. - Profile fields and categories and have confirmation boxes when deleting using the side menu diff --git a/lib/WebGUI/Asset.pm b/lib/WebGUI/Asset.pm index 99aef7ea7..cdf77ab11 100644 --- a/lib/WebGUI/Asset.pm +++ b/lib/WebGUI/Asset.pm @@ -299,10 +299,14 @@ sub checkView { #------------------------------------------------------------------- -=head2 definition ( [ definition ] ) +=head2 definition ( session, [ definition ] ) Basic definition of an Asset. Properties, default values. Returns an array reference containing tableName,className,properties +=head3 session + +The current session object. + =head3 definition An array reference containing additional information to include with the default definition.