You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
590 B
PHTML

<?php
namespace App\ClassLib;
class MiscLib
{
public static function getDateTime()
{
return date('Y-m-d H:i:s');
}
public static function adminLTETableTemplate()
{
$template = [
'table_open' => '<table class="table table-head-fixed table-hover text-nowrap">'
];
return $template;
}
public static function adminLTEDataTableTemplate($tableID)
{
$template = [
'table_open' => '<table id="'.$tableID.'" class="table table-bordered table-striped">'
];
return $template;
}
}