Documentation

spitex
in package

Table of Contents

Properties

$dbc  : mysqli|null

Methods

__construct()  : mixed
changeValueByField()  : mixed
Change value of the given column in the table spitex
getResXML()  : array<string|int, mixed>|null
Get one row from mod_xml.
getSpitexData()  : array<string|int, mixed>|null
Get one spitex row by id.
updateData()  : void
Update spitex data row.
updateTexteSpitex()  : void
Update text-related spitex fields.

Properties

Methods

__construct()

public __construct([mysqli|null $dbc = null ]) : mixed
Parameters
$dbc : mysqli|null = null

Optional DB connection. If null/empty, the global $dbc connection is used.

changeValueByField()

Change value of the given column in the table spitex

public changeValueByField(string $column, string $newValue) : mixed
Parameters
$column : string

name of column whose content is to be changed

$newValue : string

new value of given column

getResXML()

Get one row from mod_xml.

public getResXML() : array<string|int, mixed>|null
Return values
array<string|int, mixed>|null

getSpitexData()

Get one spitex row by id.

public getSpitexData(int $id) : array<string|int, mixed>|null
Parameters
$id : int
Return values
array<string|int, mixed>|null

updateData()

Update spitex data row.

public updateData(int $id, string $name, string $zusatz, string $postfach, string $str, string $plz, string $ort, string $tel, string $fax, string $email, string $web, string $zsr, string $knr, string $iban, string $bic, string $bank, string $inhaber, string $uid, string $gln, string $betriensnr) : void
Parameters
$id : int
$name : string
$zusatz : string
$postfach : string
$str : string
$plz : string
$ort : string
$tel : string
$fax : string
$email : string
$web : string
$zsr : string
$knr : string
$iban : string
$bic : string
$bank : string
$inhaber : string
$uid : string
$gln : string
$betriensnr : string

updateTexteSpitex()

Update text-related spitex fields.

public updateTexteSpitex(int $id, string $rech_text, string $rech_text_ea, string $verord_text, string $arzt_text, int $erzeugen_rt, int $erzeugen_rt_ea, string $r_text_sammelr, int $r_text_sammelr_erzeugen, string $r_fusszeile) : void
Parameters
$id : int
$rech_text : string
$rech_text_ea : string
$verord_text : string
$arzt_text : string
$erzeugen_rt : int
$erzeugen_rt_ea : int
$r_text_sammelr : string
$r_text_sammelr_erzeugen : int
$r_fusszeile : string

        
On this page

Search results