.. saf_config.php generated using docpx on 01/30/13 03:58pm Class ***** SAF_Config ========== Methods ------- setAppType ++++++++++ .. function:: setAppType() Set app type :param string: getAppType ++++++++++ .. function:: getAppType() Get app id setAppId ++++++++ .. function:: setAppId() Set app id :param string: getAppId ++++++++ .. function:: getAppId() Get app id setAppSecret ++++++++++++ .. function:: setAppSecret() Set app secret :param string: getAppSecret ++++++++++++ .. function:: getAppSecret() Get app secret setFileUpload +++++++++++++ .. function:: setFileUpload() Set file upload :param bool: getFileUpload +++++++++++++ .. function:: getFileUpload() Get file upload setAppName ++++++++++ .. function:: setAppName() Set app name :param string: getAppName ++++++++++ .. function:: getAppName() Get app name setAppNamespace +++++++++++++++ .. function:: setAppNamespace() Set app namespace :param string: getAppNamespace +++++++++++++++ .. function:: getAppNamespace() Get app namespace setAdmins +++++++++ .. function:: setAdmins() Set admins :param string: comma delimited getAdmins +++++++++ .. function:: getAdmins() Get admins setDevelopers +++++++++++++ .. function:: setDevelopers() Set developers :param string: comma delimited getDevelopers +++++++++++++ .. function:: getDevelopers() Get developers setBaseUrl ++++++++++ .. function:: setBaseUrl() Set base URL :param string: getBaseUrl ++++++++++ .. function:: getBaseUrl() Get base URL getCanvasUrl ++++++++++++ .. function:: getCanvasUrl() Get Canvas URL getTabUrl +++++++++ .. function:: getTabUrl() Get Tab URL getAddTabUrl ++++++++++++ .. function:: getAddTabUrl() Get Add Tab URL setExtendedPerms ++++++++++++++++ .. function:: setExtendedPerms() Set extended perms :param string: getExtendedPerms ++++++++++++++++ .. function:: getExtendedPerms() Get extended perms setExtendedPermsAdmin +++++++++++++++++++++ .. function:: setExtendedPermsAdmin() Set extended perms for the admin :param string: getExtendedPermsAdmin +++++++++++++++++++++ .. function:: getExtendedPermsAdmin() Get extended perms for the admin setFanPageHash ++++++++++++++ .. function:: setFanPageHash() Set fan page hash This is used as a fallback value :param string: getFanPageHash ++++++++++++++ .. function:: getFanPageHash() Get fan page hash setForceFacebookView ++++++++++++++++++++ .. function:: setForceFacebookView() Set force Facebook view Force user to view the tab or canvas app within Facebook :param bool: getForceFacebookView ++++++++++++++++++++ .. function:: getForceFacebookView() Get force Facebook view setThirdPartyCookieFix ++++++++++++++++++++++ .. function:: setThirdPartyCookieFix() Set force session redirect Fixes an issue with browsers that block 3rd party cookies :param bool: getThirdPartyCookieFix ++++++++++++++++++++++ .. function:: getThirdPartyCookieFix() Get force session redirect setGraphUserFields ++++++++++++++++++ .. function:: setGraphUserFields() Set graph user fields :param string: comma delimited getGraphUserFields ++++++++++++++++++ .. function:: getGraphUserFields() Get graph user fields setGraphPageFields ++++++++++++++++++ .. function:: setGraphPageFields() Set graph page fields :param string: comma delimited getGraphPageFields ++++++++++++++++++ .. function:: getGraphPageFields() Get graph page fields setLogoutRoute ++++++++++++++ .. function:: setLogoutRoute() Set logout route :param string: getLogoutRoute ++++++++++++++ .. function:: getLogoutRoute() Get logout route setPageId +++++++++ .. function:: setPageId() Set page ID Only use this if you need page data on a Canvas, Facebook Connect app or AJAX request where the Page data is not known. :param string: getPageId +++++++++ .. function:: getPageId() Get page ID Constants --------- APP_TYPE_TAB ++++++++++++ APP_TYPE_CANVAS +++++++++++++++ APP_TYPE_FACEBOOK_CONNECT +++++++++++++++++++++++++ URL_CANVAS ++++++++++ URL_PAGE_TAB ++++++++++++ URL_ADD_PAGE_TAB ++++++++++++++++