Open Journal Systems  2.4.4
 All Classes Namespaces Functions Variables Groups Pages
SharingRT Class Reference

Public Member Functions

 sharingButtonImage ($journalRt)
 
 sharingLocale ($default)
 

Detailed Description

OJS-specific AddThis end-user interface.

Definition at line 22 of file SharingRT.inc.php.

Member Function Documentation

SharingRT::sharingButtonImage (   $journalRt)

Generate the information for the HTML tag for the sharing button

Returns
array(url, width, height)

Definition at line 86 of file SharingRT.inc.php.

References sharingLocale().

Referenced by ArticleHandler\view().

SharingRT::sharingLocale (   $default)

determine the correct language for the sharing button. Attempt to use the user's local setting if it is one that AddThis supports. If not, use the language the administrator has chosen.

Returns
string
Parameters
$defaultstring

Definition at line 117 of file SharingRT.inc.php.

References AppLocale\getLocale().

Referenced by sharingButtonImage().


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