forms_base Class Reference

#include <forms_base.hpp>

Inherited by Affiliate_form, Affiliate_form, Color_form, Commission_Check_form, Composite_Query_form, Composite_Query_form, Customer_form, Customer_form, Customer_Payment_Parameter_form, Customer_Payment_Service_form, Designer_form, Document_form, Document_form, Font_form, global_content_form, group_services_form, group_services_form, group_services_Form, group_sites_Form, groups_form, groups_form, groups_Form, links_Form, Manufacturer_form, menu_form, menu_item_form, Order_Status_form, Ordered_form, Ordered_Item_form, Ordered_Item_Option_form, page_form, page_form, page_menu_form, paragraphs_form, paragraphs_form, paragraphs_form, Payment_Form, Payment_Form_Complete, Payment_Service_form, Payment_Type_Parameter_form, Product_Line_form, Promotion_form, Promotion_form, Proofing_form, Proofing_Text_Area_form, Query_form, Report_Conditioning_form, Report_form, Report_Parameters_form, Report_Parameters_form, Report_Parameters_form, Report_Templates_form, Report_Templates_form, Report_Type_form, Report_Type_form, richForm, role_services_form, role_services_form, roles_form, roles_form, roles_Form, Scheme_Field_form, Scheme_Table_form, Scheme_Table_form, services_Form, services_form, services_form, services_form, services_form, SignIn_form, site_form, Size_form, Size_Price_form, Style_form, template_form, Unit_form, users_form, users_form, users_form, users_form, users_Form, Work_form, and XXXX_Form.

Collaboration diagram for forms_base:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 forms_base (cgiScript &in)
virtual ~forms_base ()
cgiScriptScript (void)
virtual bool form_action (void)
virtual void form_id_transfer (void)=0
virtual void form_data_transfer (void)=0
virtual bool dbf_action (string mode, changeMap &changes)=0
virtual bool form_display (void)=0
bool getInstructions (void)
bool loadControlTemplates (string path)
cgiTemplatesgetTemplates (void)
virtual string makeTop (string uri, string name)
virtual string makeBottom (string status)
virtual string makeButtons (long long key, string iLabel="&nbsp;Insert&nbsp;", string uLabel="&nbsp;Update&nbsp;", string dLabel="&nbsp;Delete&nbsp;")
template<class valType>
string makeComboBox (string label, string name, valType value, string sql="", string defaulted="", string attributes="")
template<class valType>
string makeManualComboBox (string label, string name, valType value, ocString labelValuePair="", string defaulted="", string attributes="")
template<class valType>
string makeCheckBoxes (string label, string name, valType value, ocString labelValuePair="", string defaulted="", string attributes="")
template<class valType>
string makeRadios (string label, string name, valType value, ocString labelValuePair="", string defaulted="", string attributes="")
template<class valType>
string makeManualComboBox (string label, string name, valType value, const char **Values, size_t val_count, string defaulted="", string attributes="")
template<class valType>
string makeGenericBox (string label, string name, valType value, string attr, string size, string length="")
template<class valType>
string makeTextBox (string label, string name, valType value, string size, string length="")
template<class valType>
string makeHiddenBox (string name, valType value)
template<class valType>
string makeStaticBox (string label, string name, valType value, string size, string length="")
template<class valType>
string makeDateBox (string label, string name, valType value, string size)
template<class valType>
string makeTimeBox (string label, string name, valType value, string size)
template<class valType>
string makeNumberBox (string label, string name, valType value, string size)
template<class valType>
string makeShortBox (string label, string name, valType value, string size)
string makeEmailBox (string label, string name, string value, string size, string length="")
string makePasswordBox (string label, string name, string value, string size)
string makeZipBox (string label, string name, string value, string size)
string makePhoneBox (string label, string name, string value, string size)
string makeImageBox (string label, string name, string value, string size)
string makeFileBox (string label, string name, string value, string size)
string makeFileBox (string label, string name, string value, string size, string maxlen, string attr)
string makeMetaBox (string label, string name, string value, string size, string metaFile="", string context="")
string makeTextArea (string label, string name, string value, string rows="12", string cols="80")
string makeStateBox (string label, string name, string value)
string makeBoolBox (string label, string name, bool value)
string makeDateGroup (string label, string name, time_date &value, int yearStart=2004, int yearEnd=2020)
string & getMode (void)
string & keyName (void)

Protected Member Functions

void stringFXfer (string in, string &out)
void shortFXfer (string in, short &out)
void intFXfer (string in, int &out)
void unfmtLongFXfer (string in, long &out)
void longFXfer (string in, long &out)
void llongFXfer (string in, long long &out)
void doubleFXfer (string in, double &out)
void moneyFXfer (string in, money &out)
void boolFXfer (string in, bool &out)
void dateFXfer (string in, oc_date &out)
void dateFXfer (string in, time_date &out)
void timeFXfer (string in, oc_time &out)

Protected Attributes

cgiTemplates formTemplate
changeMap changes
string mode
string m_warn
string m_keyName
cgiScriptscript


Detailed Description

Definition at line 17 of file forms_base.hpp.


Constructor & Destructor Documentation

forms_base::forms_base ( cgiScript in  ) 

