update POD for OO only interface
This commit is contained in:
parent
35c4ad353d
commit
5fadc70eac
1 changed files with 6 additions and 12 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue