This commit is contained in:
2023-04-13 17:03:50 +03:00
commit 4c78e1c77a
27 changed files with 592 additions and 0 deletions
+51
View File
@@ -0,0 +1,51 @@
<?php
namespace Bx\Null\ORM;
use Wt\Core\ORM\ADataManager;
class NullTable extends ADataManager
{
public static function getTitle()
{
return 'Null Title';
}
public static function getRowTitle()
{
return 'Null Row Title';
}
public static function getRowDescription()
{
return 'Null Row Description';
}
public static function getTableName()
{
return 'bx_null_table';
}
public static function getMap()
{
return array(
'ID' => array(
'data_type' => 'integer',
'primary' => true,
'autocomplete' => true,
'title' => 'ID',
),
'CREATED_AT' => array(
'data_type' => 'datetime',
'title' => 'CREATED_AT',
),
'UPDATED_AT' => array(
'data_type' => 'datetime',
'title' => 'UPDATED_AT',
),
);
}
}