BlueSpice MediaWiki master
 All Classes Namespaces Files Functions Variables Groups Pages
BlueSpice\Social\Result Class Reference
Inheritance diagram for BlueSpice\Social\Result:
Collaboration diagram for BlueSpice\Social\Result:

Public Member Functions

 getValue ()
 
 setValue ($mValue)
 
 getFilter ()
 
 getOptions ()
 
 getQuery ()
 
 setQuery ($sQuery)
 
 setFilter ($aFilter)
 
 setOptions ($aOptions)
 
- Public Member Functions inherited from Status
 __get ($name)
 
 __set ($name, $value)
 
 splitByErrorType ()
 
 getStatusValue ()
 
 getWikiText ($shortContext=false, $longContext=false, $lang=null)
 
 getMessage ($shortContext=false, $longContext=false, $lang=null)
 
 getHTML ($shortContext=false, $longContext=false, $lang=null)
 
 getErrorsArray ()
 
 getWarningsArray ()
 
 __sleep ()
 
 __wakeup ()
 
- Public Member Functions inherited from StatusValue
 splitByErrorType ()
 
 isGood ()
 
 isOK ()
 
 getValue ()
 
 getErrors ()
 
 setOK ($ok)
 
 setResult ($ok, $value=null)
 
 warning ($message)
 
 error ($message)
 
 fatal ($message)
 
 merge ($other, $overwriteValue=false)
 
 getErrorsByType ($type)
 
 hasMessage ($message)
 
 replaceMessage ($source, $dest)
 
 __toString ()
 

Static Public Member Functions

static newFatal ($message)
 
static newGood ($value=null)
 
- Static Public Member Functions inherited from Status
static wrap ($sv)
 
- Static Public Member Functions inherited from StatusValue
static newFatal ($message)
 
static newGood ($value=null)
 

Protected Attributes

 $aFilter = array()
 
 $sQuery = ''
 
 $aOptions = array()
 
- Protected Attributes inherited from StatusValue
 $ok = true
 
 $errors = []
 

Additional Inherited Members

- Public Attributes inherited from Status
 $cleanCallback = false
 
- Public Attributes inherited from StatusValue
 $value
 
 $success = []
 
 $successCount = 0
 
 $failCount = 0
 
- Protected Member Functions inherited from Status
 cleanParams (array $params)
 
 languageFromParam ($lang)
 
 getErrorMessage ($error, $lang=null)
 
 getErrorMessageArray ($errors, $lang=null)
 
 getStatusArray ($type=false)
 

Member Function Documentation

BlueSpice\Social\Result::getValue ( )
Returns
mixed
static BlueSpice\Social\Result::newGood (   $value = null)
static

Factory function for good results

Parameters
mixed$value
Returns
Status

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