SocialStatsTrait
SocialStatsTrait PHP Methods
convertCType(string $content, bool $titleLink = true) v5
Converts social content types
PARAMETERS:
$content = string, content contains the tilde codes
$titleLink = bool, true to show title as link, false otherwise
RETURN VALUE:
String = content after converting the tilde codes
~ctypetitle~ | ~ctypeidtitle~ | ~ctypeimg~ | ~ctypedetails~ convertDates(string $content) v5
Converts timestamp for social stats to formated date/time
PARAMETERS:
$content = string, content contains date as timestamp
RETURN VALUE:
String = content after converting the date/time convertTType(string $content, bool $titleLink = true) v5
Converts social details
PARAMETERS:
$content = string, content contains the tilde codes
$titleLink = bool, true to show title as link, false otherwise
RETURN VALUE:
String = content after converting the tilde codes
~ttypetitle~ | ~ttypeidtitle~ | ~ttypeimg~SocialStatsTrait PHP Variables
🔎︎ %l4610%