#include <prod_control.hpp>


Public Member Functions | |
| virtualStore () | |
| ~virtualStore () | |
| void | setArgs (cgiScript &script) |
| bool | baseCategoryFixup (cgiScript &script) |
| void | showCategories (cgiScript &script, ocString &mitem) |
| void | showProducts (page &pg, cgiScript &script, ocString &prodTemplate, ocString listTemplate, ocString &prodListWrap, string contentTag, ocString headingTemplate) |
| void | showDesigner (cgiScript &script) |
| void | showProduct (cgiScript &script, ocString &prodTemplate) |
| void | showProducts (page &pg, cgiScript &script, ocString &listTemplate, ocString &prodListWrap, ocString &prodHeading) |
| void | putForm (page &pg, cgiScript &script, string &PID, int LinesOfText, bool Designer) |
Public Attributes | |
| double | discount |
| bool | freeShipping |
Protected Attributes | |
| string | c |
| string | p |
| identifier | crtid |
| ocString | sql |
Definition at line 24 of file prod_control.hpp.
| virtualStore::virtualStore | ( | ) | [inline] |
Definition at line 36 of file prod_control.hpp.
| virtualStore::~virtualStore | ( | ) | [inline] |
Definition at line 41 of file prod_control.hpp.
| void virtualStore::setArgs | ( | cgiScript & | script | ) | [inline] |
Definition at line 45 of file prod_control.hpp.
References c, cgiEnvironment::ClientArguments(), cgiInput::count(), crtid, and p.
Referenced by baseCategoryFixup(), and showProducts().
| bool virtualStore::baseCategoryFixup | ( | cgiScript & | script | ) | [inline] |
Definition at line 63 of file prod_control.hpp.
References baseUrl, c, aString::c_str(), openRS::close(), basicField::format(), openRS::getField(), aString::length(), openRS::open(), p, cgiEnvironment::PathInfo(), cgiEnvironment::QueryString(), read_base::rs, setArgs(), and sql.
Referenced by index_functor::baseCategoryFixup(), and detail_functor::detail_functor().
Definition at line 88 of file prod_control.hpp.
References ocString::append(), c, openRS::close(), Category_Obj::Display_Level, Category_Obj::Display_Order, basicField::format(), read_write_base::get_data(), openRS::getField(), read_write_base::key(), openRS::next(), openRS::open(), ocString::replace(), read_base::rs, and sql.
Referenced by index_functor::operator()().
| void virtualStore::showProducts | ( | page & | pg, | |
| cgiScript & | script, | |||
| ocString & | prodTemplate, | |||
| ocString | listTemplate, | |||
| ocString & | prodListWrap, | |||
| string | contentTag, | |||
| ocString | headingTemplate | |||
| ) | [inline] |
Definition at line 135 of file prod_control.hpp.
References c, page::emitContent(), p, setArgs(), and showProduct().
Referenced by detail_functor::operator()().
| void virtualStore::showDesigner | ( | cgiScript & | script | ) | [inline] |
Definition at line 155 of file prod_control.hpp.
References ocString::append(), cgiEnvironment::ClientArguments(), openRS::close(), basicField::format(), read_write_base::get_data(), openRS::getField(), cgiTemplates::getParagraph(), read_write_base::key(), cgiTemplates::load(), Style_Obj::Manufacturer_Design_No, openRS::next(), openRS::open(), ocString::replace(), ocString::replaceAll(), read_base::rs, sql, Size_Price_Obj::X, and Size_Price_Obj::Y.
Referenced by showProduct().
New for coupons
Definition at line 281 of file prod_control.hpp.
References money::amount(), openRS::close(), crtid, ItemDetail::CustomText(), discount, money::format(), basicField::format(), freeShipping, read_write_base::get_data(), openRS::getField(), read_write_base::key(), xmlParser::nodeList(), openRS::open(), ItemDetail::Orientation(), p, ocGenericParser::parse(), ItemDetail::Price(), ocString::replace(), ocString::replaceAll(), read_base::rs, ItemDetail::Shipping(), showDesigner(), sql, ItemDetail::strCount(), ItemDetail::strSize(), ItemDetail::StyleImage(), ItemDetail::Total(), and ShoppingCart::XML.
Referenced by showProducts().
| void virtualStore::showProducts | ( | page & | pg, | |
| cgiScript & | script, | |||
| ocString & | listTemplate, | |||
| ocString & | prodListWrap, | |||
| ocString & | prodHeading | |||
| ) | [inline] |
Definition at line 371 of file prod_control.hpp.
References c, basicField::format(), openRS::getField(), openRS::next(), openRS::open(), putForm(), ocString::replace(), ocString::replaceAll(), read_base::rs, and sql.
| void virtualStore::putForm | ( | page & | pg, | |
| cgiScript & | script, | |||
| string & | PID, | |||
| int | LinesOfText, | |||
| bool | Designer | |||
| ) | [inline] |
Definition at line 421 of file prod_control.hpp.
References ocString::append(), check(), openRS::close(), money::format(), basicField::format(), page::get_template(), quickQuery::getData(), openRS::getField(), cgiTemplates::getParagraphs(), openRS::next(), openRS::open(), quickQuery::opened, ocString::replace(), ocString::replaceAll(), and read_base::rs.
Referenced by showProducts().
string virtualStore::c [protected] |
Definition at line 28 of file prod_control.hpp.
Referenced by baseCategoryFixup(), setArgs(), showCategories(), and showProducts().
string virtualStore::p [protected] |
Definition at line 28 of file prod_control.hpp.
Referenced by baseCategoryFixup(), setArgs(), showProduct(), and showProducts().
identifier virtualStore::crtid [protected] |
ocString virtualStore::sql [protected] |
Definition at line 30 of file prod_control.hpp.
Referenced by baseCategoryFixup(), showCategories(), showDesigner(), showProduct(), and showProducts().
| double virtualStore::discount |
Definition at line 33 of file prod_control.hpp.
Referenced by detail_functor::detail_functor(), and showProduct().
Definition at line 34 of file prod_control.hpp.
Referenced by detail_functor::detail_functor(), and showProduct().
1.5.5