CLOSERAW
extends CLOSE
in package
Close WIKINDX by simply printing GLOBALS::buildTplVarString('content') without any more content. Typically used with AJAX to print strings to a DIV within the WIKINDX page
Table of Contents
Methods
- __construct() : mixed
- CLOSERAW
- tidySession() : mixed
- tidySession
Methods
__construct()
CLOSERAW
public
__construct([string|null $ContentType = null ]) : mixed
If $ContentType is not NULL, then the Content-type header is defined with the value of this parameter
Parameters
- $ContentType : string|null = null
-
Mime-type of the content sent to the HTTP client (default is NULL)
tidySession()
tidySession
protected
tidySession() : mixed
A convenient place to clear certain session values which we definitely don't want the next time around. Also, write tempStorage to database if using browserTabID. Note that AJAX operations (such as removing elements in ASEARCHFORM) do not have access to the current browserTabID. Hence the code here: store browserTabID in a session along with an array of tempStorage elements to remove/add from/to the database.