Definition at line 10 of file forms_base.cpp.

References getInstructions(), and m_warn.

forms_base::~forms_base (  )  [virtual]

Definition at line 16 of file forms_base.cpp.


Member Function Documentation

void forms_base::stringFXfer ( string  in,
string &  out 
) [protected]

Definition at line 101 of file forms_base.cpp.

References cgiEnvironment::ClientArguments(), cgiInput::count(), and script.

Referenced by users_Form::form_data_transfer(), services_Form::form_data_transfer(), roles_Form::form_data_transfer(), groups_Form::form_data_transfer(), XXXX_Form::form_data_transfer(), template_form::form_data_transfer(), site_form::form_data_transfer(), menu_form::form_data_transfer(), menu_item_form::form_data_transfer(), links_Form::form_data_transfer(), Unit_form::form_data_transfer(), Style_form::form_data_transfer(), Proofing_form::form_data_transfer(), Proofing_Text_Area_form::form_data_transfer(), Promotion_form::form_data_transfer(), Product_form::form_data_transfer(), Product_Line_form::form_data_transfer(), Product_Categories_form::form_data_transfer(), Payment_Type_Parameter_form::form_data_transfer(), Payment_Service_form::form_data_transfer(), Ordered_form::form_data_transfer(), Ordered_Item_form::form_data_transfer(), Ordered_Item_Option_form::form_data_transfer(), Order_Status_form::form_data_transfer(), Manufacturer_form::form_data_transfer(), Font_form::form_data_transfer(), Designer_form::form_data_transfer(), Customer_form::form_data_transfer(), Customer_Payment_Parameter_form::form_data_transfer(), Commission_Check_form::form_data_transfer(), Color_form::form_data_transfer(), Category_form::form_data_transfer(), Affiliate_form::form_data_transfer(), SignIn_form::form_data_transfer(), page_form::form_data_transfer(), global_content_form::form_data_transfer(), services_form::form_data_transfer(), roles_form::form_data_transfer(), role_services_form::form_data_transfer(), paragraph_form::form_data_transfer(), users_form::form_data_transfer(), groups_form::form_data_transfer(), group_services_Form::form_data_transfer(), group_services_form::form_data_transfer(), Document_form::form_data_transfer(), paragraphs_form::form_data_transfer(), Work_form::form_data_transfer(), Scheme_Table_form::form_data_transfer(), Scheme_Field_form::form_data_transfer(), Report_form::form_data_transfer(), Report_Type_form::form_data_transfer(), Report_Templates_form::form_data_transfer(), Report_Conditioning_form::form_data_transfer(), Query_form::form_data_transfer(), Composite_Query_form::form_data_transfer(), and Report_Parameters_form::form_data_transfer().

void forms_base::shortFXfer ( string  in,
short &  out 
) [protected]

void forms_base::intFXfer ( string  in,
int &  out 
) [protected]

void forms_base::unfmtLongFXfer ( string  in,
long &  out 
) [protected]

void forms_base::longFXfer ( string  in,
long &  out 
) [protected]

void forms_base::llongFXfer ( string  in,
long long &  out 
) [protected]

Definition at line 108 of file forms_base.cpp.

References cgiEnvironment::ClientArguments(), cgiInput::count(), and script.

