You are here

function _draggableviews_eval_return in DraggableViews 7.2

Evaluates the given PHP code, with the given variables defined.

Parameters

$code: The PHP code to run, without <?php ?>

$arguments: Views arguments including values of exposed filters.

$view: The view being sorted.

Return value

The return value of the evaled code.

1 call to _draggableviews_eval_return()
draggableviews_join_handler::build_join in views/draggableviews_join_handler.inc
Build the SQL for the join this object represents.

File

./draggableviews.module, line 435

Code

function _draggableviews_eval_return($code, $arguments, $view) {
  return eval($code);
}