@@ -5,252 +5,252 @@ |
||
| 5 | 5 | * Marker, hommage to Christian François Bouche-Villeneuve aka Chris Marker |
| 6 | 6 | */ |
| 7 | 7 | |
| 8 | - /** |
|
| 9 | - * show off @method |
|
| 10 | - * |
|
| 11 | - * @method string abbr(string $innertext, array \$attributes\) |
|
| 12 | - * creates an abbreviation or an acronym |
|
| 13 | - * @method string acronym(string $innertext, array \$attributes\) |
|
| 14 | - * creates an acronym (not supported in HTML5. use abbr() instead) |
|
| 15 | - * @method string address(string $innertext, array \$attributes\) |
|
| 16 | - * creates contact information for the author/owner of a document |
|
| 17 | - * @method string applet(string $innertext, array \$attributes\) |
|
| 18 | - * creates an embedded applet (not supported in HTML5. use embed() or <object> instead) |
|
| 19 | - * @method string area(string $innertext, array \$attributes\) |
|
| 20 | - * creates an area inside an image map |
|
| 21 | - * @method string article(string $innertext, array \$attributes\) |
|
| 22 | - * creates an article |
|
| 23 | - * @method string aside(string $innertext, array \$attributes\) |
|
| 24 | - * creates content aside from the page content |
|
| 25 | - * @method string audio(string $innertext, array \$attributes\) |
|
| 26 | - * creates embedded sound content |
|
| 27 | - * @method string b(string $innertext, array \$attributes\) |
|
| 28 | - * creates bold text |
|
| 29 | - * @method string base(string $innertext, array \$attributes\) |
|
| 30 | - * creates an element that specifies the base url/target for all relative urls in a document |
|
| 31 | - * @method string basefont(string $innertext, array \$attributes\) |
|
| 32 | - * creates an element that specifies a default color, size, and font |
|
| 33 | - * for all text in a document (not supported in HTML5. use CSS instead) |
|
| 34 | - * @method string bdi(string $innertext, array \$attributes\) |
|
| 35 | - * creates an element that isolates a part of text that might be formatted |
|
| 36 | - * in a different direction from other text outside it |
|
| 37 | - * @method string bdo(string $innertext, array \$attributes\) |
|
| 38 | - * creates an element that overrides the current text direction |
|
| 39 | - * @method string big(string $innertext, array \$attributes\) |
|
| 40 | - * creates an element that defines big text (not supported in HTML5. use CSS instead) |
|
| 41 | - * @method string blockquote(string $innertext, array \$attributes\) |
|
| 42 | - * creates a section that is quoted from another source |
|
| 43 | - * @method string body(string $innertext, array \$attributes\) |
|
| 44 | - * creates the document's body |
|
| 45 | - * @method string br(string $innertext, array \$attributes\) |
|
| 46 | - * creates a single line break |
|
| 47 | - * @method string button(string $innertext, array \$attributes\) |
|
| 48 | - * creates a clickable button |
|
| 49 | - * @method string canvas(string $innertext, array \$attributes\) |
|
| 50 | - * used to draw graphics, on the fly, via scripting (usually javascript) |
|
| 51 | - * @method string caption(string $innertext, array \$attributes\) |
|
| 52 | - * creates a table caption |
|
| 53 | - * @method string center(string $innertext, array \$attributes\) |
|
| 54 | - * defines centered text (not supported in HTML5. use CSS instead) |
|
| 55 | - * @method string cite(string $innertext, array \$attributes\) |
|
| 56 | - * creates the title of a work |
|
| 57 | - * @method string code(string $innertext, array \$attributes\) |
|
| 58 | - * creates a piece of computer code |
|
| 59 | - * @method string col(string $innertext, array \$attributes\) |
|
| 60 | - * specifies column properties for each column within a <colgroup> element |
|
| 61 | - * @method string colgroup(string $innertext, array \$attributes\) |
|
| 62 | - * specifies a group of one or more columns in a table for formatting |
|
| 63 | - * @method string data(string $innertext, array \$attributes\) |
|
| 64 | - * adds a machine-readable translation of a given content |
|
| 65 | - * @method string datalist(string $innertext, array \$attributes\) |
|
| 66 | - * specifies a list of pre-defined options for input controls |
|
| 67 | - * @method string dd(string $innertext, array \$attributes\) |
|
| 68 | - * creates a description/value of a term in a description list |
|
| 69 | - * @method string del(string $innertext, array \$attributes\) |
|
| 70 | - * creates text that has been deleted from a document |
|
| 71 | - * @method string details(string $innertext, array \$attributes\) |
|
| 72 | - * creates additional details that the user can view or hide |
|
| 73 | - * @method string dfn(string $innertext, array \$attributes\) |
|
| 74 | - * specifies a term that is going to be defined within the content |
|
| 75 | - * @method string dialog(string $innertext, array \$attributes\) |
|
| 76 | - * creates a dialog box or window |
|
| 77 | - * @method string dir(string $innertext, array \$attributes\) |
|
| 78 | - * defines a directory list (not supported in HTML5. use ul() instead) |
|
| 79 | - * @method string div(string $innertext, array \$attributes\) |
|
| 80 | - * creates a section in a document |
|
| 81 | - * @method string dl(string $innertext, array \$attributes\) |
|
| 82 | - * creates a description list |
|
| 83 | - * @method string dt(string $innertext, array \$attributes\) |
|
| 84 | - * creates a term/name in a description list |
|
| 85 | - * @method string em(string $innertext, array \$attributes\) |
|
| 86 | - * creates emphasized text |
|
| 87 | - * @method string embed(string $innertext, array \$attributes\) |
|
| 88 | - * creates a container for an external application |
|
| 89 | - * @method string fieldset(string $innertext, array \$attributes\) |
|
| 90 | - * groups related elements in a form |
|
| 91 | - * @method string figcaption(string $innertext, array \$attributes\) |
|
| 92 | - * creates a caption for a <figure> element |
|
| 93 | - * @method string figure(string $innertext, array \$attributes\) |
|
| 94 | - * specifies self-contained content |
|
| 95 | - * @method string font(string $innertext, array \$attributes\) |
|
| 96 | - * defines font, color, and size for text (not supported in HTML5. use CSS instead) |
|
| 97 | - * @method string footer(string $innertext, array \$attributes\) |
|
| 98 | - * creates a footer for a document or section |
|
| 99 | - * @method string form(string $innertext, array \$attributes\) |
|
| 100 | - * creates an HTML form for user input |
|
| 101 | - * @method string frame(string $innertext, array \$attributes\) |
|
| 102 | - * defines a window (a frame) in a frameset (not supported in HTML5) |
|
| 103 | - * @method string frameset(string $innertext, array \$attributes\) |
|
| 104 | - * defines a set of frames (not supported in HTML5) |
|
| 105 | - * @method string h1(string $innertext, array \$attributes\) |
|
| 106 | - * creates HTML headings 1 |
|
| 107 | - * @method string h2(string $innertext, array \$attributes\) |
|
| 108 | - * creates HTML headings 2 |
|
| 109 | - * @method string h3(string $innertext, array \$attributes\) |
|
| 110 | - * creates HTML headings 3 |
|
| 111 | - * @method string h4(string $innertext, array \$attributes\) |
|
| 112 | - * creates HTML headings 4 |
|
| 113 | - * @method string h5(string $innertext, array \$attributes\) |
|
| 114 | - * creates HTML headings 5 |
|
| 115 | - * @method string h6(string $innertext, array \$attributes\) |
|
| 116 | - * creates HTML headings 6 |
|
| 117 | - * @method string head(string $innertext, array \$attributes\) |
|
| 118 | - * contains metadata/information for the document |
|
| 119 | - * @method string header(string $innertext, array \$attributes\) |
|
| 120 | - * creates a header for a document or section |
|
| 121 | - * @method string hr(string $innertext, array \$attributes\) |
|
| 122 | - * creates a thematic change in the content |
|
| 123 | - * @method string html(string $innertext, array \$attributes\) |
|
| 124 | - * creates the root of an HTML document |
|
| 125 | - * @method string i(string $innertext, array \$attributes\) |
|
| 126 | - * creates a part of text in an alternate voice or mood |
|
| 127 | - * @method string iframe(string $innertext, array \$attributes\) |
|
| 128 | - * creates an inline frame |
|
| 129 | - * @method string input(string $innertext, array \$attributes\) |
|
| 130 | - * creates an input control |
|
| 131 | - * @method string ins(string $innertext, array \$attributes\) |
|
| 132 | - * creates a text that has been inserted into a document |
|
| 133 | - * @method string kbd(string $innertext, array \$attributes\) |
|
| 134 | - * creates keyboard input |
|
| 135 | - * @method string label(string $innertext, array \$attributes\) |
|
| 136 | - * creates a label for an <input> element |
|
| 137 | - * @method string legend(string $innertext, array \$attributes\) |
|
| 138 | - * creates a caption for a <fieldset> element |
|
| 139 | - * @method string li(string $innertext, array \$attributes\) |
|
| 140 | - * creates a list item |
|
| 141 | - * @method string link(string $innertext, array \$attributes\) |
|
| 142 | - * creates the relationship between a document and an external resource (most used to link to style sheets) |
|
| 143 | - * @method string main(string $innertext, array \$attributes\) |
|
| 144 | - * specifies the main content of a document |
|
| 145 | - * @method string map(string $innertext, array \$attributes\) |
|
| 146 | - * creates an image map |
|
| 147 | - * @method string mark(string $innertext, array \$attributes\) |
|
| 148 | - * creates marked/highlighted text |
|
| 149 | - * @method string meta(string $innertext, array \$attributes\) |
|
| 150 | - * creates metadata about an HTML document |
|
| 151 | - * @method string meter(string $innertext, array \$attributes\) |
|
| 152 | - * creates a scalar measurement within a known range (a gauge) |
|
| 153 | - * @method string nav(string $innertext, array \$attributes\) |
|
| 154 | - * creates navigation links |
|
| 155 | - * @method string noframes(string $innertext, array \$attributes\) |
|
| 156 | - * defines an alternate content for users that do not support frames (not supported in HTML5) |
|
| 157 | - * @method string noscript(string $innertext, array \$attributes\) |
|
| 158 | - * creates an alternate content for users that do not support client-side scripts |
|
| 159 | - * @method string object(string $innertext, array \$attributes\) |
|
| 160 | - * creates a container for an external application |
|
| 161 | - * @method string ol(string $innertext, array \$attributes\) |
|
| 162 | - * creates an ordered list |
|
| 163 | - * @method string optgroup(string $innertext, array \$attributes\) |
|
| 164 | - * creates a group of related options in a drop-down list |
|
| 165 | - * @method string option(string $innertext, array \$attributes\) |
|
| 166 | - * creates an option in a drop-down list |
|
| 167 | - * @method string output(string $innertext, array \$attributes\) |
|
| 168 | - * creates the result of a calculation |
|
| 169 | - * @method string p(string $innertext, array \$attributes\) |
|
| 170 | - * creates a paragraph |
|
| 171 | - * @method string param(string $innertext, array \$attributes\) |
|
| 172 | - * creates a parameter for an object |
|
| 173 | - * @method string picture(string $innertext, array \$attributes\) |
|
| 174 | - * creates a container for multiple image resources |
|
| 175 | - * @method string pre(string $innertext, array \$attributes\) |
|
| 176 | - * creates preformatted text |
|
| 177 | - * @method string progress(string $innertext, array \$attributes\) |
|
| 178 | - * represents the progress of a task |
|
| 179 | - * @method string q(string $innertext, array \$attributes\) |
|
| 180 | - * creates a short quotation |
|
| 181 | - * @method string rp(string $innertext, array \$attributes\) |
|
| 182 | - * creates what to show in browsers that do not support ruby annotations |
|
| 183 | - * @method string rt(string $innertext, array \$attributes\) |
|
| 184 | - * creates an explanation/pronunciation of characters (for east asian typography) |
|
| 185 | - * @method string ruby(string $innertext, array \$attributes\) |
|
| 186 | - * creates a ruby annotation (for east asian typography) |
|
| 187 | - * @method string s(string $innertext, array \$attributes\) |
|
| 188 | - * creates text that is no longer correct |
|
| 189 | - * @method string samp(string $innertext, array \$attributes\) |
|
| 190 | - * creates sample output from a computer program |
|
| 191 | - * @method string script(string $innertext, array \$attributes\) |
|
| 192 | - * creates a client-side script |
|
| 193 | - * @method string section(string $innertext, array \$attributes\) |
|
| 194 | - * creates a section in a document |
|
| 195 | - * @method string select(string $innertext, array \$attributes\) |
|
| 196 | - * creates a drop-down list |
|
| 197 | - * @method string small(string $innertext, array \$attributes\) |
|
| 198 | - * creates smaller text |
|
| 199 | - * @method string source(string $innertext, array \$attributes\) |
|
| 200 | - * creates multiple media resources for media elements (<video> and <audio>) |
|
| 201 | - * @method string span(string $innertext, array \$attributes\) |
|
| 202 | - * creates a section in a document |
|
| 203 | - * @method string strike(string $innertext, array \$attributes\) |
|
| 204 | - * defines strikethrough text not supported in HTML5. use del() or s() instead. |
|
| 205 | - * @method string strong(string $innertext, array \$attributes\) |
|
| 206 | - * creates important text |
|
| 207 | - * @method string style(string $innertext, array \$attributes\) |
|
| 208 | - * creates style information for a document |
|
| 209 | - * @method string sub(string $innertext, array \$attributes\) |
|
| 210 | - * creates subscripted text |
|
| 211 | - * @method string summary(string $innertext, array \$attributes\) |
|
| 212 | - * creates a visible heading for a <details> element |
|
| 213 | - * @method string sup(string $innertext, array \$attributes\) |
|
| 214 | - * creates superscripted text |
|
| 215 | - * @method string svg(string $innertext, array \$attributes\) |
|
| 216 | - * creates a container for svg graphics |
|
| 217 | - * @method string table(string $innertext, array \$attributes\) |
|
| 218 | - * creates a table |
|
| 219 | - * @method string tbody(string $innertext, array \$attributes\) |
|
| 220 | - * groups the body content in a table |
|
| 221 | - * @method string td(string $innertext, array \$attributes\) |
|
| 222 | - * creates a cell in a table |
|
| 223 | - * @method string template(string $innertext, array \$attributes\) |
|
| 224 | - * creates a container for content that should be hidden when the page loads |
|
| 225 | - * @method string textarea(string $innertext, array \$attributes\) |
|
| 226 | - * creates a multiline input control (text area) |
|
| 227 | - * @method string tfoot(string $innertext, array \$attributes\) |
|
| 228 | - * groups the footer content in a table |
|
| 229 | - * @method string th(string $innertext, array \$attributes\) |
|
| 230 | - * creates a header cell in a table |
|
| 231 | - * @method string thead(string $innertext, array \$attributes\) |
|
| 232 | - * groups the header content in a table |
|
| 233 | - * @method string time(string $innertext, array \$attributes\) |
|
| 234 | - * creates a specific time (or datetime) |
|
| 235 | - * @method string title(string $innertext, array \$attributes\) |
|
| 236 | - * creates a title for the document |
|
| 237 | - * @method string tr(string $innertext, array \$attributes\) |
|
| 238 | - * creates a row in a table |
|
| 239 | - * @method string track(string $innertext, array \$attributes\) |
|
| 240 | - * creates text tracks for media elements (<video> and <audio>) |
|
| 241 | - * @method string tt(string $innertext, array \$attributes\) |
|
| 242 | - * creates an element that defines teletype text (not supported in HTML5. use CSS instead) |
|
| 243 | - * @method string u(string $innertext, array \$attributes\) |
|
| 244 | - * creates some text that is unarticulated and styled differently from normal text |
|
| 245 | - * @method string ul(string $innertext, array \$attributes\) |
|
| 246 | - * creates an unordered list |
|
| 247 | - * @method string var(string $innertext, array \$attributes\) |
|
| 248 | - * creates a variable |
|
| 249 | - * @method string video(string $innertext, array \$attributes\) |
|
| 250 | - * creates embedded video content |
|
| 251 | - * @method string wbr(string $innertext, array \$attributes\) |
|
| 252 | - * creates a possible line-break |
|
| 253 | - */ |
|
| 8 | + /** |
|
| 9 | + * show off @method |
|
| 10 | + * |
|
| 11 | + * @method string abbr(string $innertext, array \$attributes\) |
|
| 12 | + * creates an abbreviation or an acronym |
|
| 13 | + * @method string acronym(string $innertext, array \$attributes\) |
|
| 14 | + * creates an acronym (not supported in HTML5. use abbr() instead) |
|
| 15 | + * @method string address(string $innertext, array \$attributes\) |
|
| 16 | + * creates contact information for the author/owner of a document |
|
| 17 | + * @method string applet(string $innertext, array \$attributes\) |
|
| 18 | + * creates an embedded applet (not supported in HTML5. use embed() or <object> instead) |
|
| 19 | + * @method string area(string $innertext, array \$attributes\) |
|
| 20 | + * creates an area inside an image map |
|
| 21 | + * @method string article(string $innertext, array \$attributes\) |
|
| 22 | + * creates an article |
|
| 23 | + * @method string aside(string $innertext, array \$attributes\) |
|
| 24 | + * creates content aside from the page content |
|
| 25 | + * @method string audio(string $innertext, array \$attributes\) |
|
| 26 | + * creates embedded sound content |
|
| 27 | + * @method string b(string $innertext, array \$attributes\) |
|
| 28 | + * creates bold text |
|
| 29 | + * @method string base(string $innertext, array \$attributes\) |
|
| 30 | + * creates an element that specifies the base url/target for all relative urls in a document |
|
| 31 | + * @method string basefont(string $innertext, array \$attributes\) |
|
| 32 | + * creates an element that specifies a default color, size, and font |
|
| 33 | + * for all text in a document (not supported in HTML5. use CSS instead) |
|
| 34 | + * @method string bdi(string $innertext, array \$attributes\) |
|
| 35 | + * creates an element that isolates a part of text that might be formatted |
|
| 36 | + * in a different direction from other text outside it |
|
| 37 | + * @method string bdo(string $innertext, array \$attributes\) |
|
| 38 | + * creates an element that overrides the current text direction |
|
| 39 | + * @method string big(string $innertext, array \$attributes\) |
|
| 40 | + * creates an element that defines big text (not supported in HTML5. use CSS instead) |
|
| 41 | + * @method string blockquote(string $innertext, array \$attributes\) |
|
| 42 | + * creates a section that is quoted from another source |
|
| 43 | + * @method string body(string $innertext, array \$attributes\) |
|
| 44 | + * creates the document's body |
|
| 45 | + * @method string br(string $innertext, array \$attributes\) |
|
| 46 | + * creates a single line break |
|
| 47 | + * @method string button(string $innertext, array \$attributes\) |
|
| 48 | + * creates a clickable button |
|
| 49 | + * @method string canvas(string $innertext, array \$attributes\) |
|
| 50 | + * used to draw graphics, on the fly, via scripting (usually javascript) |
|
| 51 | + * @method string caption(string $innertext, array \$attributes\) |
|
| 52 | + * creates a table caption |
|
| 53 | + * @method string center(string $innertext, array \$attributes\) |
|
| 54 | + * defines centered text (not supported in HTML5. use CSS instead) |
|
| 55 | + * @method string cite(string $innertext, array \$attributes\) |
|
| 56 | + * creates the title of a work |
|
| 57 | + * @method string code(string $innertext, array \$attributes\) |
|
| 58 | + * creates a piece of computer code |
|
| 59 | + * @method string col(string $innertext, array \$attributes\) |
|
| 60 | + * specifies column properties for each column within a <colgroup> element |
|
| 61 | + * @method string colgroup(string $innertext, array \$attributes\) |
|
| 62 | + * specifies a group of one or more columns in a table for formatting |
|
| 63 | + * @method string data(string $innertext, array \$attributes\) |
|
| 64 | + * adds a machine-readable translation of a given content |
|
| 65 | + * @method string datalist(string $innertext, array \$attributes\) |
|
| 66 | + * specifies a list of pre-defined options for input controls |
|
| 67 | + * @method string dd(string $innertext, array \$attributes\) |
|
| 68 | + * creates a description/value of a term in a description list |
|
| 69 | + * @method string del(string $innertext, array \$attributes\) |
|
| 70 | + * creates text that has been deleted from a document |
|
| 71 | + * @method string details(string $innertext, array \$attributes\) |
|
| 72 | + * creates additional details that the user can view or hide |
|
| 73 | + * @method string dfn(string $innertext, array \$attributes\) |
|
| 74 | + * specifies a term that is going to be defined within the content |
|
| 75 | + * @method string dialog(string $innertext, array \$attributes\) |
|
| 76 | + * creates a dialog box or window |
|
| 77 | + * @method string dir(string $innertext, array \$attributes\) |
|
| 78 | + * defines a directory list (not supported in HTML5. use ul() instead) |
|
| 79 | + * @method string div(string $innertext, array \$attributes\) |
|
| 80 | + * creates a section in a document |
|
| 81 | + * @method string dl(string $innertext, array \$attributes\) |
|
| 82 | + * creates a description list |
|
| 83 | + * @method string dt(string $innertext, array \$attributes\) |
|
| 84 | + * creates a term/name in a description list |
|
| 85 | + * @method string em(string $innertext, array \$attributes\) |
|
| 86 | + * creates emphasized text |
|
| 87 | + * @method string embed(string $innertext, array \$attributes\) |
|
| 88 | + * creates a container for an external application |
|
| 89 | + * @method string fieldset(string $innertext, array \$attributes\) |
|
| 90 | + * groups related elements in a form |
|
| 91 | + * @method string figcaption(string $innertext, array \$attributes\) |
|
| 92 | + * creates a caption for a <figure> element |
|
| 93 | + * @method string figure(string $innertext, array \$attributes\) |
|
| 94 | + * specifies self-contained content |
|
| 95 | + * @method string font(string $innertext, array \$attributes\) |
|
| 96 | + * defines font, color, and size for text (not supported in HTML5. use CSS instead) |
|
| 97 | + * @method string footer(string $innertext, array \$attributes\) |
|
| 98 | + * creates a footer for a document or section |
|
| 99 | + * @method string form(string $innertext, array \$attributes\) |
|
| 100 | + * creates an HTML form for user input |
|
| 101 | + * @method string frame(string $innertext, array \$attributes\) |
|
| 102 | + * defines a window (a frame) in a frameset (not supported in HTML5) |
|
| 103 | + * @method string frameset(string $innertext, array \$attributes\) |
|
| 104 | + * defines a set of frames (not supported in HTML5) |
|
| 105 | + * @method string h1(string $innertext, array \$attributes\) |
|
| 106 | + * creates HTML headings 1 |
|
| 107 | + * @method string h2(string $innertext, array \$attributes\) |
|
| 108 | + * creates HTML headings 2 |
|
| 109 | + * @method string h3(string $innertext, array \$attributes\) |
|
| 110 | + * creates HTML headings 3 |
|
| 111 | + * @method string h4(string $innertext, array \$attributes\) |
|
| 112 | + * creates HTML headings 4 |
|
| 113 | + * @method string h5(string $innertext, array \$attributes\) |
|
| 114 | + * creates HTML headings 5 |
|
| 115 | + * @method string h6(string $innertext, array \$attributes\) |
|
| 116 | + * creates HTML headings 6 |
|
| 117 | + * @method string head(string $innertext, array \$attributes\) |
|
| 118 | + * contains metadata/information for the document |
|
| 119 | + * @method string header(string $innertext, array \$attributes\) |
|
| 120 | + * creates a header for a document or section |
|
| 121 | + * @method string hr(string $innertext, array \$attributes\) |
|
| 122 | + * creates a thematic change in the content |
|
| 123 | + * @method string html(string $innertext, array \$attributes\) |
|
| 124 | + * creates the root of an HTML document |
|
| 125 | + * @method string i(string $innertext, array \$attributes\) |
|
| 126 | + * creates a part of text in an alternate voice or mood |
|
| 127 | + * @method string iframe(string $innertext, array \$attributes\) |
|
| 128 | + * creates an inline frame |
|
| 129 | + * @method string input(string $innertext, array \$attributes\) |
|
| 130 | + * creates an input control |
|
| 131 | + * @method string ins(string $innertext, array \$attributes\) |
|
| 132 | + * creates a text that has been inserted into a document |
|
| 133 | + * @method string kbd(string $innertext, array \$attributes\) |
|
| 134 | + * creates keyboard input |
|
| 135 | + * @method string label(string $innertext, array \$attributes\) |
|
| 136 | + * creates a label for an <input> element |
|
| 137 | + * @method string legend(string $innertext, array \$attributes\) |
|
| 138 | + * creates a caption for a <fieldset> element |
|
| 139 | + * @method string li(string $innertext, array \$attributes\) |
|
| 140 | + * creates a list item |
|
| 141 | + * @method string link(string $innertext, array \$attributes\) |
|
| 142 | + * creates the relationship between a document and an external resource (most used to link to style sheets) |
|
| 143 | + * @method string main(string $innertext, array \$attributes\) |
|
| 144 | + * specifies the main content of a document |
|
| 145 | + * @method string map(string $innertext, array \$attributes\) |
|
| 146 | + * creates an image map |
|
| 147 | + * @method string mark(string $innertext, array \$attributes\) |
|
| 148 | + * creates marked/highlighted text |
|
| 149 | + * @method string meta(string $innertext, array \$attributes\) |
|
| 150 | + * creates metadata about an HTML document |
|
| 151 | + * @method string meter(string $innertext, array \$attributes\) |
|
| 152 | + * creates a scalar measurement within a known range (a gauge) |
|
| 153 | + * @method string nav(string $innertext, array \$attributes\) |
|
| 154 | + * creates navigation links |
|
| 155 | + * @method string noframes(string $innertext, array \$attributes\) |
|
| 156 | + * defines an alternate content for users that do not support frames (not supported in HTML5) |
|
| 157 | + * @method string noscript(string $innertext, array \$attributes\) |
|
| 158 | + * creates an alternate content for users that do not support client-side scripts |
|
| 159 | + * @method string object(string $innertext, array \$attributes\) |
|
| 160 | + * creates a container for an external application |
|
| 161 | + * @method string ol(string $innertext, array \$attributes\) |
|
| 162 | + * creates an ordered list |
|
| 163 | + * @method string optgroup(string $innertext, array \$attributes\) |
|
| 164 | + * creates a group of related options in a drop-down list |
|
| 165 | + * @method string option(string $innertext, array \$attributes\) |
|
| 166 | + * creates an option in a drop-down list |
|
| 167 | + * @method string output(string $innertext, array \$attributes\) |
|
| 168 | + * creates the result of a calculation |
|
| 169 | + * @method string p(string $innertext, array \$attributes\) |
|
| 170 | + * creates a paragraph |
|
| 171 | + * @method string param(string $innertext, array \$attributes\) |
|
| 172 | + * creates a parameter for an object |
|
| 173 | + * @method string picture(string $innertext, array \$attributes\) |
|
| 174 | + * creates a container for multiple image resources |
|
| 175 | + * @method string pre(string $innertext, array \$attributes\) |
|
| 176 | + * creates preformatted text |
|
| 177 | + * @method string progress(string $innertext, array \$attributes\) |
|
| 178 | + * represents the progress of a task |
|
| 179 | + * @method string q(string $innertext, array \$attributes\) |
|
| 180 | + * creates a short quotation |
|
| 181 | + * @method string rp(string $innertext, array \$attributes\) |
|
| 182 | + * creates what to show in browsers that do not support ruby annotations |
|
| 183 | + * @method string rt(string $innertext, array \$attributes\) |
|
| 184 | + * creates an explanation/pronunciation of characters (for east asian typography) |
|
| 185 | + * @method string ruby(string $innertext, array \$attributes\) |
|
| 186 | + * creates a ruby annotation (for east asian typography) |
|
| 187 | + * @method string s(string $innertext, array \$attributes\) |
|
| 188 | + * creates text that is no longer correct |
|
| 189 | + * @method string samp(string $innertext, array \$attributes\) |
|
| 190 | + * creates sample output from a computer program |
|
| 191 | + * @method string script(string $innertext, array \$attributes\) |
|
| 192 | + * creates a client-side script |
|
| 193 | + * @method string section(string $innertext, array \$attributes\) |
|
| 194 | + * creates a section in a document |
|
| 195 | + * @method string select(string $innertext, array \$attributes\) |
|
| 196 | + * creates a drop-down list |
|
| 197 | + * @method string small(string $innertext, array \$attributes\) |
|
| 198 | + * creates smaller text |
|
| 199 | + * @method string source(string $innertext, array \$attributes\) |
|
| 200 | + * creates multiple media resources for media elements (<video> and <audio>) |
|
| 201 | + * @method string span(string $innertext, array \$attributes\) |
|
| 202 | + * creates a section in a document |
|
| 203 | + * @method string strike(string $innertext, array \$attributes\) |
|
| 204 | + * defines strikethrough text not supported in HTML5. use del() or s() instead. |
|
| 205 | + * @method string strong(string $innertext, array \$attributes\) |
|
| 206 | + * creates important text |
|
| 207 | + * @method string style(string $innertext, array \$attributes\) |
|
| 208 | + * creates style information for a document |
|
| 209 | + * @method string sub(string $innertext, array \$attributes\) |
|
| 210 | + * creates subscripted text |
|
| 211 | + * @method string summary(string $innertext, array \$attributes\) |
|
| 212 | + * creates a visible heading for a <details> element |
|
| 213 | + * @method string sup(string $innertext, array \$attributes\) |
|
| 214 | + * creates superscripted text |
|
| 215 | + * @method string svg(string $innertext, array \$attributes\) |
|
| 216 | + * creates a container for svg graphics |
|
| 217 | + * @method string table(string $innertext, array \$attributes\) |
|
| 218 | + * creates a table |
|
| 219 | + * @method string tbody(string $innertext, array \$attributes\) |
|
| 220 | + * groups the body content in a table |
|
| 221 | + * @method string td(string $innertext, array \$attributes\) |
|
| 222 | + * creates a cell in a table |
|
| 223 | + * @method string template(string $innertext, array \$attributes\) |
|
| 224 | + * creates a container for content that should be hidden when the page loads |
|
| 225 | + * @method string textarea(string $innertext, array \$attributes\) |
|
| 226 | + * creates a multiline input control (text area) |
|
| 227 | + * @method string tfoot(string $innertext, array \$attributes\) |
|
| 228 | + * groups the footer content in a table |
|
| 229 | + * @method string th(string $innertext, array \$attributes\) |
|
| 230 | + * creates a header cell in a table |
|
| 231 | + * @method string thead(string $innertext, array \$attributes\) |
|
| 232 | + * groups the header content in a table |
|
| 233 | + * @method string time(string $innertext, array \$attributes\) |
|
| 234 | + * creates a specific time (or datetime) |
|
| 235 | + * @method string title(string $innertext, array \$attributes\) |
|
| 236 | + * creates a title for the document |
|
| 237 | + * @method string tr(string $innertext, array \$attributes\) |
|
| 238 | + * creates a row in a table |
|
| 239 | + * @method string track(string $innertext, array \$attributes\) |
|
| 240 | + * creates text tracks for media elements (<video> and <audio>) |
|
| 241 | + * @method string tt(string $innertext, array \$attributes\) |
|
| 242 | + * creates an element that defines teletype text (not supported in HTML5. use CSS instead) |
|
| 243 | + * @method string u(string $innertext, array \$attributes\) |
|
| 244 | + * creates some text that is unarticulated and styled differently from normal text |
|
| 245 | + * @method string ul(string $innertext, array \$attributes\) |
|
| 246 | + * creates an unordered list |
|
| 247 | + * @method string var(string $innertext, array \$attributes\) |
|
| 248 | + * creates a variable |
|
| 249 | + * @method string video(string $innertext, array \$attributes\) |
|
| 250 | + * creates embedded video content |
|
| 251 | + * @method string wbr(string $innertext, array \$attributes\) |
|
| 252 | + * creates a possible line-break |
|
| 253 | + */ |
|
| 254 | 254 | namespace HexMakina\Marker; |
| 255 | 255 | |
| 256 | 256 | class Marker |
@@ -32,7 +32,7 @@ |
||
| 32 | 32 | |
| 33 | 33 | foreach ($this->attributeList as $k => $v) { |
| 34 | 34 | if (!is_null($v) && $v !== '' && !is_array($v)) { |
| 35 | - $ret .= is_int($k) ? " $v" : sprintf(' %s="%s"', $k, $v); |
|
| 35 | + $ret .= is_int($k) ? " $v" : sprintf(' %s="%s"', $k, $v); |
|
| 36 | 36 | } |
| 37 | 37 | } |
| 38 | 38 | |
@@ -12,10 +12,10 @@ discard block |
||
| 12 | 12 | { |
| 13 | 13 | // arguments [name, value, [attributes], [errors]] |
| 14 | 14 | $i = 0; |
| 15 | - $field_name = $arguments[$i++] ?? null; |
|
| 15 | + $field_name = $arguments[$i++] ?? null; |
|
| 16 | 16 | $field_value = $arguments[$i++] ?? null; |
| 17 | - $attributes = $arguments[$i++] ?? []; |
|
| 18 | - $errors = $arguments[$i++] ?? []; |
|
| 17 | + $attributes = $arguments[$i++] ?? []; |
|
| 18 | + $errors = $arguments[$i++] ?? []; |
|
| 19 | 19 | |
| 20 | 20 | |
| 21 | 21 | $attributes['type'] = $element_type; |
@@ -63,7 +63,7 @@ discard block |
||
| 63 | 63 | foreach ($option_list as $value => $label) { |
| 64 | 64 | $option_attributes = ['value' => $value]; |
| 65 | 65 | if ($selected == $value) { |
| 66 | - $option_attributes['selected'] = 'selected'; |
|
| 66 | + $option_attributes['selected'] = 'selected'; |
|
| 67 | 67 | } |
| 68 | 68 | |
| 69 | 69 | $options .= new Element('option', $label, $option_attributes); |
@@ -113,6 +113,6 @@ discard block |
||
| 113 | 113 | } |
| 114 | 114 | |
| 115 | 115 | // vd($attributes, $tag); |
| 116 | - return $label . (new Element($tag, $content, $attributes)); |
|
| 116 | + return $label.(new Element($tag, $content, $attributes)); |
|
| 117 | 117 | } |
| 118 | 118 | } |