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