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