You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+3Lines changed: 3 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -86,12 +86,15 @@ Attach one of these parameters to the url to modify the PHP SDK behaviour
86
86
| getDevice() | Returns user device information || array |
87
87
| getDeviceType() | Returns the device type of the current device mobile, tablet, desktop || string |
88
88
| getEnvironment() | Returns if the app currently running on a website, facebook or direct website means the app is embedded via iframe to a website facebook means the app is embedded in a facebook page tab direct means the app is being accessed directly without iframe embed || string |
89
+
| getExpirationDate() | Returns a Datetime object, containing the date, the app license expires || DateTime |
89
90
| getFacebook() | Returns all available Facebook information, like currently used fanpage and canvas information. |||
90
91
| getLang() | Returns the currently used Language as Language Code (e.g. de_DE, en_US, ...) || string |
91
92
| getParams() | Returns all params submitted to the SmartLink before redirection || array |
92
93
| getOperatingSystem() | Returns the operating system of the current user || string |
94
+
| getStartDate() | Returns a Datetime object, containing the date, the app should be publicly accessible || DateTime |
93
95
| getUrl() | Returns the SmartLink Url for Sharing || string |
94
96
| getUrlLong() | Returns the SmartLink Url without Url Shortener |`bool` $shorten Shorten URL using smartl.ink | string |
97
+
| getUserLimit() | Returns the number of users exportable for an app || int |
95
98
| renderSharePage ($debug = false) | Renders the complete HTML of the Share page including all meta tags and redirection. |`bool` $debug - Show debug information on the page? | string |
96
99
| setBaseUrl($base_url) | Sets a new base url for your sharing links (->getUrl()). |`string` $base_url New base url | void |
97
100
| setFilename($filename) | Sets the filename for the SmartLink (default: smartlink.php) |`string` $filename | void |
0 commit comments