[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

/lib/markdown/ -> MarkdownInterface.php (source)

   1  <?php
   2  #
   3  # Markdown  -  A text-to-HTML conversion tool for web writers
   4  #
   5  # PHP Markdown
   6  # Copyright (c) 2004-2015 Michel Fortin
   7  # <https://michelf.ca/projects/php-markdown/>
   8  #
   9  # Original Markdown
  10  # Copyright (c) 2004-2006 John Gruber
  11  # <https://daringfireball.net/projects/markdown/>
  12  #
  13  namespace Michelf;
  14  
  15  
  16  #
  17  # Markdown Parser Interface
  18  #
  19  
  20  interface MarkdownInterface {
  21  
  22    #
  23    # Initialize the parser and return the result of its transform method.
  24    # This will work fine for derived classes too.
  25    #
  26    public static function defaultTransform($text);
  27  
  28    #
  29    # Main function. Performs some preprocessing on the input text
  30    # and pass it through the document gamut.
  31    #
  32    public function transform($text);
  33  
  34  }


Generated: Thu Aug 11 10:00:09 2016 Cross-referenced by PHPXref 0.7.1