Documentation

adressen
in package

Table of Contents

Methods

update()  : bool|int
Inserts or Updates the Address fields in the adressen table

Methods

update()

Inserts or Updates the Address fields in the adressen table

public update(array<string|int, mixed> $data, string $rel_table[, int|bool $rel_id = false ]) : bool|int
Parameters
$data : array<string|int, mixed>

The data to be inserted of the form field => value where field has to be an existing column in adressen

$rel_table : string

The table the address relates to

$rel_id : int|bool = false

The id of the related table for which the address has to be updated if rel_id is false and insert is enforced

Return values
bool|int

Returns true on successfull update, the insert_id on successful insert, false otherwise actually ist does never return false because it dies ...


        
On this page

Search results