14 private static $defaultBoardsList;
15 private static $indices = array(
24 return self::$defaultBoardsList;
32 return self::$indices;
40 return Common::EVENT_DEFAULT_BOARDS_COLLECT;
46 public function call()
48 if (!self::$defaultBoardsList)
52 foreach ($boards as $board)
54 self::$defaultBoardsList[$board->getBoardKey()] = $board;
55 self::$indices[
'boardKey'][$board->getBoardKey()][] = $board->getBoardKey();
59 return self::$defaultBoardsList;