Авторизация
Логин:
Пароль:
Забыли свой пароль?
Войти как пользователь:
Войти как пользователь
Вы можете войти на сайт, если вы зарегистрированы на одном из этих сервисов:
Подписка на рассылку
Реклама
11 лет сервису WMe.in.ua - WebMoney Exchange in Ukraine
Расскажи о нас


Пользовательские движки шаблонизации

02.10.2009

Для добавления нового движка шаблонизации на сайт в файл /bitrix/php_interface/init.php необходимо добавить следующее:

1. Глобальную переменную $arCustomTemplateEngines, которая содержит ассоциативный массив, каждый элемент которого имеет вид:
   "код_шаблонизатора" => array(
      "templateExt" => array("расширение1"[, "расширение2"...]),
      "function" => "имя_функции_подключения_движка"
   )

где:
"код_шаблонизатора" - произвольное уникальное в рамках сайта слово;
"расширениеN" - расширение файла, который должен обрабатываться этим движком шаблонизации;
"имя_функции_подключения_движка" - имя функции, которая будет вызываться, если шаблон компонента имеет указанное расширение.

2. Функцию подключения движков:
     function имя_функции_подключения_движка($templateFile, $arResult, $arParams, $arLangMessages, $templateFolder, $parentTemplateFolder, $template),
где:
     $templateFile – путь к файлу шаблона относительно корня сайта,
     $arResult –
массив результатов работы компонента,
     $arParams – массив входных параметров компонента,
     $arLangMessages – массив языковых сообщений (переводов) шаблона,
     $templateFolder – путь к папке шаблона относительно корня сайта (если шаблон лежит не в
папке, то эта переменная пуста),
     $parentTemplateFolder - путь относительно корня сайта к папке шаблона комплексного
компонента, в составе которого подключается данный компонент (если компонент
подключается самостоятельно, то эта переменная пуста),
     $template – объект шаблона.

Рассмотрим подключение движков на конкретных примерах.


Страница 1 - 1 из 3
Начало | Пред. | 1 2 3 | След. | Конец


Количество показов: 77901142
Рейтинг:  3.3

Возврат к списку

(Голосов: 1, Рейтинг: 3.3)

Материалы по теме:


Страницы: Пред. 1 ... 2847 2848 2849 2850 2851 ... 2862 След.
0  
Kxyupen
bitcoin dark web  dark markets 2025
Имя Цитировать 0  
0  
FNDavidHaigo
dark web marketplaces  dark market 2025
Имя Цитировать 0  
0  
MorganSnorn
canadian pharmacy world reviews: pharmacy com canada - canadian pharmacy meds
Имя Цитировать 0  
0  
RandallSef
IndianPharmacyAbp: Indian Pharmacy Abp - indian pharmacy
Имя Цитировать 0  
0  
MorganSnorn
top online pharmacy india: Best online Indian pharmacy - Best online Indian pharmacy
Имя Цитировать 0  
0  
MarkNORah
dark web marketplaces  darknet market
Имя Цитировать 0  
0  
RaymondAwapy
Имя Цитировать 0  
0  
TolikItamp
darknet markets 2025  https://github.com/darknetmarketslist/darknetmarketslist  darknet markets url
Имя Цитировать 0  
0  
CharlesMub
mexican pharmacy acp reputable mexican pharmacies online mexican online pharmacies prescription drugs
Имя Цитировать 0  
0  
Vancestund
Имя Цитировать 0  
0  
Josephnub
Имя Цитировать 0  
0  
Donaldshevy
dark market url  https://github.com/darkwebmarketslinks/darkwebmarkets  darknet market lists
Имя Цитировать 0  
0  
WilliamIRunisp
darknet markets onion address  darkmarket
Имя Цитировать 0  
0  
Aviator - as6
The Future of Aviator Games

As the popularity for the Aviator game continues to rise, its creators are constantly innovating. From improving the gameplay to launching exclusive events, the Aviator official website keeps the game fresh.

For players interested in the latest updates, keeping an eye on the site is a good idea. As Aviator games grow, their community will undoubtedly reach new levels, solidifying the Aviator betting game as one of the most exciting options in the digital betting industry.

The aviator game is not just a game of chance; it’s a journey that captures attention with its simple yet addictive gameplay. Whether you’re interested in the best Aviator game, learning about strategies for success, or simply seeking entertainment, this casino hit has something for everyone.