Referenced by users_Form::form_data_transfer(), group_sites_Form::form_data_transfer(), XXXX_Form::form_data_transfer(), template_form::form_data_transfer(), page_menu_form::form_data_transfer(), menu_form::form_data_transfer(), menu_item_form::form_data_transfer(), links_Form::form_data_transfer(), Payment_Form_Complete::form_data_transfer(), Payment_Form::form_data_transfer(), Style_form::form_data_transfer(), Size_form::form_data_transfer(), Size_Price_form::form_data_transfer(), Proofing_form::form_data_transfer(), Proofing_Text_Area_form::form_data_transfer(), Product_form::form_data_transfer(), Product_Categories_form::form_data_transfer(), Payment_Type_Parameter_form::form_data_transfer(), Payment_Service_form::form_data_transfer(), Ordered_form::form_data_transfer(), Ordered_Item_form::form_data_transfer(), Ordered_Item_Option_form::form_data_transfer(), Designer_form::form_data_transfer(), Customer_form::form_data_transfer(), Customer_Payment_Service_form::form_data_transfer(), Customer_Payment_Parameter_form::form_data_transfer(), Commission_Check_form::form_data_transfer(), Affiliate_form::form_data_transfer(), page_form::form_data_transfer(), global_content_form::form_data_transfer(), users_form::form_data_transfer(), role_services_form::form_data_transfer(), paragraph_form::form_data_transfer(), group_services_Form::form_data_transfer(), group_services_form::form_data_transfer(), paragraphs_form::form_data_transfer(), Work_form::form_data_transfer(), Scheme_Field_form::form_data_transfer(), Report_form::form_data_transfer(), Report_Templates_form::form_data_transfer(), Report_Conditioning_form::form_data_transfer(), Report_Parameters_form::form_data_transfer(), users_Form::form_id_transfer(), services_Form::form_id_transfer(), roles_Form::form_id_transfer(), groups_Form::form_id_transfer(), group_sites_Form::form_id_transfer(), XXXX_Form::form_id_transfer(), template_form::form_id_transfer(), site_form::form_id_transfer(), page_menu_form::form_id_transfer(), menu_form::form_id_transfer(), menu_item_form::form_id_transfer(), links_Form::form_id_transfer(), Payment_Form_Complete::form_id_transfer(), Payment_Form::form_id_transfer(), Unit_form::form_id_transfer(), Style_form::form_id_transfer(), Size_form::form_id_transfer(), Size_Price_form::form_id_transfer(), Proofing_form::form_id_transfer(), Proofing_Text_Area_form::form_id_transfer(), Promotion_form::form_id_transfer(), Product_form::form_id_transfer(), Product_Line_form::form_id_transfer(), Product_Categories_form::form_id_transfer(), Payment_Type_Parameter_form::form_id_transfer(), Payment_Service_form::form_id_transfer(), Ordered_form::form_id_transfer(), Ordered_Item_form::form_id_transfer(), Ordered_Item_Option_form::form_id_transfer(), Order_Status_form::form_id_transfer(), Manufacturer_form::form_id_transfer(), Font_form::form_id_transfer(), Designer_form::form_id_transfer(), Customer_form::form_id_transfer(), Customer_Payment_Service_form::form_id_transfer(), Customer_Payment_Parameter_form::form_id_transfer(), Commission_Check_form::form_id_transfer(), Color_form::form_id_transfer(), Category_form::form_id_transfer(), Affiliate_form::form_id_transfer(), page_form::form_id_transfer(), global_content_form::form_id_transfer(), services_form::form_id_transfer(), roles_form::form_id_transfer(), role_services_form::form_id_transfer(), paragraph_form::form_id_transfer(), users_form::form_id_transfer(), groups_form::form_id_transfer(), group_services_Form::form_id_transfer(), group_services_form::form_id_transfer(), Document_form::form_id_transfer(), paragraphs_form::form_id_transfer(), Work_form::form_id_transfer(), Scheme_Table_form::form_id_transfer(), Scheme_Field_form::form_id_transfer(), Report_form::form_id_transfer(), Report_Type_form::form_id_transfer(), Report_Templates_form::form_id_transfer(), Report_Conditioning_form::form_id_transfer(), Query_form::form_id_transfer(), Composite_Query_form::form_id_transfer(), and Report_Parameters_form::form_id_transfer().

void forms_base::doubleFXfer ( string  in,
double &  out 
) [protected]

void forms_base::moneyFXfer ( string  in,
money out 
) [protected]

void forms_base::boolFXfer ( string  in,
bool &  out 
) [protected]

void forms_base::dateFXfer ( string  in,
oc_date out 
) [protected]

void forms_base::dateFXfer ( string  in,
time_date out 
) [protected]

void forms_base::timeFXfer ( string  in,
oc_time out 
) [protected]

cgiScript& forms_base::Script ( void   )  [inline]

Definition at line 45 of file forms_base.hpp.

References script.

bool forms_base::form_action ( void   )  [virtual]

virtual void forms_base::form_id_transfer ( void   )  [pure virtual]

Implemented in Report_Parameters_form, Composite_Query_form, Composite_Query_form, Query_form, Report_Conditioning_form, Report_Parameters_form, Report_Parameters_form, Report_Templates_form, Report_Templates_form, Report_Type_form, Report_Type_form, Report_form, Scheme_Field_form, Scheme_Table_form, Scheme_Table_form, Work_form, paragraphs_form, Document_form, group_services_form, groups_form, users_form, paragraph_form, role_services_form, roles_form, services_form, services_form, users_form, paragraphs_form, paragraphs_form, Document_form, global_content_form, global_content_form, group_services_form, groups_form, users_form, page_form, paragraph_form, role_services_form, roles_form, services_form, services_form, SignIn_form, users_form, Affiliate_form, Category_form, Color_form, Commission_Check_form, Customer_Payment_Parameter_form, Customer_Payment_Service_form, Customer_form, Designer_form, Font_form, Manufacturer_form, Order_Status_form, Ordered_Item_Option_form, Ordered_Item_form, Ordered_form, Payment_Service_form, Payment_Type_Parameter_form, Product_Categories_form, Product_Line_form, Product_form, Promotion_form, Proofing_Text_Area_form, Proofing_form, Size_Price_form, Size_form, Style_form, Unit_form, Affiliate_form, Customer_form, Payment_Form, Payment_Form_Complete, Promotion_form, global_content_form, links_Form, menu_item_form, menu_form, page_menu_form, page_form, paragraph_form, site_form, template_form, XXXX_Form, group_services_Form, group_sites_Form, groups_Form, roles_Form, services_Form, and users_Form.

Referenced by form_action().

virtual void forms_base::form_data_transfer ( void   )  [pure virtual]

