Stud.IP  5.4
MVV Class Reference
Inheritance diagram for MVV:
Loggable

Static Public Member Functions

static isVisible ()
 
static isVisibleSearch ()
 
static logFormat (LogEvent $event)
 
static logSearch ($needle, $action_name=null)
 
static getContentLanguageImagePath ($language)
 

Data Fields

const CACHE_KEY = 'MVV'
 

Member Function Documentation

◆ getContentLanguageImagePath()

static getContentLanguageImagePath (   $language)
static

Returns imagepath for given language, used by MVV First tries $GLOBALS['CONTENT_LANGUAGES'], if not defined returns hardcoded path

Parameters
string$languagee.g. 'DE'
Returns
string path to language icon

◆ isVisible()

static isVisible ( )
static

Determines whether the mvv backend is visible.

Returns
boolean True if backend is visible

◆ isVisibleSearch()

static isVisibleSearch ( )
static

Determines whether the search for modules is visible in the global search.

Returns
boolean True if backend is visible in search

◆ logFormat()

static logFormat ( LogEvent  $event)
static

This method enriches the logentry templates with data of the mvv classes

Parameters
LogEventlog event entry
Returns
void

Implements Loggable.

◆ logSearch()

static logSearch (   $needle,
  $action_name = null 
)
static

This method searches the log-entries for log-actions of the mvv classes. Used by search function on log page.

Parameters
string$needleThe search term.
string$action_nameThe name of the log action.
Returns
array Found log events.

Implements Loggable.

Field Documentation

◆ CACHE_KEY

const CACHE_KEY = 'MVV'

The global key used by mvv classes to store values in cache.


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