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

config_comment.php

Zuletzt modifiziert: 09.10.2024, 12:54 - Dateigröße: 916.00 Bytes


 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\search\sphinx;
 15   
 16  /**
 17  * \phpbb\search\sphinx\config_comment
 18  * Represents a comment inside the sphinx configuration
 19  */
 20  class config_comment
 21  {
 22      private $exact_string;
 23   
 24      /**
 25      * Create a new comment
 26      *
 27      * @param    string    $exact_string    The content of the comment including newlines, leading whitespace, etc.
 28      *
 29      * @access    public
 30      */
 31      function __construct($exact_string)
 32      {
 33          $this->exact_string = $exact_string;
 34      }
 35   
 36      /**
 37      * Simply returns the comment as it was created
 38      *
 39      * @return    string    The exact string that was specified in the constructor
 40      *
 41      * @access    public
 42      */
 43      function to_string()
 44      {
 45          return $this->exact_string;
 46      }
 47  }
 48