Implemented in Report_Parameters_form, Composite_Query_form, Composite_Query_form, Query_form, Report_Conditioning_form, Report_Parameters_form, Report_Parameters_form, Report_Templates_form, Report_Templates_form, Report_Type_form, Report_Type_form, Report_form, Scheme_Field_form, Scheme_Table_form, Scheme_Table_form, Work_form, paragraphs_form, Document_form, group_services_form, groups_form, users_form, paragraph_form, role_services_form, roles_form, services_form, services_form, users_form, paragraphs_form, paragraphs_form, Document_form, global_content_form, global_content_form, group_services_form, groups_form, users_form, page_form, paragraph_form, role_services_form, roles_form, services_form, services_form, SignIn_form, users_form, Affiliate_form, Category_form, Color_form, Commission_Check_form, Customer_Payment_Parameter_form, Customer_Payment_Service_form, Customer_form, Designer_form, Font_form, Manufacturer_form, Order_Status_form, Ordered_Item_Option_form, Ordered_Item_form, Ordered_form, Payment_Service_form, Payment_Type_Parameter_form, Product_Categories_form, Product_Line_form, Product_form, Promotion_form, Proofing_Text_Area_form, Proofing_form, Size_Price_form, Size_form, Style_form, Unit_form, Affiliate_form, Customer_form, Payment_Form, Payment_Form_Complete, Promotion_form, global_content_form, links_Form, menu_item_form, menu_form, page_menu_form, page_form, paragraph_form, site_form, template_form, XXXX_Form, group_services_Form, group_sites_Form, groups_Form, roles_Form, services_Form, and users_Form.

Referenced by form_action().

virtual bool forms_base::dbf_action ( string  mode,
changeMap changes 
) [pure virtual]

Implemented in Report_Parameters_form, Composite_Query_form, Composite_Query_form, Query_form, Report_Conditioning_form, Report_Parameters_form, Report_Parameters_form, Report_Templates_form, Report_Templates_form, Report_Type_form, Report_Type_form, Report_form, Scheme_Field_form, Scheme_Table_form, Scheme_Table_form, Work_form, paragraphs_form, Document_form, group_services_form, groups_form, users_form, paragraph_form, role_services_form, roles_form, services_form, services_form, users_form, paragraphs_form, paragraphs_form, Document_form, global_content_form, global_content_form, group_services_form, groups_form, users_form, page_form, paragraph_form, role_services_form, roles_form, services_form, services_form, SignIn_form, users_form, Affiliate_form, Category_form, Color_form, Commission_Check_form, Customer_Payment_Parameter_form, Customer_Payment_Service_form, Customer_form, Designer_form, Font_form, Manufacturer_form, Order_Status_form, Ordered_Item_Option_form, Ordered_Item_form, Ordered_form, Payment_Service_form, Payment_Type_Parameter_form, Product_Categories_form, Product_Line_form, Product_form, Promotion_form, Proofing_Text_Area_form, Proofing_form, Size_Price_form, Size_form, Style_form, Unit_form, Affiliate_form, Customer_form, Payment_Form, Payment_Form_Complete, Promotion_form, global_content_form, links_Form, menu_item_form, menu_form, page_menu_form, page_form, paragraph_form, site_form, template_form, XXXX_Form, group_services_Form, group_sites_Form, groups_Form, roles_Form, services_Form, and users_Form.

Referenced by form_action().

virtual bool forms_base::form_display ( void   )  [pure virtual]

Implemented in Report_Parameters_form, Composite_Query_form, Composite_Query_form, Query_form, Report_Conditioning_form, Report_Parameters_form, Report_Parameters_form, Report_Templates_form, Report_Templates_form, Report_Type_form, Report_Type_form, Report_form, Scheme_Field_form, Scheme_Table_form, Scheme_Table_form, Work_form, paragraphs_form, Document_form, group_services_form, groups_form, users_form, paragraph_form, role_services_form, roles_form, services_form, services_form, users_form, paragraphs_form, paragraphs_form, Document_form, global_content_form, global_content_form, group_services_form, groups_form, users_form, page_form, paragraph_form, role_services_form, roles_form, services_form, services_form, SignIn_form, users_form, Affiliate_form, Category_form, Color_form, Commission_Check_form, Customer_Payment_Parameter_form, Customer_Payment_Service_form, Customer_form, Designer_form, Font_form, Manufacturer_form, Order_Status_form, Ordered_Item_Option_form, Ordered_Item_form, Ordered_form, Payment_Service_form, Payment_Type_Parameter_form, Product_Categories_form, Product_Line_form, Product_form, Promotion_form, Proofing_Text_Area_form, Proofing_form, Size_Price_form, Size_form, Style_form, Unit_form, Affiliate_form, Customer_form, Payment_Form, Payment_Form_Complete, Promotion_form, global_content_form, links_Form, menu_item_form, menu_form, page_menu_form, page_form, paragraph_form, site_form, template_form, XXXX_Form, group_services_Form, group_sites_Form, groups_Form, roles_Form, services_Form, and users_Form.

bool forms_base::getInstructions ( void   ) 

bool forms_base::loadControlTemplates ( string  path  ) 

cgiTemplates& forms_base::getTemplates ( void   )  [inline]

Definition at line 61 of file forms_base.hpp.

References formTemplate.

string forms_base::makeTop ( string  uri,
string  name 
) [virtual]

Reimplemented in Customer_form, and Payment_Form.

Definition at line 88 of file forms_base.cpp.

References formTemplate, cgiTemplates::getParagraph(), and ocString::replace().