As you explore the Aviator online game, keep in mind the importance of strategy. While the thrills of watching the plane climb the skies is irresistible, a measured approach will boost your enjoyment. The real Aviator game is about making quick decisions, and it provides a feeling of triumph every time you win a round.

As the Aviator game captures more players worldwide, it’s clear that this standout title is here to stay. Whether you’re playing for leisure or serious rewards, the Aviator crash game promises moments of thrill.

So, ready to take off? Visit the Aviator official website - https://aviator-india.pages.dev/, place your bets, and join the community of Aviator winners today.

The Aviator game stands out in the world of digital entertainment due to its one-of-a-kind gameplay and captivating appeal. From its simple interface to its adrenaline-pumping rounds, it’s obvious why the game has gained a global following among casual players.

One of the key draws of the Aviator game is its wide availability. Whether you’re downloading it for offline play, you’ll find that the game is optimized for all devices. This ease of access makes it suitable for players who value flexibility.
Имя Цитировать 0  
0  
WilliamIRunisp
Имя Цитировать 0  
0  
Link - flego
Internet-based gambling hubs have changed the betting world, offering an unmatched level of convenience and selection that land-based establishments can’t match. In recent years, a vast number of enthusiasts globally have welcomed the adventure of internet-based gaming because of its anytime, anywhere convenience, exciting features, and ever-expanding game libraries.

If you’re exploring for the first time with the world of digital casinos or seek to learn about reliable sites, why not engage with our growing online hub? It’s a space where gamblers offer insights, assisting you to get the most out of your virtual play. Join the connections and check it out now: http://shinhwaspodium.com/bbs/board.php?bo_table=free&wr_id=3182048

One of the strongest selling points of internet-based platforms is the vast array of games available. Whether you are a fan of rolling retro slots, immersing yourself in plot-filled video-based games, or exercising tactics in traditional table offerings like Roulette, digital casinos offer limitless opportunities. Numerous services additionally include live casino options, giving you the chance you to interact with real dealers and other players, all while taking in the realistic environment of a traditional gambling venue from the comfort of your home.

Beyond variety, virtual gaming providers stand out ease of access.
Имя Цитировать 0  
0  
Josephnub
visit this site right here https://hitman-assassin-killer.com/
Имя Цитировать 0  
0  
RaymondDib
buy medicines online in india world pharmacy india or best india pharmacy
http://www.bssystems.org/url?q=https://indianpharmacyabp.com top 10 pharmacies in india
online shopping pharmacy india best india pharmacy and top 10 pharmacies in india top online pharmacy india
Имя Цитировать 0  
0  
CharlesMub
canadian pharmacy near me Canadian Pharmacy AAPD canadian pharmacy oxycodone
Имя Цитировать 0  
0  
Pingunisp
dark web market urls  https://github.com/darknetmarkets2025/darknetmarketlinks  darknet sites
Имя Цитировать 0  
0  
Pingunisp
darknet market list  https://github.com/darknetmarkets2025/darknetmarketlinks  darknet drugs
Имя Цитировать 0  
0  
MarkNORah
Имя Цитировать 0  
0  
MarkNORah
dark web drug marketplace  onion dark website
Имя Цитировать 0  
0  
DonaldRah
darknet market links  https://github.com/darkwebmarketslinks/darkwebmarkets  dark market 2025
Имя Цитировать 0  
0  
MarkJulge
Хотите разбираться в рынке недвижимости? Полезные статьи и советы — https://arenda-specstroy.ru/
Имя Цитировать 0  
Страницы: Пред. 1 ... 2847 2848 2849 2850 2851 ... 2862 След.
Текст сообщения*
Загрузить файл или картинкуПеретащить с помощью Drag'n'drop
Перетащите файлы
Ничего не найдено
Отправить Отменить
Защита от автоматических сообщений
 
Публикация статей
На данной странице представлены элементы инфоблока статьи, относящиеся к типу Публикации. Статьи опубликованы на странице с помощью комплексного компонента Новостной раздел с указанием параметров инфоблока Статьи. При создании каждой статьи был использован тег <break />, который позволяет осуществить разделение статьи на страницы. В публичном разделе такая статья будет представлена в виде нескольких страниц в зависимости от количества тегов <break />

liqpay webmoney privat24 visa mastercard
2002-2017 © InKey
All rights reserved