original_string: public static function get_locked_page_at($time) {
          $recentsessionlocks = self::get_recent_session_locks();
          foreach ($recentsessionlocks as $recentsessionlock) {
              if ($time >= $recentsessionlock['gained'] &&
                  $time <= $recentsessionlock['released']) {
                  return $recentsessionlock;
              }
          }
      }
code: public static function get_locked_page_at($time) {
          $recentsessionlocks = self::get_recent_session_locks();
          foreach ($recentsessionlocks as $recentsessionlock) {
              if ($time >= $recentsessionlock['gained'] &&
                  $time <= $recentsessionlock['released']) {
                  return $recentsessionlock;
              }
          }
      }
code_tokens: public static function get_locked_page_at ( $ time ) { $ recentsessionlocks = self :: get_recent_session_locks ( ) ; foreach ( $ recentsessionlocks as $ recentsessionlock ) { if ( $ time >= $ recentsessionlock [ 'gained' ] && $ time <= $ recentsessionlock [ 'released' ] ) { return $ recentsessionlock ; } } }
docstring: Get the page that blocks other pages at a specific timestamp.
  
  Look for a page whose lock was gained before that timestamp, and released after that timestamp.
  
  @param  float $time Time before session lock starts.
  @return array|null
docstring_tokens: Get the page that blocks other pages at a specific timestamp .