Referenced by users_Form::form_display(), services_Form::form_display(), roles_Form::form_display(), groups_Form::form_display(), group_sites_Form::form_display(), XXXX_Form::form_display(), template_form::form_display(), site_form::form_display(), page_menu_form::form_display(), menu_form::form_display(), menu_item_form::form_display(), links_Form::form_display(), Unit_form::form_display(), Style_form::form_display(), Size_form::form_display(), Size_Price_form::form_display(), Proofing_form::form_display(), Proofing_Text_Area_form::form_display(), Promotion_form::form_display(), Product_form::form_display(), Product_Line_form::form_display(), Product_Categories_form::form_display(), Payment_Type_Parameter_form::form_display(), Payment_Service_form::form_display(), Ordered_form::form_display(), Ordered_Item_form::form_display(), Ordered_Item_Option_form::form_display(), Order_Status_form::form_display(), Manufacturer_form::form_display(), Font_form::form_display(), Designer_form::form_display(), Customer_Payment_Service_form::form_display(), Customer_Payment_Parameter_form::form_display(), Commission_Check_form::form_display(), Color_form::form_display(), Category_form::form_display(), Affiliate_form::form_display(), SignIn_form::form_display(), page_form::form_display(), global_content_form::form_display(), services_form::form_display(), roles_form::form_display(), role_services_form::form_display(), paragraph_form::form_display(), users_form::form_display(), groups_form::form_display(), group_services_Form::form_display(), group_services_form::form_display(), Document_form::form_display(), paragraphs_form::form_display(), Work_form::form_display(), Scheme_Table_form::form_display(), Scheme_Field_form::form_display(), Report_form::form_display(), Report_Type_form::form_display(), Report_Templates_form::form_display(), Report_Conditioning_form::form_display(), Query_form::form_display(), Composite_Query_form::form_display(), and Report_Parameters_form::form_display().

string forms_base::makeBottom ( string  status  )  [virtual]

Definition at line 93 of file forms_base.cpp.

References formTemplate, cgiTemplates::getParagraph(), m_warn, and ocString::replace().

Referenced by authMain(), users_Form::form_display(), services_Form::form_display(), roles_Form::form_display(), groups_Form::form_display(), group_sites_Form::form_display(), XXXX_Form::form_display(), template_form::form_display(), site_form::form_display(), page_menu_form::form_display(), menu_form::form_display(), menu_item_form::form_display(), links_Form::form_display(), Unit_form::form_display(), Style_form::form_display(), Size_form::form_display(), Size_Price_form::form_display(), Proofing_form::form_display(), Proofing_Text_Area_form::form_display(), Promotion_form::form_display(), Product_form::form_display(), Product_Line_form::form_display(), Product_Categories_form::form_display(), Payment_Type_Parameter_form::form_display(), Payment_Service_form::form_display(), Ordered_form::form_display(), Ordered_Item_form::form_display(), Ordered_Item_Option_form::form_display(), Order_Status_form::form_display(), Manufacturer_form::form_display(), Font_form::form_display(), Designer_form::form_display(), Customer_form::form_display(), Customer_Payment_Service_form::form_display(), Customer_Payment_Parameter_form::form_display(), Commission_Check_form::form_display(), Color_form::form_display(), Category_form::form_display(), Affiliate_form::form_display(), page_form::form_display(), global_content_form::form_display(), services_form::form_display(), roles_form::form_display(), role_services_form::form_display(), paragraph_form::form_display(), users_form::form_display(), groups_form::form_display(), group_services_Form::form_display(), group_services_form::form_display(), Document_form::form_display(), paragraphs_form::form_display(), Work_form::form_display(), Scheme_Table_form::form_display(), Scheme_Field_form::form_display(), Report_form::form_display(), Report_Type_form::form_display(), Report_Templates_form::form_display(), Report_Conditioning_form::form_display(), Query_form::form_display(), Composite_Query_form::form_display(), and Report_Parameters_form::form_display().

string forms_base::makeButtons ( long long  key,
string  iLabel = "&nbsp;Insert&nbsp;",
string  uLabel = "&nbsp;Update&nbsp;",
string  dLabel = "&nbsp;Delete&nbsp;" 
) [virtual]

Definition at line 80 of file forms_base.cpp.

References formButtons(), formTemplate, cgiTemplates::getParagraph(), and ocString::replace().

