update POD for OO only interface

This commit is contained in:
Colin Kuskie 2006-01-16 22:38:28 +00:00
parent 35c4ad353d
commit 5fadc70eac

View file

@ -29,15 +29,9 @@ This package provides an interface to the internationalization system.
=head1 SYNOPSIS
use WebGUI::International;
$string = WebGUI::International::get($internationalId,$namespace);
$hashRef = WebGUI::International::getLanguage($lang);
$hashRef = WebGUI::International::getLanguages();
$url = WebGUI::International::makeUrlCompliant($url);
This package can also be used in object-oriented (OO) style.
use WebGUI::International;
my $i = WebGUI::International->new($namespace);
my $i = WebGUI::International->new($session, $namespace);
$hashRef = $i->getLanguage($lang);
$hashRef = $i->getLanguages();
$string = $i->get($internationalId);
$url = $i->makeUrlCompliant($url);
@ -187,9 +181,9 @@ sub makeUrlCompliant {
=head2 new ( session, [ namespace, language ] )
The constructor for the International function if using it in OO mode. Note
that namespace and languages are defaults; they may be overridden in
all accessor methods, (get, getLanguage).
The constructor for the International function if using it in OO mode.
Note that namespace and languages are defaults; they may be overridden
in all accessor methods, (get, getLanguage).
=head3 session