Verzeichnisstruktur phpBB-3.1.0


Veröffentlicht
27.10.2014

So funktioniert es


Auf das letzte Element klicken. Dies geht jeweils ein Schritt zurück

Auf das Icon klicken, dies öffnet das Verzeichnis. Nochmal klicken schließt das Verzeichnis.
Auf den Verzeichnisnamen klicken, dies zeigt nur das Verzeichnis mit Inhalt an

(Beispiel Datei-Icons)

Auf das Icon klicken um den Quellcode anzuzeigen

parametrized.php

Zuletzt modifiziert: 09.10.2024, 12:54 - Dateigröße: 1.27 KiB


01  <?php
02  /**
03  *
04  * This file is part of the phpBB Forum Software package.
05  *
06  * @copyright (c) phpBB Limited <https://www.phpbb.com>
07  * @license GNU General Public License, version 2 (GPL-2.0)
08  *
09  * For full copyright and license information, please see
10  * the docs/CREDITS.txt file.
11  *
12  */
13   
14  namespace phpbb\cron\task;
15   
16  /**
17  * Parametrized cron task interface.
18  *
19  * Parametrized cron tasks are somewhat of a cross between regular cron tasks and
20  * delayed jobs. Whereas regular cron tasks perform some action globally,
21  * parametrized cron tasks perform actions on a particular object (or objects).
22  * Parametrized cron tasks do not make sense and are not usable without
23  * specifying these objects.
24  */
25  interface parametrized extends \phpbb\cron\task\task
26  {
27      /**
28      * Returns parameters of this cron task as an array.
29      *
30      * The array must map string keys to string values.
31      *
32      * @return array
33      */
34      public function get_parameters();
35   
36      /**
37      * Parses parameters found in $request, which is an instance of
38      * \phpbb\request\request_interface.
39      *
40      * $request contains user input and must not be trusted.
41      * Cron task must validate all data before using it.
42      *
43      * @param \phpbb\request\request_interface $request Request object.
44      *
45      * @return null
46      */
47      public function parse_parameters(\phpbb\request\request_interface $request);
48  }
49