"
Time:
\n"); return $options; } /** * Implements views_handler#option_definition(). */ function options_form(&$form, &$form_state) { parent::options_form($form, $form_state); $form += views_php_form_element($this, FALSE, array('php_output', t('Output code'), t('Code to construct the output of this area.'), TRUE), array('$view', '$handler', '$results') ); } /** * Implements views_handler_area#render(). */ function render($empty = FALSE) { // Ecexute output PHP code. if ((!$empty || !empty($this->options['empty'])) && !empty($this->options['php_output'])) { $function = create_function('$view, $handler, $results', ' ?>' . $this->options['php_output'] . 'view, $this, $this->view->result); return ob_get_clean(); } return ''; } }