The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

AxKit::App::TABOO::Data::Productsubtype - Product Sub Types Data objects for TABOO

SYNOPSIS

  use AxKit::App::TABOO::Data::Productsubtype;
  $size = AxKit::App::TABOO::Data::Productsubtype->new();
  $size->load(what => '*', limit => {prodsubid =>  'XXL'});

DESCRIPTION

The documentation for this class is not yet written. There isn't a lot of code in this class either, but in a webshop it plays the role of recording things like how many items you have in stock of a subtype of a product, for example a T-shirt size. With the inherited methods, it can actually perform this role in it's present form pretty much.

METHODS

This class implements only the constructor, the rest is inherited from AxKit::App::TABOO::Data.

new()

The constructor. Nothing special.

XML representation

The write_xml() method, implemented in the parent class, can be used to create an XML representation of the data in the object. The above names will be used as element names. The xmlelement() and xmlns() methods can be used to set the name of the root element and the namespace respectively. The defaults are

  • http://www.kjetil.kjernsmo.net/software/TABOO/NS/Productsubtypes/Output

  • subtype

FORMALITIES

See AxKit::App::TABOO.