mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2025-01-23 17:47:17 +01:00
Added docs for RedirectWebPage, and AliasWebPage.
This commit is contained in:
parent
5b16231128
commit
ba0248ae5e
@ -1,8 +1,10 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<class name="AliasWebPage" inherits="WebNode" version="3.7">
|
||||
<brief_description>
|
||||
Creates an alias web uri.
|
||||
</brief_description>
|
||||
<description>
|
||||
Essentially when it handles a request it calls an another [WebNode]'s [code]handle_request()[/code] method.
|
||||
</description>
|
||||
<tutorials>
|
||||
</tutorials>
|
||||
@ -10,6 +12,7 @@
|
||||
</methods>
|
||||
<members>
|
||||
<member name="alias_path" type="NodePath" setter="set_alias_path" getter="get_alias_path" default="NodePath("")">
|
||||
The path to the target [Webnode].
|
||||
</member>
|
||||
</members>
|
||||
<constants>
|
||||
|
@ -1,8 +1,10 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<class name="RedirectWebPage" inherits="WebNode" version="3.7">
|
||||
<brief_description>
|
||||
Sends a redirect when it needs to handle a request.
|
||||
</brief_description>
|
||||
<description>
|
||||
It handles a request by sending a redirect to the [code]redirect_path[/code].
|
||||
</description>
|
||||
<tutorials>
|
||||
</tutorials>
|
||||
@ -10,8 +12,10 @@
|
||||
</methods>
|
||||
<members>
|
||||
<member name="code" type="int" setter="set_code" getter="get_code" default="302">
|
||||
The response code.
|
||||
</member>
|
||||
<member name="redirect_path" type="String" setter="set_redirect_path" getter="get_redirect_path" default="""">
|
||||
The http path to redirect to.
|
||||
</member>
|
||||
</members>
|
||||
<constants>
|
||||
|
Loading…
Reference in New Issue
Block a user