1 | <?php |
||
20 | class SyntaxHighlighterConfig { |
||
21 | |||
22 | /** |
||
23 | * Blogger mode. |
||
24 | * |
||
25 | * @var bool |
||
26 | */ |
||
27 | private $bloggerMode; |
||
28 | |||
29 | /** |
||
30 | * Strings |
||
31 | * |
||
32 | * @var SyntaxHighlighterStrings |
||
33 | */ |
||
34 | private $strings; |
||
35 | |||
36 | /** |
||
37 | * Strip BRs. |
||
38 | * |
||
39 | * @var bool |
||
40 | */ |
||
41 | private $stripBrs; |
||
42 | |||
43 | /** |
||
44 | * Tag name. |
||
45 | * |
||
46 | * @var string |
||
47 | */ |
||
48 | private $tagName; |
||
49 | |||
50 | /** |
||
51 | * Constructor. |
||
52 | */ |
||
53 | public function __construct() { |
||
58 | |||
59 | /** |
||
60 | * Get the blogger mode. |
||
61 | * |
||
62 | * @return bool Returns the blogger mode. |
||
63 | */ |
||
64 | public function getBloggerMode() { |
||
67 | |||
68 | /** |
||
69 | * Get the strings. |
||
70 | * |
||
71 | * @return SyntaxHighlighterStrings Returns the strings |
||
72 | */ |
||
73 | public function getStrings() { |
||
76 | |||
77 | /** |
||
78 | * Get the strip BRs. |
||
79 | * |
||
80 | * @return bool Returns the strip BRs. |
||
81 | */ |
||
82 | public function getStripBrs() { |
||
85 | |||
86 | /** |
||
87 | * Get the tag name. |
||
88 | * |
||
89 | * @return string Returns the tag name. |
||
90 | */ |
||
91 | public function getTagName() { |
||
94 | |||
95 | /** |
||
96 | * Set the blogger mode. |
||
97 | * |
||
98 | * @param bool $bloggerMode The blogger mode. |
||
99 | * @return SyntaxHighlighterConfig Returns this config. |
||
100 | */ |
||
101 | public function setBloggerMode($bloggerMode) { |
||
105 | |||
106 | /** |
||
107 | * Set the strings. |
||
108 | * |
||
109 | * @param SyntaxHighlighterStrings|null $strings The strings. |
||
110 | * @return SyntaxHighlighterConfig Returns this config. |
||
111 | */ |
||
112 | public function setStrings(SyntaxHighlighterStrings $strings = null) { |
||
116 | |||
117 | /** |
||
118 | * Set the strip BRs. |
||
119 | * |
||
120 | * @param bool $stripBrs The strip BRs. |
||
121 | * @return SyntaxHighlighterConfig Returns this config. |
||
122 | */ |
||
123 | public function setStripBrs($stripBrs) { |
||
127 | |||
128 | /** |
||
129 | * Set the tag name. |
||
130 | * |
||
131 | * @param string $tagName The tag name. |
||
132 | * @return SyntaxHighlighterConfig Returns this config. |
||
133 | */ |
||
134 | public function setTagName($tagName) { |
||
138 | } |
||
139 |