[ Index ]

PHP Cross Reference of MyBB 1.8.30

title

Body

[close]

/inc/3rdparty/diff/Diff/ThreeWay/Op/ -> Copy.php (source)

   1  <?php
   2  /**
   3   * Copyright 2007-2017 Horde LLC (http://www.horde.org/)
   4   *
   5   * See the enclosed file COPYING for license information (LGPL). If you did
   6   * not receive this file, see http://www.horde.org/licenses/lgpl21.
   7   *
   8   * @package Text_Diff
   9   * @author  Geoffrey T. Dairiki <dairiki@dairiki.org>
  10   */
  11  
  12  // Disallow direct access to this file for security reasons
  13  if(!defined("IN_MYBB"))
  14  {
  15      die("Direct initialization of this file is not allowed.<br /><br />Please make sure IN_MYBB is defined.");
  16  }
  17  
  18  class Horde_Text_Diff_ThreeWay_Op_Copy extends Horde_Text_Diff_ThreeWay_Op_Base
  19  {
  20      public function __construct($lines = false)
  21      {
  22          $this->orig = $lines ? $lines : array();
  23          $this->final1 = &$this->orig;
  24          $this->final2 = &$this->orig;
  25      }
  26  
  27      public function merged()
  28      {
  29          return $this->orig;
  30      }
  31  
  32      public function isConflict()
  33      {
  34          return false;
  35      }
  36  }


2005 - 2021 © MyBB.de | Alle Rechte vorbehalten! | Sponsor: netcup Cross-referenced by PHPXref