@@ -38,16 +38,15 @@ The following functions are available:
38
38
39
39
.. literalinclude :: html_helper/002.php
40
40
41
- There is an optional second parameter that is a true/false value that
42
- specifics if the *src * should have the page specified by
43
- ``$config['indexPage'] `` added to the address it creates.
41
+ There is an optional second parameter, a true/false value, that
42
+ specifies if the *src * should have ``$config['indexPage'] `` added to the address it creates.
44
43
Presumably, this would be if you were using a media controller:
45
44
46
45
.. literalinclude :: html_helper/003.php
47
46
48
47
Additionally, an associative array can be passed as the first parameter,
49
48
for complete control over all attributes and values. If an *alt * attribute
50
- is not provided, CodeIgniter will generate an empty string.
49
+ is not provided, CodeIgniter will generate one with empty string.
51
50
52
51
Example:
53
52
@@ -220,8 +219,8 @@ The following functions are available:
220
219
:returns: An HTML video element
221
220
:rtype: string
222
221
223
- Permits you to generate HTML video element from simple or
224
- source arrays. Example:
222
+ Permits you to generate an HTML video element from a source string or an array of sources.
223
+ Example:
225
224
226
225
.. literalinclude :: html_helper/014.php
227
226
@@ -269,8 +268,8 @@ The following functions are available:
269
268
:returns: An HTML source element
270
269
:rtype: string
271
270
272
- Lets you create HTML ``<source> `` elements. The first parameter contains the
273
- source source. Example:
271
+ Lets you create HTML ``<source> `` elements. The first parameter contains the path of the resource.
272
+ Example:
274
273
275
274
.. literalinclude :: html_helper/015.php
276
275
@@ -352,11 +351,11 @@ The following functions are available:
352
351
353
352
.. literalinclude :: html_helper/020.php
354
353
355
- The following is a list of the pre-defined doctype choices . These are configurable,
356
- pulled from **app/Config/DocTypes.php **, or they could be over-ridden in your **.env ** configuration.
354
+ The following is a list of the pre-defined doctypes . These are
355
+ pulled from **app/Config/DocTypes.php **, or they could be overridden in your **.env ** configuration.
357
356
358
357
=============================== =================== ==================================================================================================================================================
359
- Document type Option Result
358
+ Document type $type parameter Result
360
359
=============================== =================== ==================================================================================================================================================
361
360
XHTML 1.1 xhtml11 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
362
361
XHTML 1.0 Strict xhtml1-strict <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
0 commit comments