function &displayListyear(&$layout_def) { global $app_list_strings; $value = parent::displayListPlain($layout_def); return $value; }
function displayList($layout_def) { global $timedate; // i guess qualifier and column_function are the same.. if (!empty($layout_def['column_function'])) { $func_name = 'displayList' . $layout_def['column_function']; if (method_exists($this, $func_name)) { return $this->{$func_name}($layout_def) . " \n"; } } $content = parent::displayListPlain($layout_def); return $timedate->to_display_date_time($content); }
function &displayListyear(&$layout_def) { global $app_list_strings; //if ($this->reporter->db->dbType == 'oci8' || $this->reporter->db->dbType == 'mssql') { return parent::displayListPlain($layout_def); //} /*else{ $match = array(); if (preg_match('/(\d{4})/', $this->displayListPlain($layout_def), $match)) { return $match[1]; } $temp = null; // avoid notices return $temp; }*/ }
/** * Returns the value to be displayed for the group by * * @param $layout_def - group by layout def * @return string - string for display */ public function displayListfiscalYear($layout_def) { global $app_list_strings; $value = parent::displayListPlain($layout_def); return $value; }