Initial Commit
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
<?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);
|
||||
}
|
||||
}
|
||||
?>
|
||||
Reference in New Issue
Block a user