create

create — Create an object of a new database record, the object must be filled out and committed before it will be a record in the database. Once committed you can carry on editing the object if required.

Return Values

void — No return information has been documented for this function.

Example

<?php//Call the function create with the example vars$resRecords = new \Twist\Core\Models\Database\Records();$resRecords -> create();