Skip to content

Commit

Permalink
Merge pull request #9164 from obozdag/patch-22
Browse files Browse the repository at this point in the history
docs: Fix track function definition in helpers/html_helper.rst
  • Loading branch information
kenjis authored Sep 6, 2024
2 parents 008f2a9 + e81e8e7 commit f8e36d9
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions user_guide_src/source/helpers/html_helper.rst
Original file line number Diff line number Diff line change
Expand Up @@ -325,11 +325,12 @@ The following functions are available:

.. literalinclude:: html_helper/018.php

.. php:function:: track($name = ''[, $type = false[, $attributes = '']])
.. php:function:: track($src, $kind, $srcLanguage, $label)
:param string $name: The name of the parameter
:param string $value: The value of the parameter
:param array $attributes: HTML attributes
:param string $src: The path of the track (.vtt file)
:param string $kind: The kind of timed track
:param string $srcLanguage: The language of the timed track
:param string $label: A user-readable title for the timed track
:returns: An HTML track element
:rtype: string

Expand Down

0 comments on commit f8e36d9

Please sign in to comment.