static function LingotekOAuthRequestLogger::addNote in Lingotek Translation 7.7
Same name and namespace in other branches
- 7.4 lib/oauth-php/library/LingotekOAuthRequestLogger.php \LingotekOAuthRequestLogger::addNote()
- 7.5 lib/oauth-php/library/LingotekOAuthRequestLogger.php \LingotekOAuthRequestLogger::addNote()
- 7.6 lib/oauth-php/library/LingotekOAuthRequestLogger.php \LingotekOAuthRequestLogger::addNote()
* Add a note, used by the OAuthException2 to log all exceptions. * *
Parameters
string note:
2 calls to LingotekOAuthRequestLogger::addNote()
- LingotekOAuthServer::authorizeFinish in lib/
oauth-php/ library/ LingotekOAuthServer.php - * Overrule this method when you want to display a nice page when * the authorization is finished. This function does not know if the authorization was * succesfull, you need to check the token in the database. * *
- OAuthException2::__construct in lib/
oauth-php/ library/ OAuthException2.php
File
- lib/
oauth-php/ library/ LingotekOAuthRequestLogger.php, line 213
Class
- LingotekOAuthRequestLogger
- Log OAuth requests
Code
static function addNote($note) {
LingotekOAuthRequestLogger::$note .= $note . "\n\n";
}