<?php
/**
 * @author Arkadiusz Bisaga <abisaga@telaxus.com>
 * @copyright Copyright &copy; 2007, Janusz Tylek
 * @version 1.0
 * @license MIT
 * @package epesi-tests
 * @subpackage Report
 */
defined("_VALID_ACCESS") || die('Direct access forbidden');

class Tests_ReportCommon extends ModuleCommon {
	public static function menu() {
		return array('Tests'=>array('__submenu__'=>1, 'Reports - Companies'=>array()));	
	}

	public static function display_company($record, $nolink=false) {
		$def = Utils_RecordBrowserCommon::create_linked_label_r('company', 'Company Name', $record, $nolink);
		if (!$def) return '---';
		return $def;
	}
}

?>