add *.inc files to project
This commit is contained in:
11
include/ECM/EcmJsTable/EcmJsTable.inc
Normal file
11
include/ECM/EcmJsTable/EcmJsTable.inc
Normal file
@@ -0,0 +1,11 @@
|
||||
<?php
|
||||
class EcmJsTable {
|
||||
const MY_PATH = "include/ECM/EcmJsTable/";
|
||||
static function getHeaders($metadata, $type) {
|
||||
$smarty = new Sugar_Smarty ();
|
||||
$smarty->assign ( 'METADATA', $metadata );
|
||||
$smarty->assign ( 'TYPE', $type );
|
||||
return $smarty->fetch ( self::MY_PATH . 'header.tpl' );
|
||||
}
|
||||
}
|
||||
?>
|
||||
Reference in New Issue
Block a user