42 lines
440 B
PHP
42 lines
440 B
PHP
<?php
|
|
|
|
/**
|
|
*
|
|
*
|
|
*/
|
|
class Attaques
|
|
{
|
|
var $groupes = array();
|
|
|
|
/**
|
|
* Constructor
|
|
*/
|
|
function __construct()
|
|
{
|
|
|
|
}
|
|
|
|
function addGroupe($groupe)
|
|
{
|
|
$this->groupes[] = $groupe;
|
|
}
|
|
|
|
function checkAllGroupes()
|
|
{
|
|
foreach ($groupes as $key => $groupe)
|
|
$this->checkGroupe($key);
|
|
}
|
|
|
|
function checkGroupe($id)
|
|
{
|
|
if (is_a($this->groupes[$id], "Groupe"))
|
|
{
|
|
if ($this->groupes[$id]->)
|
|
{
|
|
|
|
}
|
|
}
|
|
$groupes[$id]->
|
|
}
|
|
}
|
|
?>
|