v1.0.0
English
▼
Slovenčina
Čeština
Deutsch
Polski
Português
Русский
Українська
हिन्दी
فارسی
Home
›
system
›
Test
›
Interfaces
›
FabricatorModel_php
FabricatorModel.php
system/Test/Interfaces/FabricatorModel.php
2 fn
find
($id = null)
function
Fetches the row of database from $this->table with a primary key matching $id.
Parameters
int|list<int|string>|string|null
$id
— One primary key or an array of primary keys
return
($id is int|string ? object|row_array|null : list<object|row_array>)
View Source
Copy
insert
($row = null, bool $returnID = true)
function
Inserts data into the current table. If an object is provided, it will attempt to convert it to an array.
Parameters
object|row_array|null
$row
bool
$returnID
— Whether insert ID should be returned or not.
return
bool|int|string
View Source
Copy
phpDG v1.0.0
FabricatorModel.php
662 files
498 classes
763 fn
Generated