#include <content_page.h>
Public Member Functions | |
| content_page (int pageid, std::string title, std::string menu, int index, std::string js) | |
| int | get_index () |
| std::string | get_js () |
| std::string | get_menu () |
| int | get_pageid () |
| std::string | get_title () |
Private Attributes | |
| int | index |
| std::string | js |
| std::string | menu |
| int | pageid |
| std::string | title |
A content page object to store information on a content page in the RMS.
Definition at line 28 of file content_page.h.
| content_page::content_page | ( | int | pageid, |
| std::string | title, | ||
| std::string | menu, | ||
| int | index, | ||
| std::string | js | ||
| ) |
Create a content page with the given information. A string value of "NULL" can be if Javascript file is a null value.
| pageid | the content page ID number |
| title | the title of the page |
| menu | the name of the menu item for the page |
| index | the index in the main menu for this page |
| js | the name of the Javascript file to include with this |
Definition at line 16 of file content_page.cpp.
| int content_page::get_index | ( | ) |
Get the index in the main menu for this page.
Definition at line 41 of file content_page.cpp.
| std::string content_page::get_js | ( | ) |
Get the name of the Javascript file to include with this page or "NULL" if it was null.
Definition at line 46 of file content_page.cpp.
| string content_page::get_menu | ( | ) |
Get the name of the menu item for the page.
Definition at line 36 of file content_page.cpp.
| int content_page::get_pageid | ( | ) |
Get the content page ID number.
Definition at line 26 of file content_page.cpp.
| string content_page::get_title | ( | ) |
int rms::content_page::index [private] |
the page ID and menu index
Definition at line 74 of file content_page.h.
std::string rms::content_page::js [private] |
the title, menu name, and Javascript file name
Definition at line 75 of file content_page.h.
std::string rms::content_page::menu [private] |
Definition at line 75 of file content_page.h.
int rms::content_page::pageid [private] |
Definition at line 74 of file content_page.h.
std::string rms::content_page::title [private] |
Definition at line 75 of file content_page.h.