ServerVariables
Keeps server variables
Constructor Summary
| Public Constructor | ||
| public |
Create instance. |
|
Member Summary
| Public Members | ||
| public get |
Fired on server variables changes. |
source |
Method Summary
| Public Methods | ||
| public |
add(name: string, value: string) Add variable. |
source |
| public |
edit(name: string, newValue: string) Edit variable. |
source |
| public |
get(name: string): * Get variable. |
source |
| public |
remove(name: string) Remove variable. |
source |
Public Constructors
Public Members
Public Methods
public add(name: string, value: string) source
Add variable.
Params:
| Name | Type | Attribute | Description |
| name | string |
|
name of variable. |
| value | string |
|
] - value of variable. |
public edit(name: string, newValue: string) source
Edit variable.
Params:
| Name | Type | Attribute | Description |
| name | string |
|
name of variable. |
| newValue | string |
|
] - new value of variable. |
public get(name: string): * source
Get variable.
Params:
| Name | Type | Attribute | Description |
| name | string |
|
name of variable. |
Return:
| * |
public remove(name: string) source
Remove variable.
Params:
| Name | Type | Attribute | Description |
| name | string |
|
name of variable. |
