You are here

function KalturaHelpers::flashVarsToString in Kaltura 5

Same name and namespace in other branches
  1. 6.2 kaltura_client/kaltura_helpers.php \KalturaHelpers::flashVarsToString()
  2. 6 kaltura_client/kaltura_helpers.php \KalturaHelpers::flashVarsToString()
  3. 7.2 kaltura_client/kaltura_helpers.php \KalturaHelpers::flashVarsToString()
2 calls to KalturaHelpers::flashVarsToString()
kaltura_contribution_wizard in includes/kaltura.themeing.inc
kaltura_simple_editor in includes/kaltura.themeing.inc

File

kaltura_client/kaltura_helpers.php, line 85

Class

KalturaHelpers

Code

function flashVarsToString($flashVars) {
  $flashVarsStr = "";
  foreach ($flashVars as $key => $value) {
    $flashVarsStr .= $key . "=" . urlencode($value) . "&";
  }
  return substr($flashVarsStr, 0, strlen($flashVarsStr) - 1);
}