Outlast Apps - Variables and data
Outlast App variables
The variables below are avaible from php (via
$this->zajlib->variable->my_variable_name) or template variables (
oaapp– OaApp – the current outlast app
oaappurl– string – the full url to the current app controller.
oarealappurl– string – oaappurl may change if canvas features are enabled. oarealappurl will always be the full, original app url.
oaperma– string – permalink to the current app controller. user this in ogtags for canonical urls.
Same as the above variables you can access these from php (via
$this->zajlib->variable->my_variable_name) or template variables.
fbuser– FacebookUser – the current FacebookUser object. this is available if the user has accepted the app and has a valid session.
fbiframe– stdClass – a decoded version of Facebook signed_request (see docs). You can use this to verify user sessions, check which page tab we are on, etcetc.