[ Index ]

PHP Cross Reference of phpBB-3.3.12-deutsch

title

Body

[close]

/phpbb/lock/ -> posting.php (summary)

This file is part of the phpBB Forum Software package.

Copyright: (c) phpBB Limited
License: GNU General Public License, version 2 (GPL-2.0)
File Size: 77 lines (2 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

posting:: (3 methods):
  __construct()
  set_lock_name()
  acquire()


Class: posting  - X-Ref

__construct(cache_interface $cache, config $config)   X-Ref
Constructor for posting lock

param: cache_interface $cache
param: config $config

set_lock_name(int $creation_time, string $form_token)   X-Ref
Set lock name

return: void
param: int $creation_time Creation time of form, must be checked already
param: string $form_token Form token used for form, must be checked already

acquire(int $creation_time, string $form_token)   X-Ref
Acquire lock for current posting form submission

return: bool True if lock could be acquired, false if not
param: int $creation_time Creation time of form, must be checked already
param: string $form_token Form token used for form, must be checked already



Generated: Sun Jun 23 12:25:44 2024 Cross-referenced by PHPXref 0.7.1