Ejemplo n.º 1
0
 public function edit($id)
 {
     $method = 'edit';
     $this->set = self::sett('edit');
     $data = self::get(0, 'WHERE id=' . $id);
     $edit = new EDT($this->set, $this->map, $data);
     return $edit->get($method);
 }
Ejemplo n.º 2
0
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Exemple pour l'EDT</title>
<link rel="stylesheet" type="text/css" href="css/edt.css">
<link rel="stylesheet" type="text/css" href="css/font-awesome.min.css">
</head>
<body>
	<div style="display:table;width:100%;height:50%">
<?php 
$EDT = new EDT("g116", "T1");
echo $EDT->sweatDisplay(array_merge($EDT->getCurrent(), $EDT->getFollowing(3600)));
$EDT = new EDT("g121", "T2");
echo $EDT->sweatDisplay(array_merge($EDT->getCurrent(), $EDT->getFollowing(3600)));
$EDT = new EDT("g133", "T3");
echo $EDT->sweatDisplay(array_merge($EDT->getCurrent(), $EDT->getFollowing(3600)));
?>
</div>
	<div style="display:table;width:100%;height:50%;padding-top:2px;margin-bottom:-2px;background-color:#EEE">
<?php 
$EDT = new EDT("g13070", "M1");
echo $EDT->sweatDisplay(array_merge($EDT->getCurrent(), $EDT->getFollowing(3600)));
$EDT = new EDT("g13071", "M2");
echo $EDT->sweatDisplay(array_merge($EDT->getCurrent(), $EDT->getFollowing(3600)));
$EDT = new EDT("g13072", "M3");
echo $EDT->sweatDisplay(array_merge($EDT->getCurrent(), $EDT->getFollowing(3600)));
?>
</div>

</body>
</html>