Back to PhocaDownloadRenderFront class

Method userTabOrdering

public static
userTabOrdering
()

Method userTabOrdering - Source code

public static function userTabOrdering()
{
    $js = "\t" . '<script language="javascript" type="text/javascript">' . "\n" . 'function tableOrdering( order, dir, task )' . "\n" . '{ ' . "\n" . "\t" . 'var form = document.phocadownloadfilesform;' . "\n" . "\t" . 'form.filter_order.value 		= order;' . "\n" . "\t" . 'form.filter_order_Dir.value	= dir;' . "\n" . "\t" . 'document.phocadownloadfilesform.submit();' . "\n" . '}' . "\n" . '</script>' . "\n";
    return $js;
}