#include <page.hpp>


Public Member Functions | |
| page (cgiScript &in) | |
| virtual | ~page () |
| string | getLoadResult (void) |
| virtual bool | load (void) |
| void | addGlobalContent (string tag, ocString &part) |
| virtual bool | emitTop (void) |
| virtual bool | emitSpacer (string name) |
| virtual bool | emitEnd (void) |
| virtual bool | emitMenu (string startTag, string endTag, string boundStart="", string boundEnd="") |
| virtual bool | emitContent (string contentTags, string replaceTag) |
| long long | id (void) |
| long long | site_id (void) |
| long long | template_id (void) |
| string | name (void) |
| string | url (void) |
| string | meta_description (void) |
| string | loaded_control_string (void) |
| string | paragraph_string (string name) |
| page_paragraphs & | get_page_paragraphs (void) |
| page_template & | get_template (void) |
| void | id (long long in) |
| void | site_id (long long in) |
| void | template_id (long long in) |
| void | name (string in) |
| void | url (string in) |
| void | meta_description (string in) |
| cgiScript & | get_script (void) |
| page_menus & | get_menus (void) |
| page (cgiScript &in) | |
| virtual | ~page () |
| string | getLoadResult (void) |
| virtual bool | load (void) |
| void | addGlobalContent (string tag, ocString &part) |
| virtual string | getTop (void) |
| virtual string | getSpacer (string name) |
| virtual string | getEnd (void) |
| virtual bool | emitMenu (string name, string startTag, string endTag, string boundStart="", string boundEnd="") |
| virtual bool | emitContent (string contentTags, string replaceTag, string section="") |
| long long | id (void) |
| long long | site_id (void) |
| long long | template_id (void) |
| string | name (void) |
| string | url (void) |
| string | meta_description (void) |
| string | loaded_control_string (void) |
| string | paragraph_string (string name) |
| page_paragraphs & | get_page_paragraphs (void) |
| page_template & | get_template (void) |
| void | id (long long in) |
| void | site_id (long long in) |
| void | template_id (long long in) |
| void | name (string in) |
| void | url (string in) |
| void | meta_description (string in) |
| cgiScript & | get_script (void) |
| page_menus & | get_menus (void) |
| page () | |
| virtual bool | uvalidate (changeMap &changes) |
| bool | usupplemental (changeMap &changes) |
| bool | isupplemental (void) |
| void | deletePageMenus (void) |
| void | deletePageParagraphs (void) |
| void | createPageMenus (void) |
| virtual bool | dsupplemental (void) |
| page (cgiScript &in) | |
| virtual | ~page () |
| string | getLoadResult (void) |
| virtual bool | load (void) |
| void | addGlobalContent (string tag, ocString &part) |
| virtual bool | emitTop (void) |
| virtual bool | emitSpacer (string name) |
| virtual bool | emitEnd (void) |
| virtual bool | emitMenu (string startTag, string endTag, string boundStart="", string boundEnd="") |
| virtual bool | emitContent (string contentTags, string replaceTag) |
| long long | id (void) |
| long long | site_id (void) |
| long long | template_id (void) |
| string | name (void) |
| string | url (void) |
| string | meta_description (void) |
| string | loaded_control_string (void) |
| string | paragraph_string (string name) |
| page_paragraphs & | get_page_paragraphs (void) |
| page_template & | get_template (void) |
| void | id (long long in) |
| void | site_id (long long in) |
| void | template_id (long long in) |
| void | name (string in) |
| void | url (string in) |
| void | meta_description (string in) |
| cgiScript & | get_script (void) |
| page_menus & | get_menus (void) |
| page () | |
| virtual bool | uvalidate (changeMap &changes) |
| bool | usupplemental (changeMap &changes) |
| bool | isupplemental (void) |
| void | deletePageMenus (void) |
| void | deletePageParagraphs (void) |
| void | createPageMenus (void) |
| virtual bool | dsupplemental (void) |
Public Attributes | |
| string | editIcon |
| identifier | id |
| long long | site_id |
| long long | template_id |
| string | name |
| string | url |
| string | meta_description |
Protected Member Functions | |
| string | getSql (string url, string domain) |
| void | propset (void) |
| string | getSql (string url, string domain) |
| void | propset (void) |
| string | getSql (string url, string domain) |
| void | propset (void) |
Protected Attributes | |
| long long | m_id |
| long long | m_site_id |
| long long | m_template_id |
| string | m_name |
| string | m_url |
| string | m_meta_description |
| string | sql |
| bool | defaultPage |
| cgiScript & | script |
| page_template | pg_template |
| page_menus | pg_menus |
| page_paragraphs | pg_paragraphs |
| global_contents | m_global_contents |
| ocString | loadResults |
| cgiScript & | script |
| cgiScript & | script |
Definition at line 114 of file page.hpp.
| page::page | ( | ) | [inline] |
Definition at line 61 of file page_obj.hpp.
References read_write_base::addDXMap(), read_write_base::data_name(), meta_description(), name(), site_id(), template_id(), and url().
| page::page | ( | ) | [inline] |
Definition at line 55 of file page.hpp.
References read_write_base::addDXMap(), read_write_base::data_name(), meta_description(), name(), site_id(), template_id(), and url().
| string page::getSql | ( | string | url, | |
| string | domain | |||
| ) | [inline, protected] |
| void page::propset | ( | void | ) | [inline, protected] |
Definition at line 135 of file page.hpp.
References basicField::format(), openRS::getField(), m_id, m_meta_description, m_name, m_site_id, m_template_id, m_url, and read_base::rs.
Referenced by load().
| string page::getLoadResult | ( | void | ) | [inline] |
| virtual bool page::load | ( | void | ) | [inline, virtual] |
Definition at line 190 of file page.hpp.
References aString::c_str(), openRS::close(), defaultPage, getSql(), aString::length(), global_contents::load(), page_paragraphs::load(), page_menus::load(), page_template::load(), loadResults, m_global_contents, openRS::open(), cgiEnvironment::PathInfo(), pg_menus, pg_paragraphs, pg_template, propset(), read_base::rs, script, cgiEnvironment::ScriptName(), cgiEnvironment::ServerName(), site_id(), sql, and template_id().
Referenced by main().
| void page::addGlobalContent | ( | string | tag, | |
| ocString & | part | |||
| ) | [inline] |
Definition at line 237 of file page.hpp.
References m_global_contents, and ocString::replace().
Referenced by emitEnd(), emitSpacer(), emitTop(), getEnd(), getSpacer(), and getTop().
| virtual bool page::emitTop | ( | void | ) | [inline, virtual] |
Definition at line 247 of file page.hpp.
References addGlobalContent(), cgiTemplates::getParagraph(), page_template::id(), m_meta_description, m_name, pg_template, ocString::replace(), and script.
Referenced by mailpage::emit(), and top_functor::operator()().
| virtual bool page::emitSpacer | ( | string | name | ) | [inline, virtual] |
Definition at line 262 of file page.hpp.
References addGlobalContent(), m_name, paragraph_string(), ocString::replace(), and script.
Referenced by spacer_functor::operator()().
| virtual bool page::emitEnd | ( | void | ) | [inline, virtual] |
Definition at line 269 of file page.hpp.
References addGlobalContent(), cgiTemplates::getParagraph(), pg_template, and script.
Referenced by mailpage::emit(), and end_functor::operator()().
| virtual bool page::emitMenu | ( | string | startTag, | |
| string | endTag, | |||
| string | boundStart = "", |
|||
| string | boundEnd = "" | |||
| ) | [inline, virtual] |
Definition at line 279 of file page.hpp.
References aString::c_str(), defaultPage, page_menus::emit(), cgiTemplates::getParagraphs(), cgiEnvironment::PathInfo(), pg_menus, pg_template, and script.
Referenced by mailpage::emit(), and menu_functor::operator()().
| virtual bool page::emitContent | ( | string | contentTags, | |
| string | replaceTag | |||
| ) | [inline, virtual] |
Definition at line 290 of file page.hpp.
References page_paragraphs::emit(), cgiTemplates::getParagraphs(), pg_paragraphs, pg_template, and script.
Referenced by content_functor::operator()(), virtualCheckout::show(), mail_functor::showForm(), and virtualStore::showProducts().
| long long page::id | ( | void | ) | [inline] |
| long long page::site_id | ( | void | ) | [inline] |
Definition at line 302 of file page.hpp.
References m_site_id.
Referenced by createPageMenus(), page_form::form_data_transfer(), page_form::form_display(), isupplemental(), load(), page(), and uvalidate().
| long long page::template_id | ( | void | ) | [inline] |
Definition at line 303 of file page.hpp.
References m_template_id.
Referenced by createPageMenus(), page_form::form_data_transfer(), page_form::form_display(), load(), and page().
| string page::name | ( | void | ) | [inline] |
Definition at line 304 of file page.hpp.
References m_name.
Referenced by page_form::form_data_transfer(), page_form::form_display(), isupplemental(), and page().
| string page::url | ( | void | ) | [inline] |
Definition at line 305 of file page.hpp.
References m_url.
Referenced by page_form::form_data_transfer(), page_form::form_display(), isupplemental(), page(), and uvalidate().
| string page::meta_description | ( | void | ) | [inline] |
Definition at line 306 of file page.hpp.
References m_meta_description.
Referenced by page_form::form_data_transfer(), page_form::form_display(), and page().
| string page::loaded_control_string | ( | void | ) | [inline] |
Definition at line 309 of file page.hpp.
References cgiTemplates::getParagraphs(), page_template::id(), and pg_template.
Referenced by main().
| string page::paragraph_string | ( | string | name | ) | [inline] |
Definition at line 334 of file page.hpp.
References cgiTemplates::getParagraphs(), page_template::id(), and pg_template.
Referenced by mail_functor::dataItem(), mail_functor::doMail(), emitSpacer(), getSpacer(), index_functor::operator()(), detail_functor::operator()(), chkout_functor::operator()(), form_functor::operator()(), servicelist_functor::operator()(), and mail_functor::thanksMsg().
| page_paragraphs& page::get_page_paragraphs | ( | void | ) | [inline] |
Definition at line 357 of file page.hpp.
References pg_paragraphs.
Referenced by qrystr_content_functor::emit(), show_page::emitDetail(), show_page::emitSlides(), show_page::loadSlides(), free_form_functor::operator()(), form_functor::operator()(), and mail_functor::thanksMsg().
| page_template& page::get_template | ( | void | ) | [inline] |
Definition at line 363 of file page.hpp.
References pg_template.
Referenced by intraMain(), document_list_functor::operator()(), qrystr_content_functor::operator()(), and virtualStore::putForm().
| void page::site_id | ( | long long | in | ) | [inline] |
| void page::template_id | ( | long long | in | ) | [inline] |
| void page::name | ( | string | in | ) | [inline] |
| void page::meta_description | ( | string | in | ) | [inline] |
| cgiScript& page::get_script | ( | void | ) | [inline] |
Definition at line 376 of file page.hpp.
References script.
Referenced by spacer_functor::operator()(), end_functor::operator()(), and top_functor::operator()().
| page_menus& page::get_menus | ( | void | ) | [inline] |
Definition at line 377 of file page.hpp.
References pg_menus.
Referenced by menu_functor::operator()().
| string page::getSql | ( | string | url, | |
| string | domain | |||
| ) | [inline, protected] |
| void page::propset | ( | void | ) | [inline, protected] |
Definition at line 50 of file page.hpp.
References basicField::format(), openRS::getField(), m_id, m_meta_description, m_name, m_site_id, m_template_id, m_url, and read_base::rs.
| string page::getLoadResult | ( | void | ) | [inline] |
| virtual bool page::load | ( | void | ) | [inline, virtual] |
Definition at line 109 of file page.hpp.
References aString::c_str(), openRS::close(), defaultPage, getSql(), aString::length(), global_contents::load(), page_paragraphs::load(), page_menus::load(), page_template::load(), loadResults, m_global_contents, openRS::open(), cgiEnvironment::PathInfo(), pg_menus, pg_paragraphs, pg_template, propset(), read_base::rs, script, cgiEnvironment::ScriptName(), cgiEnvironment::ServerName(), site_id(), sql, and template_id().
| void page::addGlobalContent | ( | string | tag, | |
| ocString & | part | |||
| ) | [inline] |
| virtual string page::getTop | ( | void | ) | [inline, virtual] |
Definition at line 165 of file page.hpp.
References addGlobalContent(), cgiTemplates::getParagraph(), page_template::id(), m_meta_description, m_name, pg_template, and ocString::replace().
Referenced by top_functor::operator()().
| virtual string page::getSpacer | ( | string | name | ) | [inline, virtual] |
Definition at line 180 of file page.hpp.
References addGlobalContent(), m_name, paragraph_string(), and ocString::replace().
Referenced by spacer_functor::operator()().
| virtual string page::getEnd | ( | void | ) | [inline, virtual] |
Definition at line 186 of file page.hpp.
References addGlobalContent(), cgiTemplates::getParagraph(), and pg_template.
Referenced by end_functor::operator()().
| virtual bool page::emitMenu | ( | string | name, | |
| string | startTag, | |||
| string | endTag, | |||
| string | boundStart = "", |
|||
| string | boundEnd = "" | |||
| ) | [inline, virtual] |
Definition at line 194 of file page.hpp.
References aString::c_str(), defaultPage, page_menus::emit(), cgiTemplates::getParagraphs(), cgiEnvironment::PathInfo(), pg_menus, pg_template, and script.
| virtual bool page::emitContent | ( | string | contentTags, | |
| string | replaceTag, | |||
| string | section = "" | |||
| ) | [inline, virtual] |
Definition at line 205 of file page.hpp.
References page_paragraphs::emit(), cgiTemplates::getParagraphs(), pg_paragraphs, pg_template, and script.
| long long page::site_id | ( | void | ) | [inline] |
| long long page::template_id | ( | void | ) | [inline] |
| string page::name | ( | void | ) | [inline] |
| string page::meta_description | ( | void | ) | [inline] |
| string page::loaded_control_string | ( | void | ) | [inline] |
Definition at line 224 of file page.hpp.
References cgiTemplates::getParagraphs(), page_template::id(), and pg_template.
| string page::paragraph_string | ( | string | name | ) | [inline] |
Definition at line 249 of file page.hpp.
References cgiTemplates::getParagraphs(), page_template::id(), and pg_template.
| page_paragraphs& page::get_page_paragraphs | ( | void | ) | [inline] |
| page_template& page::get_template | ( | void | ) | [inline] |
| void page::site_id | ( | long long | in | ) | [inline] |
| void page::template_id | ( | long long | in | ) | [inline] |
| void page::name | ( | string | in | ) | [inline] |
| void page::meta_description | ( | string | in | ) | [inline] |
| cgiScript& page::get_script | ( | void | ) | [inline] |
| page_menus& page::get_menus | ( | void | ) | [inline] |
| virtual bool page::uvalidate | ( | changeMap & | changes | ) | [inline, virtual] |
Reimplemented from read_write_base.
Definition at line 75 of file page_obj.hpp.
References ocString::append(), openRS::close(), read_write_base::cmd, openCMD::execute(), basicField::format(), openRS::getField(), openRS::open(), read_base::rs, site_id(), sql, and url().
| bool page::usupplemental | ( | changeMap & | changes | ) | [inline, virtual] |
Reimplemented from read_write_base.
Definition at line 98 of file page_obj.hpp.
References createPageMenus(), and deletePageMenus().
| bool page::isupplemental | ( | void | ) | [inline, virtual] |
Reimplemented from read_write_base.
Definition at line 107 of file page_obj.hpp.
References createPageMenus(), read_write_base::db_insert(), name(), link::name, site_id(), link::site_id, url(), and link::url.
| void page::deletePageMenus | ( | void | ) | [inline] |
Definition at line 119 of file page_obj.hpp.
References ocString::append(), read_write_base::cmd, openCMD::execute(), and sql.
Referenced by dsupplemental(), and usupplemental().
| void page::deletePageParagraphs | ( | void | ) | [inline] |
Definition at line 125 of file page_obj.hpp.
References ocString::append(), read_write_base::cmd, openCMD::execute(), and sql.
Referenced by dsupplemental().
| void page::createPageMenus | ( | void | ) | [inline] |
Definition at line 131 of file page_obj.hpp.
References xmlNode::attr, clause, page_menus_Obj::collapsible, read_write_base::db_insert(), read_write_base::get_data(), cgiTemplates::getParagraph(), id(), menu::id, Template::id, siteObject::id, read_write_base::key(), cgiTemplates::load(), page_menus_Obj::menu_id, menu::name, page_menus_Obj::page_id, Template::path, siteObject::path, page_menus_Obj::place_order, page_menus_Obj::site_id, menu::site_id, site_id(), and template_id().
Referenced by isupplemental(), and usupplemental().
| virtual bool page::dsupplemental | ( | void | ) | [inline, virtual] |
Reimplemented from read_write_base.
Definition at line 194 of file page_obj.hpp.
References deletePageMenus(), and deletePageParagraphs().
| string page::getSql | ( | string | url, | |
| string | domain | |||
| ) | [inline, protected] |
| void page::propset | ( | void | ) | [inline, protected] |
Definition at line 135 of file page.hpp.
References basicField::format(), openRS::getField(), m_id, m_meta_description, m_name, m_site_id, m_template_id, m_url, and read_base::rs.
| string page::getLoadResult | ( | void | ) | [inline] |
| virtual bool page::load | ( | void | ) | [inline, virtual] |
Definition at line 190 of file page.hpp.
References aString::c_str(), openRS::close(), defaultPage, getSql(), aString::length(), global_contents::load(), page_paragraphs::load(), page_menus::load(), page_template::load(), loadResults, m_global_contents, openRS::open(), cgiEnvironment::PathInfo(), pg_menus, pg_paragraphs, pg_template, propset(), read_base::rs, script, cgiEnvironment::ScriptName(), cgiEnvironment::ServerName(), site_id(), sql, and template_id().
| void page::addGlobalContent | ( | string | tag, | |
| ocString & | part | |||
| ) | [inline] |
| virtual bool page::emitTop | ( | void | ) | [inline, virtual] |
Definition at line 247 of file page.hpp.
References addGlobalContent(), cgiTemplates::getParagraph(), page_template::id(), m_meta_description, m_name, pg_template, ocString::replace(), and script.
| virtual bool page::emitSpacer | ( | string | name | ) | [inline, virtual] |
Definition at line 262 of file page.hpp.
References addGlobalContent(), m_name, paragraph_string(), ocString::replace(), and script.
| virtual bool page::emitEnd | ( | void | ) | [inline, virtual] |
Definition at line 269 of file page.hpp.
References addGlobalContent(), cgiTemplates::getParagraph(), pg_template, and script.
| virtual bool page::emitMenu | ( | string | startTag, | |
| string | endTag, | |||
| string | boundStart = "", |
|||
| string | boundEnd = "" | |||
| ) | [inline, virtual] |
Definition at line 279 of file page.hpp.
References aString::c_str(), defaultPage, page_menus::emit(), cgiTemplates::getParagraphs(), cgiEnvironment::PathInfo(), pg_menus, pg_template, and script.
| virtual bool page::emitContent | ( | string | contentTags, | |
| string | replaceTag | |||
| ) | [inline, virtual] |
Definition at line 290 of file page.hpp.
References page_paragraphs::emit(), cgiTemplates::getParagraphs(), pg_paragraphs, pg_template, and script.
| long long page::site_id | ( | void | ) | [inline] |
| long long page::template_id | ( | void | ) | [inline] |
| string page::name | ( | void | ) | [inline] |
| string page::meta_description | ( | void | ) | [inline] |
| string page::loaded_control_string | ( | void | ) | [inline] |
Definition at line 309 of file page.hpp.
References cgiTemplates::getParagraphs(), page_template::id(), and pg_template.
| string page::paragraph_string | ( | string | name | ) | [inline] |
Definition at line 334 of file page.hpp.
References cgiTemplates::getParagraphs(), page_template::id(), and pg_template.
| page_paragraphs& page::get_page_paragraphs | ( | void | ) | [inline] |
| page_template& page::get_template | ( | void | ) | [inline] |
| void page::site_id | ( | long long | in | ) | [inline] |
| void page::template_id | ( | long long | in | ) | [inline] |
| void page::name | ( | string | in | ) | [inline] |
| void page::meta_description | ( | string | in | ) | [inline] |
| cgiScript& page::get_script | ( | void | ) | [inline] |
| page_menus& page::get_menus | ( | void | ) | [inline] |
| virtual bool page::uvalidate | ( | changeMap & | changes | ) | [inline, virtual] |
Reimplemented from read_write_base.
Definition at line 69 of file page.hpp.
References ocString::append(), openRS::close(), read_write_base::cmd, openCMD::execute(), basicField::format(), openRS::getField(), openRS::open(), read_base::rs, site_id(), sql, and url().
| bool page::usupplemental | ( | changeMap & | changes | ) | [inline, virtual] |
Reimplemented from read_write_base.
Definition at line 92 of file page.hpp.
References createPageMenus(), and deletePageMenus().
| bool page::isupplemental | ( | void | ) | [inline, virtual] |
Reimplemented from read_write_base.
Definition at line 101 of file page.hpp.
References createPageMenus(), read_write_base::db_insert(), name(), link::name, site_id(), link::site_id, url(), and link::url.
| void page::deletePageMenus | ( | void | ) | [inline] |
Definition at line 113 of file page.hpp.
References ocString::append(), read_write_base::cmd, openCMD::execute(), and sql.
| void page::deletePageParagraphs | ( | void | ) | [inline] |
Definition at line 119 of file page.hpp.
References ocString::append(), read_write_base::cmd, openCMD::execute(), and sql.
| void page::createPageMenus | ( | void | ) | [inline] |
Definition at line 125 of file page.hpp.
References xmlNode::attr, clause, page_menus_Obj::collapsible, read_write_base::db_insert(), read_write_base::get_data(), cgiTemplates::getParagraph(), id(), menu::id, Template::id, siteObject::id, read_write_base::key(), cgiTemplates::load(), page_menus_Obj::menu_id, page_menus_Obj::page_id, Template::path, siteObject::path, page_menus_Obj::place_order, page_menus_Obj::site_id, site_id(), and template_id().
| virtual bool page::dsupplemental | ( | void | ) | [inline, virtual] |
Reimplemented from read_write_base.
Definition at line 183 of file page.hpp.
References deletePageMenus(), and deletePageParagraphs().
long long page::m_id [protected] |
long long page::m_site_id [protected] |
long long page::m_template_id [protected] |
string page::m_name [protected] |
Reimplemented from read_write_base.
Definition at line 149 of file page.hpp.
Referenced by emitSpacer(), emitTop(), getSpacer(), getTop(), name(), and propset().
string page::m_url [protected] |
string page::m_meta_description [protected] |
string page::sql [protected] |
Definition at line 152 of file page.hpp.
Referenced by deletePageMenus(), deletePageParagraphs(), page_form::form_display(), getSql(), load(), and uvalidate().
bool page::defaultPage [protected] |
cgiScript& page::script [protected] |
Definition at line 158 of file page.hpp.
Referenced by mailpage::emit(), emitContent(), show_page::emitDetail(), emitEnd(), mailpage::emitFormOrAck(), emitMenu(), show_page::emitSlides(), emitSpacer(), emitTop(), page_form::form_display(), get_script(), load(), show_page::para_emitDetail(), mailpage::parseItem(), mailpage::send(), and show_page::slideEmission().
page_template page::pg_template [protected] |
Definition at line 161 of file page.hpp.
Referenced by emitContent(), show_page::emitDetail(), emitEnd(), mailpage::emitFormOrAck(), emitMenu(), show_page::emitSlides(), emitTop(), get_template(), getEnd(), getTop(), load(), loaded_control_string(), and paragraph_string().
page_menus page::pg_menus [protected] |
page_paragraphs page::pg_paragraphs [protected] |
Definition at line 168 of file page.hpp.
Referenced by emitContent(), get_page_paragraphs(), load(), and show_page::loadSlides().
global_contents page::m_global_contents [protected] |
ocString page::loadResults [protected] |
cgiScript& page::script [protected] |
| string page::editIcon |
Definition at line 54 of file page_obj.hpp.
Referenced by exportPages(), spacer_functor::operator()(), end_functor::operator()(), and top_functor::operator()().
| long long page::site_id |
Definition at line 55 of file page_obj.hpp.
Referenced by servicelist_functor::fixURI(), and importPages().
| long long page::template_id |
| string page::name |
| string page::url |
| string page::meta_description |
cgiScript& page::script [protected] |
1.5.5