WIKINDX API trunk

CLOSEPOPUP extends CLOSE
in package

Close WIKINDX tidily. Used for javascript pop-ups such as citation that don't require header, images, menus etc.

Table of Contents

Methods

__construct()  : mixed
CLOSEPOPUP
tidySession()  : mixed
tidySession

Methods

__construct()

CLOSEPOPUP

public __construct([bool $displayHeader = true ][, bool $displayFooter = false ][, bool $displayMenu = false ][, bool $displayPopUp = true ]) : mixed
Parameters
$displayHeader : bool = true

default TRUE

$displayFooter : bool = false

default FALSE

$displayMenu : bool = false

default FALSE

$displayPopUp : bool = true

default TRUE

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.


        
On this page

Search results