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" ?>
|
<?xml version="1.0" encoding="UTF-8" ?>
|
||||||
<class name="AliasWebPage" inherits="WebNode" version="3.7">
|
<class name="AliasWebPage" inherits="WebNode" version="3.7">
|
||||||
<brief_description>
|
<brief_description>
|
||||||
|
Creates an alias web uri.
|
||||||
</brief_description>
|
</brief_description>
|
||||||
<description>
|
<description>
|
||||||
|
Essentially when it handles a request it calls an another [WebNode]'s [code]handle_request()[/code] method.
|
||||||
</description>
|
</description>
|
||||||
<tutorials>
|
<tutorials>
|
||||||
</tutorials>
|
</tutorials>
|
||||||
@ -10,6 +12,7 @@
|
|||||||
</methods>
|
</methods>
|
||||||
<members>
|
<members>
|
||||||
<member name="alias_path" type="NodePath" setter="set_alias_path" getter="get_alias_path" default="NodePath("")">
|
<member name="alias_path" type="NodePath" setter="set_alias_path" getter="get_alias_path" default="NodePath("")">
|
||||||
|
The path to the target [Webnode].
|
||||||
</member>
|
</member>
|
||||||
</members>
|
</members>
|
||||||
<constants>
|
<constants>
|
||||||
|
@ -1,8 +1,10 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8" ?>
|
<?xml version="1.0" encoding="UTF-8" ?>
|
||||||
<class name="RedirectWebPage" inherits="WebNode" version="3.7">
|
<class name="RedirectWebPage" inherits="WebNode" version="3.7">
|
||||||
<brief_description>
|
<brief_description>
|
||||||
|
Sends a redirect when it needs to handle a request.
|
||||||
</brief_description>
|
</brief_description>
|
||||||
<description>
|
<description>
|
||||||
|
It handles a request by sending a redirect to the [code]redirect_path[/code].
|
||||||
</description>
|
</description>
|
||||||
<tutorials>
|
<tutorials>
|
||||||
</tutorials>
|
</tutorials>
|
||||||
@ -10,8 +12,10 @@
|
|||||||
</methods>
|
</methods>
|
||||||
<members>
|
<members>
|
||||||
<member name="code" type="int" setter="set_code" getter="get_code" default="302">
|
<member name="code" type="int" setter="set_code" getter="get_code" default="302">
|
||||||
|
The response code.
|
||||||
</member>
|
</member>
|
||||||
<member name="redirect_path" type="String" setter="set_redirect_path" getter="get_redirect_path" default="""">
|
<member name="redirect_path" type="String" setter="set_redirect_path" getter="get_redirect_path" default="""">
|
||||||
|
The http path to redirect to.
|
||||||
</member>
|
</member>
|
||||||
</members>
|
</members>
|
||||||
<constants>
|
<constants>
|
||||||
|
Loading…
Reference in New Issue
Block a user