You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
727 B
28 lines
727 B
<?php
|
|
|
|
/*===============================================*\
|
|
|| ############################################# ||
|
|
|| # JAKWEB.CH / Version 1.1.1 # ||
|
|
|| # ----------------------------------------- # ||
|
|
|| # Copyright 2020 JAKWEB All Rights Reserved # ||
|
|
|| ############################################# ||
|
|
\*===============================================*/
|
|
|
|
class JAK_client {
|
|
|
|
private $data;
|
|
private $lsvar = 0;
|
|
|
|
public function __construct($row) {
|
|
$this->data = $row;
|
|
}
|
|
|
|
function getVar($lsvar) {
|
|
|
|
// Setting up an alias, so we don't have to write $this->data every time:
|
|
$d = $this->data;
|
|
|
|
return (isset($d[$lsvar]) && !empty($d[$lsvar]) ? $d[$lsvar] : false);
|
|
}
|
|
}
|
|
?>
|
|
|