Update the Asset skeleton so that it doesn't try to call

the International system with procedural calls.  Update
International pod to remove procedural calls as well.
This commit is contained in:
Colin Kuskie 2008-10-11 02:00:29 +00:00
parent 7563b92b3e
commit c5bd1b9bd8
3 changed files with 10 additions and 13 deletions

View file

@ -31,15 +31,7 @@ This package provides an interface to the internationalization system.
=head1 SYNOPSIS
use WebGUI::International;
$string = WebGUI::International::get($session,$internationalId,$namespace);
$hashRef = WebGUI::International::getLanguage($session,$lang);
$hashRef = WebGUI::International::getLanguages($session);
$url = WebGUI::International::makeUrlCompliant($session,$url);
This package can also be used in object-oriented (OO) style.
use WebGUI::International;
my $i = WebGUI::International->new($session,$namespace);
my $i = WebGUI::International->new($session, $namespace);
$string = $i->get($internationalId);
$string = $i->get($internationalId, $otherNamespace);