Skip to content

Commit de35cf4

Browse files
authored
docs: Fix track function definition in helpers/html_helper.rst
Fix track function definition in helpers/html_helper.rst
1 parent c326cd1 commit de35cf4

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

user_guide_src/source/helpers/html_helper.rst

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -326,11 +326,12 @@ The following functions are available:
326326

327327
.. literalinclude:: html_helper/018.php
328328

329-
.. php:function:: track($name = ''[, $type = false[, $attributes = '']])
329+
.. php:function:: track($src, $kind, $srcLanguage, $label)
330330
331-
:param string $name: The name of the parameter
332-
:param string $value: The value of the parameter
333-
:param array $attributes: HTML attributes
331+
:param string $src: The path of the media resource
332+
:param string $kind: The kind of timed track
333+
:param string $srcLanguage: The language of the timed track
334+
:param string $label: A user-readable title for the timed track
334335
:returns: An HTML track element
335336
:rtype: string
336337

0 commit comments

Comments
 (0)