Anope IRC Services  Version 2.0
Public Member Functions
WebCPanel::Register Class Reference

#include <register.h>

Inheritance diagram for WebCPanel::Register:
Inheritance graph
[legend]
Collaboration diagram for WebCPanel::Register:
Collaboration graph
[legend]

Public Member Functions

 Register (const Anope::string &u)
 
bool OnRequest (HTTPProvider *, const Anope::string &, HTTPClient *, HTTPMessage &, HTTPReply &) anope_override
 
- Public Member Functions inherited from WebPanelPage
 WebPanelPage (const Anope::string &u, const Anope::string &ct="text/html")
 
- Public Member Functions inherited from HTTPPage
 HTTPPage (const Anope::string &u, const Anope::string &ct="text/html")
 
const Anope::stringGetURL () const
 
const Anope::stringGetContentType () const
 
- Public Member Functions inherited from Base
 Base ()
 
virtual ~Base ()
 
void AddReference (ReferenceBase *r)
 
void DelReference (ReferenceBase *r)
 

Detailed Description

Definition at line 13 of file register.h.

Constructor & Destructor Documentation

WebCPanel::Register::Register ( const Anope::string u)
inline

Definition at line 16 of file register.h.

Member Function Documentation

bool WebCPanel::Register::OnRequest ( HTTPProvider ,
const Anope::string ,
HTTPClient ,
HTTPMessage ,
HTTPReply  
)
virtual

Called when this page is requested

Parameters
Theserver this page is on
Thepage name
Theclient requesting the page
TheHTTP header sent from the client to request the page
TheHTTP header that will be sent back to the client

Implements WebPanelPage.

Definition at line 10 of file register.cpp.

References page_title, and TemplateFileServer::Serve().


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