Referenced by users_Form::form_display(), services_Form::form_display(), roles_Form::form_display(), groups_Form::form_display(), group_sites_Form::form_display(), XXXX_Form::form_display(), template_form::form_display(), site_form::form_display(), page_menu_form::form_display(), menu_form::form_display(), menu_item_form::form_display(), links_Form::form_display(), Unit_form::form_display(), Style_form::form_display(), Size_form::form_display(), Size_Price_form::form_display(), Proofing_form::form_display(), Proofing_Text_Area_form::form_display(), Promotion_form::form_display(), Product_form::form_display(), Product_Line_form::form_display(), Product_Categories_form::form_display(), Payment_Type_Parameter_form::form_display(), Payment_Service_form::form_display(), Ordered_form::form_display(), Ordered_Item_form::form_display(), Ordered_Item_Option_form::form_display(), Order_Status_form::form_display(), Manufacturer_form::form_display(), Font_form::form_display(), Designer_form::form_display(), Customer_form::form_display(), Customer_Payment_Service_form::form_display(), Customer_Payment_Parameter_form::form_display(), Color_form::form_display(), Category_form::form_display(), Affiliate_form::form_display(), page_form::form_display(), global_content_form::form_display(), services_form::form_display(), roles_form::form_display(), role_services_form::form_display(), paragraph_form::form_display(), users_form::form_display(), groups_form::form_display(), group_services_Form::form_display(), group_services_form::form_display(), paragraphs_form::form_display(), Work_form::form_display(), Scheme_Table_form::form_display(), Scheme_Field_form::form_display(), Report_form::form_display(), Report_Type_form::form_display(), Report_Templates_form::form_display(), Report_Parameters_form::form_display(), Report_Conditioning_form::form_display(), Query_form::form_display(), and Composite_Query_form::form_display().

template<class valType>
string forms_base::makeComboBox ( string  label,
string  name,
valType  value,
string  sql = "",
string  defaulted = "",
string  attributes = "" 
) [inline]

Definition at line 75 of file forms_base.hpp.

References ocString::append(), attributes, cmboEntry(), formTemplate, ocSelect::getHtml(), cgiTemplates::getParagraph(), ocString::replace(), and ocBase::setContent().

Referenced by users_Form::form_display(), roles_Form::form_display(), groups_Form::form_display(), group_sites_Form::form_display(), XXXX_Form::form_display(), template_form::form_display(), page_menu_form::form_display(), menu_form::form_display(), menu_item_form::form_display(), Payment_Form::form_display(), Style_form::form_display(), Size_form::form_display(), Size_Price_form::form_display(), Proofing_form::form_display(), Product_form::form_display(), Product_Categories_form::form_display(), Payment_Type_Parameter_form::form_display(), Payment_Service_form::form_display(), Ordered_form::form_display(), Ordered_Item_form::form_display(), Ordered_Item_Option_form::form_display(), Designer_form::form_display(), Customer_form::form_display(), Customer_Payment_Service_form::form_display(), Customer_Payment_Parameter_form::form_display(), Affiliate_form::form_display(), page_form::form_display(), global_content_form::form_display(), role_services_form::form_display(), paragraph_form::form_display(), users_form::form_display(), groups_form::form_display(), group_services_Form::form_display(), group_services_form::form_display(), paragraphs_form::form_display(), Work_form::form_display(), Scheme_Field_form::form_display(), Report_form::form_display(), Report_Templates_form::form_display(), Report_Parameters_form::form_display(), Report_Conditioning_form::form_display(), and Report_Parameters::uiGroup().

template<class valType>
string forms_base::makeManualComboBox ( string  label,
string  name,
valType  value,
ocString  labelValuePair = "",
string  defaulted = "",
string  attributes = "" 
) [inline]

template<class valType>
string forms_base::makeCheckBoxes ( string  label,
string  name,
valType  value,
ocString  labelValuePair = "",
string  defaulted = "",
string  attributes = "" 
) [inline]

template<class valType>
string forms_base::makeRadios ( string  label,
string  name,
valType  value,
ocString  labelValuePair = "",
string  defaulted = "",
string  attributes = "" 
) [inline]

template<class valType>
string forms_base::makeManualComboBox ( string  label,
string  name,
valType  value,
const char **  Values,
size_t  val_count,
string  defaulted = "",
string  attributes = "" 
) [inline]

template<class valType>
string forms_base::makeGenericBox ( string  label,
string  name,
valType  value,
string  attr,
string  size,
string  length = "" 
) [inline]

template<class valType>
string forms_base::makeTextBox ( string  label,
string  name,
valType  value,
string  size,
string  length = "" 
) [inline]

Definition at line 191 of file forms_base.hpp.

References ocString::append(), formTemplate, ocTextbox::getHtml(), cgiTemplates::getParagraph(), ocString::replace(), ocBase::setContent(), and textEntry().

Referenced by users_Form::form_display(), services_Form::form_display(), roles_Form::form_display(), groups_Form::form_display(), XXXX_Form::form_display(), template_form::form_display(), site_form::form_display(), page_menu_form::form_display(), menu_form::form_display(), menu_item_form::form_display(), links_Form::form_display(), Unit_form::form_display(), Style_form::form_display(), Size_form::form_display(), Size_Price_form::form_display(), Proofing_Text_Area_form::form_display(), Promotion_form::form_display(), Product_form::form_display(), Product_Line_form::form_display(), Product_Categories_form::form_display(), Payment_Type_Parameter_form::form_display(), Payment_Service_form::form_display(), Ordered_form::form_display(), Ordered_Item_form::form_display(), Ordered_Item_Option_form::form_display(), Order_Status_form::form_display(), Manufacturer_form::form_display(), Font_form::form_display(), Designer_form::form_display(), Customer_form::form_display(), Customer_Payment_Parameter_form::form_display(), Commission_Check_form::form_display(), Color_form::form_display(), Category_form::form_display(), Affiliate_form::form_display(), page_form::form_display(), global_content_form::form_display(), services_form::form_display(), roles_form::form_display(), paragraph_form::form_display(), users_form::form_display(), groups_form::form_display(), group_services_Form::form_display(), group_services_form::form_display(), Document_form::form_display(), paragraphs_form::form_display(), Work_form::form_display(), Scheme_Table_form::form_display(), Scheme_Field_form::form_display(), Report_form::form_display(), Report_Type_form::form_display(), Report_Templates_form::form_display(), Report_Parameters_form::form_display(), Report_Conditioning_form::form_display(), Query_form::form_display(), Composite_Query_form::form_display(), and Report_Parameters::uiGroup().

