Base Fixture for using in HttpSource child plugins
| package |
HttpSource |
|---|---|
| subpackage |
Test.Fixture |
__construct()
_truncateOne(array $record) : boolean
array
boolean
create(\DboSource $db) : boolean
\DboSourceAn instance of the database object used to create the fixture table
booleanTrue on success, false on failure
drop(\DboSource $db) : boolean
\DboSourceAn instance of the database object used to create the fixture table
booleanTrue on success, false on failure
init() : void
| throws |
Whe importing from a model that does not exist. |
|---|---|
insert(\DboSource $db) : boolean
\DboSourceAn instance of the database into which the records will be inserted
booleanon success or if there are no records to insert, or false on failure
truncate(\DboSource $db) : boolean
\DboSourceA reference to a db instance
boolean
model : string
| var |
|---|
string
records : array
| var |
|---|
array
_Model : \Model
| var |
|---|
\Model