TwistPHP Documentation

records

File path: dist/twist/Core/Helpers/Database.helper.php
Namespace: Twist\Core\Helpers
Extends: Base

recordsGet, Create, Copy and Manipulate database records/rows as objects. Find an array of database records/rows, count and delete others with a single function call.

Parameters

Name Type Description
$strTablestringn/a
[$strDatabase = null]stringn/a

Return Values

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

Example

<?php
//Set the variables for the example
$strTable 'foo';
$strDatabase null;

//Call the function records with the example vars
Twist::Database() -> records($strTable$strDatabase);