PluginProbe ʕ •ᴥ•ʔ
Booking for Appointments and Events Calendar – Amelia / 2.4.4
Booking for Appointments and Events Calendar – Amelia v2.4.4
2.4.4 2.4.3 2.4.2 2.4.1 2.4 trunk 1.2.1 1.2.10 1.2.11 1.2.12 1.2.13 1.2.14 1.2.15 1.2.16 1.2.17 1.2.18 1.2.19 1.2.2 1.2.20 1.2.21 1.2.22 1.2.23 1.2.24 1.2.25 1.2.26 1.2.27 1.2.28 1.2.29 1.2.3 1.2.30 1.2.31 1.2.32 1.2.33 1.2.34 1.2.35 1.2.36 1.2.37 1.2.38 1.2.4 1.2.5 1.2.6 1.2.7 1.2.8 1.2.9 2.0 2.0.1 2.0.2 2.1 2.1.1 2.1.2 2.1.3 2.2 2.2.1 2.3
ameliabooking / vendor / masterminds / html5 / src / HTML5 / Serializer / RulesInterface.php
ameliabooking / vendor / masterminds / html5 / src / HTML5 / Serializer Last commit date
HTML5Entities.php 6 months ago OutputRules.php 6 months ago README.md 1 year ago RulesInterface.php 6 months ago Traverser.php 6 months ago
RulesInterface.php
100 lines
1 <?php
2 /**
3 * @file
4 * The interface definition for Rules to generate output.
5 */
6
7 namespace AmeliaVendor\Masterminds\HTML5\Serializer;
8
9 /**
10 * To create a new rule set for writing output the RulesInterface needs to be implemented.
11 * The resulting class can be specified in the options with the key of rules.
12 *
13 * For an example implementation see Serializer\OutputRules.
14 */
15 interface RulesInterface
16 {
17 /**
18 * The class constructor.
19 *
20 * Note, before the rules can be used a traverser must be registered.
21 *
22 * @param mixed $output The output stream to write output to.
23 * @param array $options An array of options.
24 */
25 public function __construct($output, $options = array());
26
27 /**
28 * Register the traverser used in but the rules.
29 *
30 * Note, only one traverser can be used by the rules.
31 *
32 * @param Traverser $traverser The traverser used in the rules.
33 *
34 * @return RulesInterface $this for the current object.
35 */
36 public function setTraverser(Traverser $traverser);
37
38 /**
39 * Write a document element (\DOMDocument).
40 *
41 * Instead of returning the result write it to the output stream ($output)
42 * that was passed into the constructor.
43 *
44 * @param \DOMDocument $dom
45 */
46 public function document($dom);
47
48 /**
49 * Write an element.
50 *
51 * Instead of returning the result write it to the output stream ($output)
52 * that was passed into the constructor.
53 *
54 * @param mixed $ele
55 */
56 public function element($ele);
57
58 /**
59 * Write a text node.
60 *
61 * Instead of returning the result write it to the output stream ($output)
62 * that was passed into the constructor.
63 *
64 * @param mixed $ele
65 */
66 public function text($ele);
67
68 /**
69 * Write a CDATA node.
70 *
71 * Instead of returning the result write it to the output stream ($output)
72 * that was passed into the constructor.
73 *
74 * @param mixed $ele
75 */
76 public function cdata($ele);
77
78 /**
79 * Write a comment node.
80 *
81 * Instead of returning the result write it to the output stream ($output)
82 * that was passed into the constructor.
83 *
84 * @param mixed $ele
85 */
86 public function comment($ele);
87
88 /**
89 * Write a processor instruction.
90 *
91 * To learn about processor instructions see InstructionProcessor
92 *
93 * Instead of returning the result write it to the output stream ($output)
94 * that was passed into the constructor.
95 *
96 * @param mixed $ele
97 */
98 public function processorInstruction($ele);
99 }
100