public function __construct($x, $y)
 {
     $db_handle = DBConnect::getInstance();
     $aantalJongeren = new aantalJongeren($db_handle);
     $jaar = $aantalJongeren->showJaren();
     $this->xAx_Points = $jaar;
     $this->yAx_Points = $_POST['PrognoseJongeren'];
 }
Example #2
0
 public function showGemeenteNaam()
 {
     $db_handle = DBConnect::getInstance();
     $sqlJaar = "SELECT naam FROM Jeugd_Gemeentenaam";
     $stmt = $db_handle->prepare($sqlJaar);
     $stmt->execute();
     $result = $stmt->fetchAll(PDO::FETCH_COLUMN);
 }
 public function __construct($x, $y)
 {
     $db_handle = DBConnect::getInstance();
     $aantalJongeren = new aantalJongeren($db_handle);
     $jaar = $aantalJongeren->showJaren();
     $this->xAx_Points = $jaar;
     $totaalnieuweClienten = $aantalJongeren->showAantalNieuweClienten();
     $this->yAx_Points = $totaalnieuweClienten;
 }
Example #4
0
 public function update($con_id, $username, $phone, $email)
 {
     $db = DBConnect::getInstance();
     $sql = "UPDATE {$this->table} SET \r\n\t\t\t\t\tusername=:username,\r\n\t\t\t\t\tphone=:phone, \r\n\t\t\t\t\temail=:email \r\n\t\t\t\t\tWHERE id=:con_id";
     $stmt = $db->prepare($sql);
     $stmt->bindValue(':username', $username);
     $stmt->bindValue(':phone', $phone);
     $stmt->bindValue(':email', $email);
     $stmt->bindValue(':con_id', $con_id);
     return $stmt->execute();
 }
 public function __construct($x, $y)
 {
     $db_handle = DBConnect::getInstance();
     $jaarJongeren = new aantalJongeren($db_handle);
     $jaar = $jaarJongeren->showJaren();
     //        $laatsteDrieJaren = array_slice($jaar, 2,3);
     $this->xAx_Points = $jaar;
     $aantalJongeren = new JeugdZorgProvincie($db_handle);
     $percentageJongeren = $aantalJongeren->showPercentageNieuweClienten();
     //$percentageLaatsteDrieJaren = array_slice($percentageJongeren, 2,3);
     $this->yAx_Points = $percentageJongeren;
 }
 public function __construct($x, $y)
 {
     $db_handle = DBConnect::getInstance();
     $jaarJongeren = new aantalJongeren($db_handle);
     $jaar = $jaarJongeren->showJaren();
     // $laatsteDrieJaren = array_slice($jaar, 2,3);
     $this->xAx_Points = $jaar;
     $verhoudingen = new ProcentueleVerhoudingen($db_handle);
     $percentageJongeren = $verhoudingen->showPercentagenieuweClientenJeugdGGZ();
     //$percentageLaatsteDrieJaren = array_slice($percentageJongeren, 2,3);
     $percentageLaatsteDrieJaren = $percentageJongeren;
     //var_dump($percentageLaatsteDrieJaren);
     $this->yAx_Points = $percentageLaatsteDrieJaren;
 }
 public function __construct($x, $y)
 {
     $db_handle = DBConnect::getInstance();
     $aantalJongeren = new aantalJongeren($db_handle);
     $jaar = $aantalJongeren->showJaren();
     $this->xAx_Points = $jaar;
     $var_array = $_POST['arrayAantalNieuweClienten'];
     foreach ($var_array as $key => $array) {
     }
     for ($i = 0; $i <= count($var_array); $i++) {
         if ($var_array[$i] == 0) {
         }
     }
     array_splice($var_array, $var_array[$i], 1);
     $this->yAx_Points = $var_array;
 }
 public function __construct($x, $y)
 {
     $db_handle = DBConnect::getInstance();
     $jaarJongeren = new aantalJongeren($db_handle);
     $jaar = $jaarJongeren->showJaren();
     $this->xAx_Points = $jaar;
     //verwijder alle elementen die geen waarde of een ander datatype hebben
     $var_array = $_POST['arrayPercentage'];
     foreach ($var_array as $key => $array) {
     }
     for ($i = 0; $i <= count($var_array); $i++) {
         if ($var_array[$i] == 0) {
         }
     }
     array_splice($var_array, $var_array[$i], 1);
     $this->yAx_Points = $var_array;
 }
Example #9
0
 public function getAantalJongerenRiz()
 {
     include_once "../PrognoseCreator/DBConnection.php";
     include_once "../PrognoseCreator/aantalJongeren.php";
     $db_handle = DBConnect::getInstance();
     $aantalJongeren = new aantalJongeren($db_handle);
     $sqlJaar = "SELECT Jeugd_AantalJongerenPerRegio.totaal FROM Jeugd_AantalJongerenPerRegio Order By jaar ";
     $stmt = $db_handle->prepare($sqlJaar);
     $stmt->execute();
     $result = $stmt->fetchAll(PDO::FETCH_COLUMN);
     return $result;
 }
Example #10
0
         classes: 'ui-tooltip-blue ui-tooltip-shadow'
	},
    position: { 
      target: 'event' 
    }
	});
});

</script>
<?php 
include '../scripts/log_in.php';
require_once 'report_functions.php';
require_once 'report_header.php';
echo "<div id=toelichting></div>";
require_once '../PrognoseCreatorGemeenten/DBConnection.php';
$db_handle = DBConnect::getInstance();
$report_tab2 = new RizzFuncties($db_handle);
echo "<h2 class=top>huidige indicaties naar specialistische jeugdhulp</h2>";
//tabel en headers
$table_title = 'zorgvorm';
$table_header = $report_tab2->get_table_headers($table_title, $cbs, $regio, $cbs2, $regio2);
echo $table_header;
$bron[] = $report_tab2->getsource(2968);
$nr = 2968;
$oms = 'awbz en zorgverzekeringswet';
$eindjaar = true;
$col = 'val0';
$jaar = false;
$table_row = $report_tab2->get_data_abs($cbs, $nr, $oms, $regio, $cbs2, $regio2, $eindjaar, $col, $jaar);
echo $table_row;
$oms = 'jeugd en opvoedhulp ambulant';
 function __construct()
 {
     if (!$this->_connectionObject) {
         $this->_connectionObject = DBConnect::getInstance();
     }
 }