aboutsummaryrefslogtreecommitdiffhomepage
path: root/inc/3rdparty/htmlpurifier/HTMLPurifier/Definition.php
diff options
context:
space:
mode:
authorNicolas LÅ“uillet <nicolas@loeuillet.org>2015-01-18 20:07:46 +0100
committerNicolas LÅ“uillet <nicolas@loeuillet.org>2015-01-18 20:07:46 +0100
commitadf17b677edeb2387671f6a0f12123e7497b5938 (patch)
tree8fd87d7bf5699488ffc12afa991011e80ac1011b /inc/3rdparty/htmlpurifier/HTMLPurifier/Definition.php
parent894cd087f41d605f2f093aaad1300825f705e009 (diff)
downloadwallabag-adf17b677edeb2387671f6a0f12123e7497b5938.tar.gz
wallabag-adf17b677edeb2387671f6a0f12123e7497b5938.tar.zst
wallabag-adf17b677edeb2387671f6a0f12123e7497b5938.zip
remove 3rd libraries
Diffstat (limited to 'inc/3rdparty/htmlpurifier/HTMLPurifier/Definition.php')
-rw-r--r--inc/3rdparty/htmlpurifier/HTMLPurifier/Definition.php55
1 files changed, 0 insertions, 55 deletions
diff --git a/inc/3rdparty/htmlpurifier/HTMLPurifier/Definition.php b/inc/3rdparty/htmlpurifier/HTMLPurifier/Definition.php
deleted file mode 100644
index f987e603..00000000
--- a/inc/3rdparty/htmlpurifier/HTMLPurifier/Definition.php
+++ /dev/null
@@ -1,55 +0,0 @@
1<?php
2
3/**
4 * Super-class for definition datatype objects, implements serialization
5 * functions for the class.
6 */
7abstract class HTMLPurifier_Definition
8{
9
10 /**
11 * Has setup() been called yet?
12 * @type bool
13 */
14 public $setup = false;
15
16 /**
17 * If true, write out the final definition object to the cache after
18 * setup. This will be true only if all invocations to get a raw
19 * definition object are also optimized. This does not cause file
20 * system thrashing because on subsequent calls the cached object
21 * is used and any writes to the raw definition object are short
22 * circuited. See enduser-customize.html for the high-level
23 * picture.
24 * @type bool
25 */
26 public $optimized = null;
27
28 /**
29 * What type of definition is it?
30 * @type string
31 */
32 public $type;
33
34 /**
35 * Sets up the definition object into the final form, something
36 * not done by the constructor
37 * @param HTMLPurifier_Config $config
38 */
39 abstract protected function doSetup($config);
40
41 /**
42 * Setup function that aborts if already setup
43 * @param HTMLPurifier_Config $config
44 */
45 public function setup($config)
46 {
47 if ($this->setup) {
48 return;
49 }
50 $this->setup = true;
51 $this->doSetup($config);
52 }
53}
54
55// vim: et sw=4 sts=4