template<class valType>
string forms_base::makeHiddenBox ( string  name,
valType  value 
) [inline]

template<class valType>
string forms_base::makeStaticBox ( string  label,
string  name,
valType  value,
string  size,
string  length = "" 
) [inline]

Definition at line 227 of file forms_base.hpp.

References ocString::append(), formTemplate, ocTextbox::getHtml(), cgiTemplates::getParagraph(), ocString::replace(), ocBase::setContent(), and staticEntry().

Referenced by users_Form::form_display(), services_Form::form_display(), roles_Form::form_display(), groups_Form::form_display(), group_sites_Form::form_display(), XXXX_Form::form_display(), template_form::form_display(), site_form::form_display(), page_menu_form::form_display(), menu_form::form_display(), menu_item_form::form_display(), links_Form::form_display(), Unit_form::form_display(), Style_form::form_display(), Size_form::form_display(), Size_Price_form::form_display(), Proofing_form::form_display(), Proofing_Text_Area_form::form_display(), Promotion_form::form_display(), Product_form::form_display(), Product_Line_form::form_display(), Product_Categories_form::form_display(), Payment_Type_Parameter_form::form_display(), Payment_Service_form::form_display(), Ordered_form::form_display(), Ordered_Item_form::form_display(), Ordered_Item_Option_form::form_display(), Order_Status_form::form_display(), Manufacturer_form::form_display(), Font_form::form_display(), Designer_form::form_display(), Customer_form::form_display(), Customer_Payment_Service_form::form_display(), Customer_Payment_Parameter_form::form_display(), Commission_Check_form::form_display(), Color_form::form_display(), Category_form::form_display(), Affiliate_form::form_display(), page_form::form_display(), global_content_form::form_display(), services_form::form_display(), roles_form::form_display(), role_services_form::form_display(), paragraph_form::form_display(), users_form::form_display(), groups_form::form_display(), group_services_Form::form_display(), group_services_form::form_display(), Document_form::form_display(), paragraphs_form::form_display(), Work_form::form_display(), Scheme_Table_form::form_display(), Scheme_Field_form::form_display(), Report_form::form_display(), Report_Type_form::form_display(), Report_Templates_form::form_display(), Report_Parameters_form::form_display(), Query_form::form_display(), and Composite_Query_form::form_display().

template<class valType>
string forms_base::makeDateBox ( string  label,
string  name,
valType  value,
string  size 
) [inline]

template<class valType>
string forms_base::makeTimeBox ( string  label,
string  name,
valType  value,
string  size 
) [inline]

template<class valType>
string forms_base::makeNumberBox ( string  label,
string  name,
valType  value,
string  size 
) [inline]

template<class valType>
string forms_base::makeShortBox ( string  label,
string  name,
valType  value,
string  size 
) [inline]

string forms_base::makeEmailBox ( string  label,
string  name,
string  value,
string  size,
string  length = "" 
)

string forms_base::makePasswordBox ( string  label,
string  name,
string  value,
string  size 
)

string forms_base::makeZipBox ( string  label,
string  name,
string  value,
string  size 
)

string forms_base::makePhoneBox ( string  label,
string  name,
string  value,
string  size 
)

string forms_base::makeImageBox ( string  label,
string  name,
string  value,
string  size 
)

string forms_base::makeFileBox ( string  label,
string  name,
string  value,
string  size 
)

string forms_base::makeFileBox ( string  label,
string  name,
string  value,
string  size,
string  maxlen,
string  attr 
)

string forms_base::makeMetaBox ( string  label,
string  name,
string  value,
string  size,
string  metaFile = "",
string  context = "" 
)

string forms_base::makeTextArea ( string  label,
string  name,
string  value,
string  rows = "12",
string  cols = "80" 
)

string forms_base::makeStateBox ( string  label,
string  name,
string  value 
)

string forms_base::makeBoolBox ( string  label,
string  name,
bool  value 
)

string forms_base::makeDateGroup ( string  label,
string  name,
time_date value,
int  yearStart = 2004,
int  yearEnd = 2020 
)

string& forms_base::getMode ( void   )  [inline]

Definition at line 368 of file forms_base.hpp.

References mode.

Referenced by main(), and virtualCheckout::paymentForm().

string& forms_base::keyName ( void   )  [inline]

Definition at line 372 of file forms_base.hpp.

References m_keyName.


Member Data Documentation

Definition at line 20 of file forms_base.hpp.

