function pSpring::autoFreeZone in Visitors 7
Same name and namespace in other branches
- 7.2 pChart/class/pSpring.class.php \pSpring::autoFreeZone()
1 call to pSpring::autoFreeZone()
- pSpring::firstPass in pChart/
class/ pSpring.class.php
File
- pChart/
class/ pSpring.class.php, line 105
Class
Code
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;
}
}
}