From 409f78bb86f9208bf42125360a4e094aef4b8771 Mon Sep 17 00:00:00 2001 From: Colin Kuskie Date: Mon, 25 Feb 2008 19:16:10 +0000 Subject: [PATCH] sideport new POD docs --- lib/WebGUI/Asset.pm | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/lib/WebGUI/Asset.pm b/lib/WebGUI/Asset.pm index 9d590073e..94d7dd2d9 100644 --- a/lib/WebGUI/Asset.pm +++ b/lib/WebGUI/Asset.pm @@ -651,6 +651,8 @@ sub fixUrl { Returns a reference to a list of properties (or specified property) of an Asset. +If C is omitted, it will return a safe copy of the entire property hash. + =head3 propertyName Any of the values associated with the properties of an Asset. Default choices are "title", "menutTitle", @@ -1317,7 +1319,10 @@ sub getUrl { =head2 getValue ( key ) -Returns the value of anything it can find with an index of key in the asset's properties, or else it returns undefined. +Tries to look up C in the asset object's property cache. If it can't find it in there, then it +tries to look it up in the definition sub for the asset. + +Unlike get, it will not return the whole property hash if you omit the key. =head3 key