Skip to content

Manage

getPortalContent

php
\FresnsCmdWord::plugin('Fresns')->getPortalContent($wordBody);
Parameter NameTypeRequiredDescription
platformIdNumberrequiredPlatform ID (Key value of the platforms key name in the configuration table)
langTagStringoptionalLanguage tag, if not provided, the default language will be used

updatePortalContent

php
\FresnsCmdWord::plugin('Fresns')->updatePortalContent($wordBody);
Parameter NameTypeRequiredDescription
platformIdNumberrequiredPlatform ID (Key value of the platforms key name in the configuration table)
langTagStringoptionalLanguage tag, if not provided, the default language will be used
contentStringoptionalLeave blank to update to null

checkExtendPerm

php
\FresnsCmdWord::plugin('Fresns')->checkExtendPerm($wordBody);
Parameter NameTypeRequiredDescription
fskeyStringrequiredPlugin Fskey
typeNumberrequiredplugin_usages->usage_type
uidNumberoptionalIf you don't pass it on, you're a guest.
gidStringoptionalPassed values indicate extended functions for the group

Released under the Apache-2.0 License