Verzeichnisstruktur phpBB-3.2.0


Veröffentlicht
06.01.2017

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

BaseClass.php

Zuletzt modifiziert: 09.10.2024, 12:57 - Dateigröße: 2.56 KiB


 001  <?php
 002  /*
 003   * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
 004   * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
 005   * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
 006   * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
 007   * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
 008   * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
 009   * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
 010   * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
 011   * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
 012   * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
 013   * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 014   *
 015   * This software consists of voluntary contributions made by many individuals
 016   * and is licensed under the MIT license.
 017   */
 018   
 019  namespace ProxyManagerTestAsset;
 020   
 021  /**
 022   * Base test class with various intercepted properties
 023   *
 024   * @author Marco Pivetta <ocramius@gmail.com>
 025   * @license MIT
 026   */
 027  class BaseClass implements BaseInterface
 028  {
 029      /**
 030       * @var string
 031       */
 032      public $publicProperty = 'publicPropertyDefault';
 033   
 034      /**
 035       * @var string
 036       */
 037      protected $protectedProperty = 'protectedPropertyDefault';
 038   
 039      /**
 040       * @var string
 041       */
 042      private $privateProperty = 'privatePropertyDefault';
 043   
 044      /**
 045       * @return string
 046       */
 047      public function publicMethod()
 048      {
 049          return 'publicMethodDefault';
 050      }
 051   
 052      /**
 053       * @return string
 054       */
 055      protected function protectedMethod()
 056      {
 057          return 'protectedMethodDefault';
 058      }
 059   
 060      /**
 061       * @return string
 062       */
 063      private function privateMethod()
 064      {
 065          return 'privateMethodDefault';
 066      }
 067   
 068      /**
 069       * @param \stdClass $param
 070       *
 071       * @return string
 072       */
 073      public function publicTypeHintedMethod(\stdClass $param)
 074      {
 075          return 'publicTypeHintedMethodDefault';
 076      }
 077   
 078      /**
 079       * @param array $param
 080       *
 081       * @return string
 082       */
 083      public function publicArrayHintedMethod(array $param)
 084      {
 085          return 'publicArrayHintedMethodDefault';
 086      }
 087   
 088      /**
 089       * @return string
 090       */
 091      public function & publicByReferenceMethod()
 092      {
 093          $returnValue = 'publicByReferenceMethodDefault';
 094   
 095          return $returnValue;
 096      }
 097   
 098      /**
 099       * @param mixed $param
 100       * @param mixed $byRefParam
 101       *
 102       * @return string
 103       */
 104      public function publicByReferenceParameterMethod($param, & $byRefParam)
 105      {
 106          return 'publicByReferenceParameterMethodDefault';
 107      }
 108  }
 109