Skip to content

InteractionHelper

App\Helpers\InteractionHelper

Get Data Count

php
InteractionHelper::fresnsOverview();

Get Role Info and Permission Parameters

php
InteractionHelper::fresnsRoleInfo($roleId, $langTag);
Parameter NameTypeRequiredDescription
roleIdNumberYesRole ID
langTagStringoptionalLanguage tag, if not provided, the default language will be used

Get User Interaction Configuration

php
InteractionHelper::fresnsUserInteraction($langTag);
Parameter NameTypeRequiredDescription
langTagStringoptionalIf empty, the default language is used.

Get Group Interaction Configuration

php
InteractionHelper::fresnsGroupInteraction($langTag);
Parameter NameTypeRequiredDescription
langTagStringoptionalIf empty, the default language is used.

Get Hashtag Interaction Configuration

php
InteractionHelper::fresnsHashtagInteraction($langTag);
Parameter NameTypeRequiredDescription
langTagStringoptionalIf empty, the default language is used.

Get Post Interaction Configuration

php
InteractionHelper::fresnsPostInteraction($langTag);
Parameter NameTypeRequiredDescription
langTagStringoptionalIf empty, the default language is used.

Get Comment Interaction Configuration

php
InteractionHelper::fresnsCommentInteraction($langTag);
Parameter NameTypeRequiredDescription
langTagStringoptionalIf empty, the default language is used.

Get Substitution User Information

php
InteractionHelper::fresnsUserSubstitutionProfile($type);
Parameter NameTypeRequiredDescription
typeStringoptionalanonymous or deactivate

Released under the Apache-2.0 License