You are here

function views_php_handler_field::pre_render in Views PHP 6

Implements views_handler_field#pre_render().

File

plugins/views/views_php_handler_field.inc, line 221

Class

views_php_handler_field
A handler to provide a field that is constructed by the administrator using PHP.

Code

function pre_render(&$values) {
  if (!empty($this->options['php_output'])) {
    $this->php_output_lambda_function = create_function('$view, $handler, &$static, $row, $data, $value', ' ?>' . $this->options['php_output'] . '<?php ');
  }
}