/** * Checks if permissions array length is 5 * * @return void Error array is filled on triggered exception * @author Gregor Kuplenik, gregor.kuplenik@insis.si */ private function CheckGroupPerms() { try { VarTest::ArrayRange($this->perms, 3, "", 3); } catch (Exception $e) { $this->Fill($e->getCode()); } }