Public Member Functions | Private Attributes
rms::content_page Class Reference

#include <content_page.h>

List of all members.

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

Detailed Description

A content page object to store information on a content page in the RMS.

Definition at line 28 of file content_page.h.


Constructor & Destructor Documentation

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.

Parameters:
pageidthe content page ID number
titlethe title of the page
menuthe name of the menu item for the page
indexthe index in the main menu for this page
jsthe name of the Javascript file to include with this

Definition at line 16 of file content_page.cpp.


Member Function Documentation

Get the index in the main menu for this page.

Returns:
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.

Returns:
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.

Get the name of the menu item for the page.

Returns:
the name of the menu item for the page

Definition at line 36 of file content_page.cpp.

Get the content page ID number.

Returns:
the content page ID number

Definition at line 26 of file content_page.cpp.

Get the title.

Returns:
the title

Definition at line 31 of file content_page.cpp.


Member Data Documentation

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.

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.


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


rmscpp
Author(s): Russell Toris
autogenerated on Sat Dec 28 2013 17:08:58