Semantic MediaWiki and related extensions
Static Public Member Functions | List of all members
SRFUtils Class Reference

Static Public Member Functions

static htmlProcessingElement ( $isHtml=true)
 
static addGlobalJSVariables ()
 
static htmlQueryResultLink ( $link)
 Returns semantic search link for the current query. More...
 
static makeVariablesScript ( $data, $nonce=null)
 

Detailed Description

Common libray of independent functions that are shared among different printers GNU GPL v2 or later

Since
1.8
Author
mwjames

Member Function Documentation

◆ addGlobalJSVariables()

static SRFUtils::addGlobalJSVariables ( )
static

Add JavaScript variables to the output

Since
1.8

◆ htmlProcessingElement()

static SRFUtils::htmlProcessingElement (   $isHtml = true)
static

Helper function that generates a html element, representing a processing/loading image as long as jquery is inactive

Parameters
boolean$isHtml
Since
1.8

◆ htmlQueryResultLink()

static SRFUtils::htmlQueryResultLink (   $link)
static

Returns semantic search link for the current query.

Generate a link to access the current ask query

Since
1.8
Parameters
string$link
Returns
$link

◆ makeVariablesScript()

static SRFUtils::makeVariablesScript (   $data,
  $nonce = null 
)
static
Since
3.2.0
Parameters
array$data
string | null | bool$nonce
Returns
string|WrappedString HTML

The documentation for this class was generated from the following file:

About | General disclaimer | Privacy policy