You are here

private static function OAuthRequest::generate_timestamp in OAuth 1.0 6

Same name and namespace in other branches
  1. 6.3 lib/OAuth.php \OAuthRequest::generate_timestamp()
  2. 7.3 lib/OAuth.php \OAuthRequest::generate_timestamp()

util function: current timestamp

1 call to OAuthRequest::generate_timestamp()
OAuthRequest::from_consumer_and_token in ./OAuth.php
pretty much a helper function to set up the request

File

./OAuth.php, line 388

Class

OAuthRequest

Code

private static function generate_timestamp() {

  /*{{{*/
  return time();
}