krot

bitrix параметры компонентов

Jan 8th, 2016
89
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. .parameters.php
  2. <?
  3. if (!defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED!==true) die();
  4.  
  5. $arTemplateParameters["NAME_PARAM"] = array(
  6.         "NAME" => 'Имя поля',
  7.         "TYPE" => "STRING",
  8.         "DEFAULT" => "Значение",
  9.     );
  10.  
  11. ?>
  12. template.php
  13. print_r($arParams);
RAW Paste Data