@@ -53,7 +53,7 @@ The following functions are available:
53
53
54
54
.. literalinclude :: html_helper/004.php
55
55
56
- .. php :function :: img_data([$src = '' [, $indexPage = false[, $attributes = '']] ])
56
+ .. php :function :: img_data($path [, $mime = null ])
57
57
58
58
:param string $path: Path to the image file
59
59
:param string|null $mime: MIME type to use, or null to guess
@@ -261,7 +261,7 @@ The following functions are available:
261
261
262
262
Identical to :php:func: `video() `, only it produces ``<audio> `` element instead of ``<video> ``.
263
263
264
- .. php :function :: source($src = '' [, $type = false[, $attributes = '']])
264
+ .. php :function :: source($src[, $type = false[, $attributes = '']])
265
265
266
266
:param string $src: The path of the media resource
267
267
:param bool $type: The MIME-type of the resource with optional codecs parameters
@@ -288,7 +288,7 @@ The following functions are available:
288
288
289
289
.. literalinclude :: html_helper/016.php
290
290
291
- .. php :function :: object($data = ''[, $type = false [, $attributes = '' ]])
291
+ .. php :function :: object($data[, $type = 'unknown '[, $attributes = '' [, $params = [][, $indexPage = false]] ]])
292
292
293
293
:param string $data: A resource URL
294
294
:param bool $type: Content-type of the resource
@@ -313,7 +313,7 @@ The following functions are available:
313
313
<param name =" hello" type =" ref" value =" world" class =" test" />
314
314
</object >
315
315
316
- .. php :function :: param($name = ''[, $type = false [, $attributes = '']])
316
+ .. php :function :: param($name = ''[, $value = ''[, $ type = 'ref' [, $attributes = ''] ]])
317
317
318
318
:param string $name: The name of the parameter
319
319
:param string $value: The value of the parameter
0 commit comments