TwigActivity
in package
Tags
Table of Contents
- elementValue() : string
- Return an element value
- getContext() : string
- Get the current twig context, can be 'web' or 'export'
- getLogs() : Logs
- Get logs service
- getVersion() : string
- returns the version of Activity
- showUserIP() : bool
- Show user IPs
- versionCompare() : bool
- Compare a version to the Activity plugin version
Methods
elementValue()
Return an element value
public
elementValue( $value) : string
Parameters
Tags
Return values
string —getContext()
Get the current twig context, can be 'web' or 'export'
public
getContext() : string
Tags
Return values
string —getLogs()
Get logs service
public
getLogs() : Logs
Return values
Logs —getVersion()
returns the version of Activity
public
getVersion() : string
Tags
Return values
string —showUserIP()
Show user IPs
public
showUserIP() : bool
Tags
Return values
bool —versionCompare()
Compare a version to the Activity plugin version
public
versionCompare(string $version, string $operator) : bool
Parameters
- $version : string
- $operator : string