Referenced by Report_Parameters_form::filterList(), page_menu_form::form_display(), menu_form::form_display(), menu_item_form::form_display(), links_Form::form_display(), Unit_form::form_display(), Style_form::form_display(), Size_form::form_display(), Size_Price_form::form_display(), Proofing_form::form_display(), Proofing_Text_Area_form::form_display(), Promotion_form::form_display(), Product_form::form_display(), Product_Line_form::form_display(), Product_Categories_form::form_display(), Payment_Type_Parameter_form::form_display(), Payment_Service_form::form_display(), Ordered_form::form_display(), Ordered_Item_Option_form::form_display(), Order_Status_form::form_display(), Manufacturer_form::form_display(), Designer_form::form_display(), Customer_form::form_display(), Commission_Check_form::form_display(), Color_form::form_display(), Category_form::form_display(), Affiliate_form::form_display(), page_form::form_display(), global_content_form::form_display(), services_form::form_display(), roles_form::form_display(), role_services_form::form_display(), paragraph_form::form_display(), users_form::form_display(), groups_form::form_display(), group_services_form::form_display(), Document_form::form_display(), paragraphs_form::form_display(), Work_form::form_display(), Scheme_Table_form::form_display(), Scheme_Field_form::form_display(), Report_form::form_display(), Report_Type_form::form_display(), Report_Templates_form::form_display(), Report_Parameters_form::form_display(), Query_form::form_display(), Composite_Query_form::form_display(), getTemplates(), loadControlTemplates(), makeBoolBox(), makeBottom(), Payment_Form::makeButtonedBottom(), Customer_form::makeButtonedBottom(), makeButtons(), makeCheckBoxes(), makeComboBox(), makeDateBox(), makeDateGroup(), makeEmailBox(), makeFileBox(), makeGenericBox(), makeImageBox(), makeManualComboBox(), makeMetaBox(), makeNumberBox(), makePasswordBox(), makePhoneBox(), makeRadios(), richForm::makeRichEntry(), makeShortBox(), makeStateBox(), makeStaticBox(), makeTextArea(), makeTextBox(), makeTimeBox(), makeTop(), Payment_Form::makeTop(), Customer_form::makeTop(), makeZipBox(), Payment_Form::paymentSetupElement(), Ordered_form::showCustomer(), and Payment_Form::titledSep().

string forms_base::mode [protected]

Definition at line 22 of file forms_base.hpp.

Referenced by form_action(), getInstructions(), and getMode().

string forms_base::m_warn [protected]

Definition at line 23 of file forms_base.hpp.

Referenced by forms_base(), and makeBottom().

string forms_base::m_keyName [protected]

Definition at line 24 of file forms_base.hpp.

Referenced by keyName().

Definition at line 25 of file forms_base.hpp.

Referenced by menu_item_form::addPageParagraphMenuItems(), Payment_Form_Complete::addUserElement(), boolFXfer(), dateFXfer(), doubleFXfer(), Report_Parameters_form::filterList(), users_Form::form_display(), services_Form::form_display(), roles_Form::form_display(), groups_Form::form_display(), group_sites_Form::form_display(), XXXX_Form::form_display(), template_form::form_display(), site_form::form_display(), page_menu_form::form_display(), menu_form::form_display(), menu_item_form::form_display(), links_Form::form_display(), Payment_Form::form_display(), Unit_form::form_display(), Style_form::form_display(), Size_form::form_display(), Size_Price_form::form_display(), Proofing_form::form_display(), Proofing_Text_Area_form::form_display(), Promotion_form::form_display(), Product_form::form_display(), Product_Line_form::form_display(), Product_Categories_form::form_display(), Payment_Type_Parameter_form::form_display(), Payment_Service_form::form_display(), Ordered_form::form_display(), Ordered_Item_form::form_display(), Ordered_Item_Option_form::form_display(), Order_Status_form::form_display(), Manufacturer_form::form_display(), Font_form::form_display(), Designer_form::form_display(), Customer_form::form_display(), Customer_Payment_Service_form::form_display(), Customer_Payment_Parameter_form::form_display(), Commission_Check_form::form_display(), Color_form::form_display(), Category_form::form_display(), Affiliate_form::form_display(), SignIn_form::form_display(), global_content_form::form_display(), services_form::form_display(), roles_form::form_display(), role_services_form::form_display(), paragraph_form::form_display(), users_form::form_display(), groups_form::form_display(), group_services_Form::form_display(), group_services_form::form_display(), Document_form::form_display(), paragraphs_form::form_display(), Work_form::form_display(), Scheme_Table_form::form_display(), Scheme_Field_form::form_display(), Report_form::form_display(), Report_Type_form::form_display(), Report_Templates_form::form_display(), Report_Conditioning_form::form_display(), Query_form::form_display(), Composite_Query_form::form_display(), Report_Parameters_form::form_display(), Report_Parameters_form::get(), getInstructions(), intFXfer(), llongFXfer(), longFXfer(), moneyFXfer(), Report_Parameters_form::paramFilters(), Payment_Form::paymentSetupElement(), Script(), shortFXfer(), Ordered_form::showCustomer(), Ordered_form::showProof(), stringFXfer(), timeFXfer(), and unfmtLongFXfer().


The documentation for this class was generated from the following files:

Generated on Sat Aug 15 12:48:19 2009 for w3systemsDevelopment by  doxygen 1.5.5