/** * Все протоколы ГАК * * @static * @return CArrayList */ public static function getAllSebProtocols() { if (!self::$_cacheSebProtocolsInit) { self::$_cacheSebProtocolsInit = true; foreach (CActiveRecordProvider::getAllFromTable(TABLE_SEB_PROTOCOLS)->getItems() as $i) { $protocol = new CSEBProtocol($i); self::getCacheSebProtocols()->add($protocol->getId(), $protocol); } } return self::getCacheSebProtocols(); }