Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
Класс Compiler

Открытые члены

 __construct ($options)
 
 compile ()
 
 generateDemoFilesWorld ($item, $table)
 
 generateDemoFilesRussia ($item, $table)
 
 generateExportFilesFromTableBundle ($item, $table)
 
 generateExportFilesFromTableBundle_Standard ($item, $table)
 
 generateExportFilesFromTableBundle_Standard_YandexOnly ($item, $table)
 
 generateExportTreePutRussiaFiasPathCutForbidden ($path)
 
 buildMainTree ()
 
 splitFiasOnRegions ()
 
 copyFias2DB ()
 
 fiasGotOneSplit ($data)
 
 fiasGotOneAdd2DB ($data)
 
 mapFiasRootV2 ()
 
 fiasGotOneMapRootV2 ($data)
 
 cleanOutput ()
 
 output ($data, $important=true)
 

Открытые атрибуты

const OUTPUT_DIR = 'compiled/'
 
const MAPS_DIR = 'maps/'
 
const INPUT_DIR = 'output/'
 
const OUTPUT_FILE = 'output.txt'
 
const CODE_LENGTH = 10
 
const TMP_DATA_DIR = 'tmp/'
 
const STATIC_CSV_DIR = 'static_csv/'
 
const GROUP_FILE = 'typegroup.csv'
 
const KAZAKHSTAN_SOURCE = 'ukrain_kazakhstan/loc_kz.csv'
 
const USA_SOURCE = 'ukrain_kazakhstan/loc_usa.csv'
 
const WORLD_SOURCE = 'ukrain_kazakhstan/loc_cntr.csv'
 
const CIS_SOURCE = 'ukrain_kazakhstan/loc_ussr_cut.csv'
 
const RUSSIA_YANDEX_CODE = 225
 
const BELORUSSIA_YANDEX_CODE = 149
 
const UKRAIN_YANDEX_CODE = 187
 
const KAZAKHSTAN_YANDEX_CODE = 159
 
const SOURCE_YANDEX = 'Y'
 
const SOURCE_FIAS = 'F'
 
const SOURCE_UKRAIN = 'U'
 
const SOURCE_LEGACY = 'L'
 
const TMP_DATA_RUS_EXPORT_INDEX = 'rus_exp_index'
 
const TMP_DATA_RUS_GLOBAL_INDEX = 'glob_exp_index'
 

Подробное описание

См. определение в файле compiler.php строка 26

Конструктор(ы)

◆ __construct()

__construct ( $options)

См. определение в файле compiler.php строка 293

Методы

◆ buildMainTree()

buildMainTree ( )

См. определение в файле compiler.php строка 1686

◆ cleanOutput()

cleanOutput ( )

См. определение в файле compiler.php строка 2789

◆ compile()

compile ( )

См. определение в файле compiler.php строка 331

◆ copyFias2DB()

copyFias2DB ( )

См. определение в файле compiler.php строка 2179

◆ fiasGotOneAdd2DB()

fiasGotOneAdd2DB ( $data)

См. определение в файле compiler.php строка 2247

◆ fiasGotOneMapRootV2()

fiasGotOneMapRootV2 ( $data)

См. определение в файле compiler.php строка 2374

◆ fiasGotOneSplit()

fiasGotOneSplit ( $data)

См. определение в файле compiler.php строка 2221

◆ generateDemoFilesRussia()

generateDemoFilesRussia ( $item,
$table )

См. определение в файле compiler.php строка 527

◆ generateDemoFilesWorld()

generateDemoFilesWorld ( $item,
$table )

См. определение в файле compiler.php строка 497

◆ generateExportFilesFromTableBundle()

generateExportFilesFromTableBundle ( $item,
$table )

См. определение в файле compiler.php строка 624

◆ generateExportFilesFromTableBundle_Standard()

generateExportFilesFromTableBundle_Standard ( $item,
$table )

См. определение в файле compiler.php строка 653

