Skip to content
This repository has been archived by the owner on Apr 30, 2020. It is now read-only.

Commit

Permalink
docs(lib/Utils): Add DocBlock for Oembed Util (#219)
Browse files Browse the repository at this point in the history
  • Loading branch information
vandebled authored and Doğa Gürdal committed Jun 12, 2017
1 parent 5709a65 commit 2370364
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions lib/Utils/Oembed.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,17 @@

class Oembed
{
/**
* Sets an oembed source as data attribute.
* Possibility to append query variables to the URL by using additional get parameters.
*
* @since %%NEXT_VERSION%%
*
* @param $iframeTagHtml string The oembed iframe HTML tag.
* @param $additionalGetParams array Associative array of key/values of additional query variables to append to the url.
*
* @return string The modified oembed iframe HTML tag.
*/
public static function setSrcAsDataAttribute($iframeTagHtml, $additionalGetParams)
{
$output = '';
Expand Down

0 comments on commit 2370364

Please # to comment.