Semantic MediaWiki and related extensions
Static Public Member Functions | List of all members
SMW\Query\PrintRequest\Deserializer Class Reference

Static Public Member Functions

static deserialize ($text, $showMode=false)
 

Detailed Description

GNU GPL v2+

Since
2.5
Author
Markus Krötzsch
mwjames

Member Function Documentation

static SMW\Query\PrintRequest\Deserializer::deserialize (   $text,
  $showMode = false 
)
static

Create an PrintRequest object from a string description as one would normally use in #ask and related inputs. The string must start with a "?" and may contain label and formatting parameters after "=" or "#", respectively. However, further parameters, given in #ask by "|+param=value" are not allowed here; they must be added individually.

Since
2.5
Parameters
string$text
boolean$showMode= false
Returns
PrintRequest|null

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