Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| b08051ccd3 |
@@ -48,6 +48,29 @@ trait record
|
|||||||
*/
|
*/
|
||||||
protected baza_record $record;
|
protected baza_record $record;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Constructor
|
||||||
|
*
|
||||||
|
* @method record|null $record The record
|
||||||
|
*
|
||||||
|
* @return void
|
||||||
|
*/
|
||||||
|
public function __construct(?record $record = null)
|
||||||
|
{
|
||||||
|
// Initializing the database
|
||||||
|
/* $this->database = new database()
|
||||||
|
->encoding(encoding::utf8)
|
||||||
|
->columns(
|
||||||
|
new column('identifier', type::long_long_unsigned),
|
||||||
|
new column('updated', type::integer_unsigned),
|
||||||
|
new column('created', type::integer_unsigned)
|
||||||
|
)
|
||||||
|
->connect($this->file); */
|
||||||
|
|
||||||
|
// Initializing the record
|
||||||
|
$record instanceof baza_record and $this->record = $record;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Read
|
* Read
|
||||||
*
|
*
|
||||||
|
|||||||
Reference in New Issue
Block a user