Describes basic SocialMedia properties. More...
Public Member Functions | |
| getCode () | |
| getIncludeInCatalog () | |
| getLocalizedPlatform () | |
| getPlatform ($locale) | |
| getPressId () | |
| replaceCodeVars ($publishedMonograph=null) | |
| setCode ($code) | |
| setIncludeInCatalog ($includeInCatalog) | |
| setPlatform ($platform, $locale) | |
| setPressId ($pressId) | |
| SocialMedia () | |
Describes basic SocialMedia properties.
Definition at line 16 of file SocialMedia.inc.php.
| SocialMedia.getCode | ( | ) |
Get media block code.
Definition at line 44 of file SocialMedia.inc.php.
Referenced by replaceCodeVars().
| SocialMedia.getIncludeInCatalog | ( | ) |
Get whether or not this should be included on a monograph's catalog page.
Definition at line 60 of file SocialMedia.inc.php.
| SocialMedia.getLocalizedPlatform | ( | ) |
| SocialMedia.getPlatform | ( | $ | locale | ) |
Get media platform.
| $locale | string |
Definition at line 85 of file SocialMedia.inc.php.
| SocialMedia.getPressId | ( | ) |
| SocialMedia.replaceCodeVars | ( | $ | publishedMonograph = null |
) |
Replace various variables in the code template with data relevant to the assigned monograph.
| PublishedMonograph | $publishedMonograph |
Definition at line 103 of file SocialMedia.inc.php.
| SocialMedia.setCode | ( | $ | code | ) |
Set media block code.
| $path | string |
Definition at line 52 of file SocialMedia.inc.php.
Referenced by replaceCodeVars().
| SocialMedia.setIncludeInCatalog | ( | $ | includeInCatalog | ) |
Set whether or not this should be included on a monograph's catalog page.
| $path | string |
Definition at line 68 of file SocialMedia.inc.php.
| SocialMedia.setPlatform | ( | $ | platform, | |
| $ | locale | |||
| ) |
Set media platform.
| $title | string | |
| $locale | string |
Definition at line 94 of file SocialMedia.inc.php.
| SocialMedia.setPressId | ( | $ | pressId | ) |
| SocialMedia.SocialMedia | ( | ) |
Constructor.
Definition at line 20 of file SocialMedia.inc.php.
1.7.1