constants.php 742 Bytes
<?php if (!defined('B_PROLOG_INCLUDED') || B_PROLOG_INCLUDED !== true) die();

	/**
	 * IBlocks IDS
	 * template: IBID_<IBLOCK_CODE> = int
	 */

	const IBID_SERVICES = '1';
	const IBID_FEEDBACK = '7';
	const IBID_LICENSES = '5';
	const IBID_CLIENTS = '4';
	const IBID_PARTNERS = '3';

	/**
	 * IBlocks TYPES
	 * template: IBTYPE_<IBLOCK_TYPE_CODE> = string
	 */

//	const IBTYPE_CATALOG = '1c_catalog';

	/**
	 * PRICES
	 * template for IDs: PRICE_<CODE>_ID
	 * template for CODEs: PRICE_<CODE>_CODE
	 */
//	const PRICE_MAIN_ID = 2;
//	const PRICE_MAIN_CODE = 'Типовое соглашение с клиентами';

	/*const PRICE_CODES = [
		PRICE_MAIN_CODE,
	];

	const PRICE_IDS = [
		PRICE_MAIN_ID,
	];*/

	/**
	 * Other consts
	 */