Skip to content

Commit

Permalink
docs: Fix track function definition in helpers/html_helper.rst
Browse files Browse the repository at this point in the history
Fix track function definition in helpers/html_helper.rst
  • Loading branch information
obozdag authored Sep 2, 2024
1 parent c326cd1 commit de35cf4
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 @@ -326,11 +326,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 media resource
: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 de35cf4

Please sign in to comment.