Open Journal Systems  2.4.8
 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

Member Function Documentation

SharingRT::sharingButtonImage (   $journalRt)

Generate the information for the HTML tag for the sharing button

array(url, width, height)

Definition at line 86 of file

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.


Definition at line 117 of file

References AppLocale\getLocale().

Referenced by sharingButtonImage().

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