a ton of $session fixes (thanks to Colin), and a new $session checker, that supposedly, shouldn't be needed now. It can be backed out, however, easily.
This commit is contained in:
parent
5fadc70eac
commit
09483e18c5
208 changed files with 505 additions and 533 deletions
|
|
@ -9,15 +9,15 @@ Package WebGUI::Commerce::Item
|
|||
This is the SUPER class off all Item plugins. Item plugins are an abstraction layer to connect
|
||||
arbitrary types of products and other stuff you might want to sell to the commerce system.
|
||||
|
||||
The SUPER class new method provides an easy way to load Item plugins: WebGUI::Item->new('1234', 'MyItem')
|
||||
is equivalent to WebGUI::Item::MyItem->new('1234'). The SUPER class new has the benefit of added
|
||||
The SUPER class new method provides an easy way to load Item plugins: WebGUI::Item->new($self->session,'1234', 'MyItem')
|
||||
is equivalent to WebGUI::Item::MyItem->new($self->session,'1234'). The SUPER class new has the benefit of added
|
||||
error checking, so you should use this.
|
||||
|
||||
|
||||
=head1 SYNOPSIS
|
||||
|
||||
use WebGUI::Item;
|
||||
$item = WebGUI::Item->new($itemId, $itemType);
|
||||
$item = WebGUI::Item->new($self->session,$itemId, $itemType);
|
||||
|
||||
$description = $item->description;
|
||||
$duration = $item->duration;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue