I have the following code:
<?php $myVariablePHP?>
.
.
.
MultiView::create(array(
"name" => "multiviewer2",
"dataSource" => $this->dataStore("ventasHoy"),
"clientEvents" => array(
"changed" => "function(params){
var myVariable=params.index;
}",
),
....));
How to pass the variable MyVariable to php code, for example to the variable $myVariablePHP