RecordData

Read onlyYes
FinalYes

Create data for a specific table and its child tables

Internal

Table of Contents

Methods

__construct()  : mixed
generate()  : array<string|int, mixed>
Generate data for a given table and insert into database

Methods

generate()

Generate data for a given table and insert into database

public generate(string $tableName, array<string|int, mixed> $fieldValues) : array<string|int, mixed>
Parameters
$tableName : string

The tablename to create data for

$fieldValues : array<string|int, mixed>

Incoming list of field values, Typically uid and pid are set already

Tags
throws
Exception
Return values
array<string|int, mixed>

        
On this page

Search results