add deps
[pharext/pharext.org] / deps / markdown.api.php
1 <?php
2
3 namespace
4 {
5
6 class MarkdownDocument
7 {
8 const NOLINKS = 1;
9 const NOIMAGE = 2;
10 const NOPANTS = 4;
11 const NOHTML = 8;
12 const STRICT = 16;
13 const TAGTEXT = 32;
14 const NO_EXT = 64;
15 const CDATA = 128;
16 const NOSUPERSCRIPT = 256;
17 const NORELAXED = 512;
18 const NOTABLES = 1024;
19 const NOSTRIKETHROUGH = 2048;
20 const TOC = 4096;
21 const ONE_COMPAT = 8192;
22 const AUTOLINK = 16384;
23 const SAFELINK = 32768;
24 const NOHEADER = 65536;
25 const TABSTOP = 131072;
26 const NODIVQUOTE = 262144;
27 const NOALPHALIST = 524288;
28 const NODLIST = 1048576;
29 const EMBED = 35;
30 const EXTRA_FOOTNOTE = 2097152;
31
32 protected function __construct() {
33 }
34
35 public static function createFromStream($markdown_stream, $flags = NULL) {
36 }
37
38 public static function createFromString($markdown_doc, $flags = NULL) {
39 }
40
41 final protected function initFromStream($markdown_stream, $flags = NULL) {
42 }
43
44 final protected function initFromString($markdown_doc, $flags = NULL) {
45 }
46
47 public function compile($flags = NULL) {
48 }
49
50 public function isCompiled() {
51 }
52
53 public function dumpTree($out_stream, $title = NULL) {
54 }
55
56 public static function transformFragment($markdown_fragment, $flags = NULL) {
57 }
58
59 public static function writeFragment($markdown_fragment, $out_stream, $flags = NULL) {
60 }
61
62 public function setReferencePrefix($prefix) {
63 }
64
65 public function getTitle() {
66 }
67
68 public function getAuthor() {
69 }
70
71 public function getDate() {
72 }
73
74 public function getHtml() {
75 }
76
77 public function writeHtml($markdown_outstream) {
78 }
79
80 public function writeXhtmlPage($markdown_outstream) {
81 }
82
83 public function getToc() {
84 }
85
86 public function getCss() {
87 }
88
89 public function writeToc($markdown_outstream) {
90 }
91
92 public function writeCss($markdown_outstream) {
93 }
94
95 public function setUrlCallback($callback) {
96 }
97
98 public function setAttributesCallback($callback) {
99 }
100
101 }
102 }
103