@@ -28,9 +28,9 @@ The following functions are available:
28
28
.. php :function :: img([$src = ''[, $indexPage = false[, $attributes = '']]])
29
29
30
30
:param string|array $src: Image source URI, or array of attributes and values
31
- :param bool $indexPage: Whether to treat `` $src `` as a routed URI string
31
+ :param bool $indexPage: Should `` Config\App::$indexPage `` be added to the source path
32
32
:param mixed $attributes: Additional HTML attributes
33
- :returns: HTML image element
33
+ :returns: An HTML image element
34
34
:rtype: string
35
35
36
36
Lets you create HTML ``<img> `` elements. The first parameter contains the
@@ -80,14 +80,14 @@ The following functions are available:
80
80
:param string $type: Type of the related document
81
81
:param string $title: Link title
82
82
:param string $media: Media type
83
- :param bool $indexPage: Whether to treat `` $src `` as a routed URI string
83
+ :param bool $indexPage: Should indexPage be added to the link path
84
84
:param string $hreflang: Hreflang type
85
85
:returns: An HTML link element
86
86
:rtype: string
87
87
88
88
Lets you create HTML ``<link> `` elements. This is useful for stylesheet links,
89
89
as well as other links. The parameters are *href *, with optional *rel *,
90
- *type *, *title *, *media * and *indexPage *.
90
+ *type *, *title *, *media *, * indexPage * and *hreflang *.
91
91
92
92
*indexPage * is a boolean value that specifies if the *href * should have
93
93
the page specified by ``$config['indexPage'] `` added to the address it creates.
@@ -215,7 +215,7 @@ The following functions are available:
215
215
:param string $unsupportedMessage: The message to display if the video element is not supported by the browser
216
216
:param string $attributes: HTML attributes
217
217
:param array $tracks: Use the track function inside an array. See :php:func: `track() ` function
218
- :param bool $indexPage:
218
+ :param bool $indexPage: Should indexPage be added to the video source path
219
219
:returns: An HTML video element
220
220
:rtype: string
221
221
@@ -254,7 +254,7 @@ The following functions are available:
254
254
:param string $unsupportedMessage: The message to display if the audio element is not supported by the browser
255
255
:param string $attributes:
256
256
:param array $tracks: Use the track function inside an array. See :php:func: `track() ` function
257
- :param bool $indexPage:
257
+ :param bool $indexPage: Should indexPage be added to the audio source path
258
258
:returns: An HTML audio element
259
259
:rtype: string
260
260
@@ -278,7 +278,7 @@ The following functions are available:
278
278
:param string $src: The path of the resource to embed
279
279
:param bool $type: MIME-type
280
280
:param array $attributes: HTML attributes
281
- :param bool $indexPage:
281
+ :param bool $indexPage: Should indexPage be added to the source path
282
282
:returns: An HTML embed element
283
283
:rtype: string
284
284
@@ -292,6 +292,7 @@ The following functions are available:
292
292
:param string $data: A resource URL
293
293
:param bool $type: Content-type of the resource
294
294
:param array $attributes: HTML attributes
295
+ :param bool $indexPage: Should indexPage be added to the resource URL
295
296
:param array $params: Use the param function inside an array. See :php:func: `param() ` function
296
297
:returns: An HTML object element
297
298
:rtype: string
0 commit comments