public function autoFreeZone()
    {
        /* Check connections reciprocity */
        foreach ($this->Data as $Key => $Settings) {
            if (isset($Settings["Connections"])) {
                $this->Data[$Key]["FreeZone"] = count($Settings["Connections"]) * 10 + 20;
            } else {
                $this->Data[$Key]["FreeZone"] = 20;
            }
        }
    }
public function autoFreeZone()
    {
        /* Check connections reciprocity */
        foreach ($this->Data as $Key => $Settings) {
            if (isset($Settings["Connections"])) {
                $this->Data[$Key]["FreeZone"] = count($Settings["Connections"]) * 10 + 20;
            } else {
                $this->Data[$Key]["FreeZone"] = 20;
            }
        }
    }
public function autoFreeZone ( ) { /* Check connections reciprocity */ foreach ( $ this -> Data as $ Key => $ Settings ) { if ( isset ( $ Settings [ "Connections" ] ) ) { $ this -> Data [ $ Key ] [ "FreeZone" ] = count ( $ Settings [ "Connections" ] ) * 10 + 20 ; } else { $ this -> Data [ $ Key ] [ "FreeZone" ] = 20 ; } } }
Auto compute the FreeZone size based on the number of connections
Auto compute the FreeZone size based on the number of connections