You are here

protected function Markdown::teardown in Markdown 7

* Called after the transformation process to clear any variable which may * be taking up memory unnecessarly. *

Return value

void

2 calls to Markdown::teardown()
Markdown::transform in includes/Markdown.php
* Main function. Performs some preprocessing on the input text and pass * it through the document gamut. * * @api * *
MarkdownExtra::teardown in includes/MarkdownExtra.php
* Clearing Extra-specific variables.
1 method overrides Markdown::teardown()
MarkdownExtra::teardown in includes/MarkdownExtra.php
* Clearing Extra-specific variables.

File

includes/Markdown.php, line 207

Class

Markdown
Markdown Parser Class

Namespace

Michelf

Code

protected function teardown() {
  $this->urls = array();
  $this->titles = array();
  $this->html_hashes = array();
}