From fa15f92b688077e0cb8f3ef558c8949f695b7416 Mon Sep 17 00:00:00 2001 From: Colin Kuskie Date: Tue, 31 Mar 2009 03:20:57 +0000 Subject: [PATCH] Fix POD for User.pm Add POD for HTML.pm --- lib/WebGUI/HTML.pm | 12 ++++++++++++ lib/WebGUI/User.pm | 5 +++-- 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/lib/WebGUI/HTML.pm b/lib/WebGUI/HTML.pm index e05100cb0..e8f875c66 100644 --- a/lib/WebGUI/HTML.pm +++ b/lib/WebGUI/HTML.pm @@ -442,6 +442,18 @@ sub splitTag { return @result if wantarray; return $result[0]; } +#------------------------------------------------------------------- + +=head2 WebGUI::HTML::splitHeadBody($html); + +splits an block of HTML into a HEAD and a BODY section + +=head3 html + +The block of HTML text that will be disected + +=cut + sub splitHeadBody { my $html = shift; diff --git a/lib/WebGUI/User.pm b/lib/WebGUI/User.pm index e822544ba..3385b7284 100644 --- a/lib/WebGUI/User.pm +++ b/lib/WebGUI/User.pm @@ -997,11 +997,12 @@ sub session { =head2 setProfileFieldPrivacySetting ( settings ) -Sets the profile field privacy settings +Sets the profile field privacy settings. This updates the the db and +the internally cached settings. Valid settings are "all", "none" or "friends". =head3 settings -hash ref containing the field and it's corresponding privacy setting +Hash ref containing fields and their corresponding privacy settings =cut