API Documentation
  • API Documentation
    • Namespaces
    •  ParagonIE
    •  Sodium
    •  global
    • Packages
    •  Akismet
    •  AtomLib
    •  External
    •  Hello_Dolly
    •  IXR
    •  PHP
    •  PHPMailer
    •  PemFTP
    •  Requests
    •  SimplePie
    •  Text_Diff
    •  WordPress
    •  phpass
    •  plugins
    •  pomo
  • Charts
    •  Class hierarchy diagram
  • Reports
    •  Errors  3253
    •  Markers 
      •  Deprecated elements  477
    Back to top  
    •  Methods
      • PHP4 constructor.
        Text_Diff()
      • Computes diffs between sequences of strings.
        __construct()
      • Checks a diff for validity.
        _check()
      • Determines the location of the system temporary directory.
        _getTempDir()
      • returns the number of new (added) lines in a given diff.
        countAddedLines()
      • Returns the number of deleted (removed) lines in a given diff.
        countDeletedLines()
      • Returns the array of differences.
        getDiff()
      • Gets the final set of lines.
        getFinal()
      • Gets the original set of lines.
        getOriginal()
      • Checks for an empty diff.
        isEmpty()
      • Computes the length of the Longest Common Subsequence (LCS).
        lcs()
      • Computes a reversed diff.
        reverse()
      • Removes trailing newlines from a line of text. This is meant to be used with array_walk().
        trimNewlines()
    •  Properties
      • $_edits
    • \