@@ -27,7 +27,7 @@ The following functions are available:
27
27
.. php :function :: img([$src = ''[, $indexPage = false[, $attributes = '']]])
28
28
29
29
:param string|array $src: Image source URI, or array of attributes and values
30
- :param bool $indexPage: Whether to treat $src as a routed URI string
30
+ :param bool $indexPage: Whether to treat `` $src `` as a routed URI string
31
31
:param mixed $attributes: Additional HTML attributes
32
32
:returns: HTML image tag
33
33
:rtype: string
@@ -83,7 +83,7 @@ The following functions are available:
83
83
84
84
$src = img_data('path/img_without_extension', 'image/png'); // data:image/png;base64,HT5A822...
85
85
86
- Note that $path must exist and be a readable image format supported by the ``data: `` protocol.
86
+ Note that `` $path `` must exist and be a readable image format supported by the ``data: `` protocol.
87
87
This function is not recommended for very large files, but it provides a convenient way
88
88
of serving images from your app that are not web-accessible (e.g., in **public/ **).
89
89
@@ -94,7 +94,7 @@ The following functions are available:
94
94
:param string $type: Type of the related document
95
95
:param string $title: Link title
96
96
:param string $media: Media type
97
- :param bool $indexPage: Whether to treat $src as a routed URI string
97
+ :param bool $indexPage: Whether to treat `` $src `` as a routed URI string
98
98
:param string $hreflang: Hreflang type
99
99
:returns: HTML link tag
100
100
:rtype: string
@@ -135,7 +135,7 @@ The following functions are available:
135
135
.. php :function :: script_tag([$src = ''[, $indexPage = false]])
136
136
137
137
:param mixed $src: The source name of a JavaScript file
138
- :param bool $indexPage: Whether to treat $src as a routed URI string
138
+ :param bool $indexPage: Whether to treat `` $src `` as a routed URI string
139
139
:returns: HTML script tag
140
140
:rtype: string
141
141
0 commit comments