◆ generateExportFilesFromTableBundle_Standard_YandexOnly()

generateExportFilesFromTableBundle_Standard_YandexOnly ( $item,
$table )

См. определение в файле compiler.php строка 682

◆ generateExportTreePutRussiaFiasPathCutForbidden()

generateExportTreePutRussiaFiasPathCutForbidden ( $path)

См. определение в файле compiler.php строка 807

◆ mapFiasRootV2()

mapFiasRootV2 ( )

См. определение в файле compiler.php строка 2332

◆ output()

output ( $data,
$important = true )

См. определение в файле compiler.php строка 2797

◆ splitFiasOnRegions()

splitFiasOnRegions ( )

См. определение в файле compiler.php строка 2173

Данные класса

◆ BELORUSSIA_YANDEX_CODE

const BELORUSSIA_YANDEX_CODE = 149

См. определение в файле compiler.php строка 44

◆ CIS_SOURCE

const CIS_SOURCE = 'ukrain_kazakhstan/loc_ussr_cut.csv'

См. определение в файле compiler.php строка 41

◆ CODE_LENGTH

const CODE_LENGTH = 10

См. определение в файле compiler.php строка 32

◆ GROUP_FILE

const GROUP_FILE = 'typegroup.csv'

См. определение в файле compiler.php строка 36

◆ INPUT_DIR

const INPUT_DIR = 'output/'

См. определение в файле compiler.php строка 30

◆ KAZAKHSTAN_SOURCE

const KAZAKHSTAN_SOURCE = 'ukrain_kazakhstan/loc_kz.csv'

См. определение в файле compiler.php строка 38

◆ KAZAKHSTAN_YANDEX_CODE

const KAZAKHSTAN_YANDEX_CODE = 159

См. определение в файле compiler.php строка 46

◆ MAPS_DIR

const MAPS_DIR = 'maps/'

См. определение в файле compiler.php строка 29

◆ OUTPUT_DIR

const OUTPUT_DIR = 'compiled/'

См. определение в файле compiler.php строка 28

◆ OUTPUT_FILE

const OUTPUT_FILE = 'output.txt'

См. определение в файле compiler.php строка 31

◆ RUSSIA_YANDEX_CODE

const RUSSIA_YANDEX_CODE = 225

См. определение в файле compiler.php строка 43

◆ SOURCE_FIAS

const SOURCE_FIAS = 'F'

См. определение в файле compiler.php строка 49

◆ SOURCE_LEGACY

const SOURCE_LEGACY = 'L'

См. определение в файле compiler.php строка 51

◆ SOURCE_UKRAIN

const SOURCE_UKRAIN = 'U'

См. определение в файле compiler.php строка 50

◆ SOURCE_YANDEX

const SOURCE_YANDEX = 'Y'

См. определение в файле compiler.php строка 48

◆ STATIC_CSV_DIR

const STATIC_CSV_DIR = 'static_csv/'

См. определение в файле compiler.php строка 34

◆ TMP_DATA_DIR

const TMP_DATA_DIR = 'tmp/'

См. определение в файле compiler.php строка 33

◆ TMP_DATA_RUS_EXPORT_INDEX

const TMP_DATA_RUS_EXPORT_INDEX = 'rus_exp_index'

См. определение в файле compiler.php строка 53

◆ TMP_DATA_RUS_GLOBAL_INDEX

const TMP_DATA_RUS_GLOBAL_INDEX = 'glob_exp_index'

См. определение в файле compiler.php строка 54

◆ UKRAIN_YANDEX_CODE

const UKRAIN_YANDEX_CODE = 187

См. определение в файле compiler.php строка 45

◆ USA_SOURCE

const USA_SOURCE = 'ukrain_kazakhstan/loc_usa.csv'

См. определение в файле compiler.php строка 39

◆ WORLD_SOURCE

const WORLD_SOURCE = 'ukrain_kazakhstan/loc_cntr.csv'

См. определение в файле compiler.php строка 40