Version 0.9.6 beta - changed the model class mapper

This commit is contained in:
Stephan Kasdorf
2023-04-03 21:34:34 +02:00
parent b1bded6101
commit c4a68a3008

View File

@@ -1,18 +1,23 @@
<?php <?php
namespace Nibiru\Model\[FOLDERNAME]; namespace Nibiru\Model\[FOLDERNAME];
use Nibiru\Adapter\[ADAPTER]\Db; use Nibiru\Adapter\[ADAPTER]\Db;
use Nibiru\Pdo; use Nibiru\Pdo;
/** /**
* Created by PhpStorm. * Class [TABLE]Model
* User: kasdorf * @package Nibiru
* Date: 10.11.17 * @author Stephan Kasdorf
* Time: 09:38 * @date 03.04.23
* @copyright: 2023 Nibiru Framework, you may copy the code,
* but have to inform the author about where it
* is used. So happy copying.
* @licence: BSD 4-Old License
*/ */
class [CLASSNAME] extends Db class [CLASSNAME] extends Db
{ {
[CLASSPARAMETERS]
const TABLE = array( const TABLE = array(
'table' => '[TABLE]', 'table' => '[TABLE]',
'fields' => [FIELDARRAY] 'fields' => [FIELDARRAY]
@@ -28,5 +33,16 @@ class [CLASSNAME] extends Db
{ {
return self::TABLE; return self::TABLE;
} }
/**
* @desc This are the class wide setters
* currently this is what is needed in order
* to run some addition
*/
[SETTERS]
/**
* @desc This are the class wide getters
* currently this is what is needed in order
* to run some addition
*/
[GETTERS]
} }