|
| | WsModNewsLetter () |
| | CTor. More...
|
| |
| | ~WsModNewsLetter () |
| |
| Wt::WWidget * | createContentsMenuBar (Wt::WContainerWidget *parent=0) const |
| | Create the functionalities. More...
|
| |
| Wt::WWidget * | createContents (Wt::WContainerWidget *parent=0) const |
| | Create the contents. More...
|
| |
| WsEditorWidget * | createEditor (Wt::WContainerWidget *parent=0) const |
| | Create the contents for an editor (create a view of options). More...
|
| |
| Wt::WWidget * | createAdmin (Wt::WContainerWidget *parent=0) const |
| | Create the contents for an administrator. More...
|
| |
| bool | saveEditor () const |
| |
| std::string | description () const |
| | Return the description of the module. More...
|
| |
| virtual std::string | checkPath (const std::string ¤tPath) |
| | Return the currentPath, or another path when some action is required for the currentPath example /NewsLetter/Subscribe/<token>, check the token, if error return a path to the error page else return the path to the subscription form by default return the currentPath. More...
|
| |
| void | setModuleName (const std::string &name) |
| | Set/Get the module name. More...
|
| |
| const std::string & | moduleName () const |
| |
| void | setSoName (const std::string &soName) |
| | Set/Get the module so name or path ex. libgd.so or /usr/lib/libgd.so. More...
|
| |
| const std::string & | soName () const |
| |
| void | setFileName (const std::string &fileName) |
| | Set/Get the file name that trigger the module : exemple "Staff List". More...
|
| |
| const std::string & | fileName () const |
| |
| void | setExtensions (const std::string &extensions) |
| | Set/Get the file extension managed by the module : exemple .ods|.odp. More...
|
| |
| const std::string & | extension (const std::string &extension="") const |
| |
| void | setPrefix (const std::string &prefix) |
| | Set/Get prefix for a virtual path, like "/SiteMap". More...
|
| |
| const std::string & | prefix () const |
| |
| std::string | pathWithoutPrefix (const std::string &path) |
| | return the relative path without the prefix : example pathWithoutPrefix("/SiteMap/Test") return "/Test" More...
|
| |
| std::string | pathWithPrefix (const std::string &path) |
| | return the relative path with the prefix : example pathWithPrefix("/Test") return "/SiteMap/Test" More...
|
| |
| virtual bool | processPrefix (const std::string &path) |
| | proccess the prefix, return true if processed More...
|
| |
| void | setHideImages (const bool bHide) |
| | Set/Get the flag to specified if the images is hided. More...
|
| |
| bool | hideImages () |
| |
| void | setSysPath (const std::string &sysPath) |
| | Set/Get the system path (example the selected file /var/www/mysite/about/me.fhtml). More...
|
| |
| const std::string & | sysPath () const |
| |
| void | setDiffPath (const std::string &diffPath) |
| | Set/Get the difference between the web server (example Apache /var/www) root path and the wittishare root path (example /var/www/demo_site). the returned value = /demo_site. More...
|
| |
| const std::string & | diffPath () const |
| |
| WsContentButtonsBar * | contentButtonsBar () |
| | WittyShare provide a container to add some buttons like export page in pdf, ..., This function allow a module to add this own button to this container. More...
|
| |
| virtual void | destroyContentsMenuBar () |
| |
| void | setLoaded () |
| | Some modules can be loaded on startup, no more actions is required by the content widget. More...
|
| |
| bool | isLoaded () |
| |
| void | setOption (const std::string &attribute, boost::any value) |
| | Set an options if previously set, update the value. More...
|
| |
| void | setOptions (const std::vector< WsOption > &vOptions) |
| | Set all options. More...
|
| |
| const boost::any & | option (const std::string &attribute) const |
| | Get an options value. More...
|
| |
| const std::vector< WsOption > & | options () const |
| | Get all options. More...
|
| |
| void | outOptions (const std::string message) |
| | Output all options. More...
|
| |
Definition at line 24 of file WsModNewsLetter.h.
| std::string WsModNewsLetter::checkPath |
( |
const std::string & |
currentPath | ) |
|
|
virtual |
Return the currentPath, or another path when some action is required for the currentPath example /NewsLetter/Subscribe/<token>, check the token, if error return a path to the error page else return the path to the subscription form by default return the currentPath.
Reimplemented from WsModule.
Definition at line 82 of file WsModNewsLetter.cpp.