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


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

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 | След. | Конец


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

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

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

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


Страницы: Пред. 1 ... 2764 2765 2766 2767 2768 ... 5448 След.
0  
DonaldRah
onion dark website  darknet markets 2025
Имя Цитировать 0  
0  
DonaldRah
dark web market urls  dark market list
Имя Цитировать 0  
0  
Manuelpulky
https://canadianpharmacyaapd.com/# certified canadian international pharmacy
medication from mexico pharmacy
Имя Цитировать 0  
0  
KxyuTyday
darkmarket 2025  dark market link
Имя Цитировать 0  
0  
FNDavidchirl
darknet market  darknet market lists
Имя Цитировать 0  
0  
KxyuTyday
Имя Цитировать 0  
0  
TravisSnuch
GUD Tech is at the forefront of blockchain innovation, providing secure, scalable, and efficient decentralized technology solutions. Whether you’re looking for blockchain infrastructure, smart contract development, or enterprise-grade decentralized applications, GUD Tech offers cutting-edge solutions to enhance security and efficiency. Designed for businesses and developers, GUD Tech ensures seamless integration of blockchain technology into real-world applications. https://gudchain.net
Имя Цитировать 0  
0  
MarkNORah
darknet market  dark market onion
Имя Цитировать 0  
0  
MarkNORah
darkmarkets  darknet markets onion
Имя Цитировать 0  
0  
MorganSnorn
mexican pharmaceuticals online: mexican pharmacy acp - mexican pharmacy acp
Имя Цитировать 0  
0  
RaymondDib
reputable indian online pharmacy pharmacy website india or india pharmacy
http://bbs.dedecms.com/goto.php?url=https://indianpharmacyabp.com reputable indian pharmacies
best india pharmacy best online pharmacy india and top online pharmacy india pharmacy website india
Имя Цитировать 0  
0  
Kxyupen
dark markets  dark web market
Имя Цитировать 0  
0  
Volodyasit
darknet site  dark websites
Имя Цитировать 0  
0  
WilliamIRPap
dark market url  dark markets
Имя Цитировать 0  
0  
MarkNORah
darknet sites  darknet market links
Имя Цитировать 0  
0  
Volodyasit
darkmarkets  darknet drugs
Имя Цитировать 0  
0  
FNDavidHaigo
dark web market  dark web marketplaces
Имя Цитировать 0  
0  
Aviator - nxg
What’s Next for the Aviator Game?

As the demand for the Aviator game grows globally, its developers are constantly innovating. From incorporating advanced mechanics to hosting community challenges, the Aviator official website keeps the game fresh.

For players interested in the most recent innovations, staying connected is highly recommended. As Aviator games expand, their fanbase will likely reach new levels, solidifying the Aviator betting game as a top contender in the digital betting industry.

The aviator game is not just a game of chance; it’s a journey that keeps players engaged with its innovative mechanics. Whether you’re interested in the best Aviator game, discovering its bonus features, or simply seeking entertainment, this casino hit caters to all tastes.

As you explore the Aviator online game, don’t forget the significance of staying within limits. While the excitement of watching the plane ascend to greater heights is unmatched, careful planning will boost your enjoyment. The real Aviator game is about balancing risk and reward, and it provides a moment of satisfaction every time you cash out at the right time.

As the Aviator game captures more players worldwide, it’s clear that this groundbreaking game is a lasting phenomenon. Whether you’re playing for entertainment or profit, the Aviator crash game guarantees an unforgettable experience.

So, why wait? Visit the Aviator official website - https://aviator-ng.pages.dev/, experience the thrill for yourself, and discover why this game is beloved worldwide.

The Aviator game stands out in the world of online gaming due to its one-of-a-kind gameplay and unmatched excitement. From its straightforward setup to its adrenaline-pumping rounds, it’s clear why the game has captured the hearts of players among casual players.

One of the greatest strengths of the Aviator game is its wide availability. Whether you’re accessing it through the official website, you’ll find that the game is available across multiple platforms. This cross-platform compatibility makes it ideal for players who value flexibility.
Имя Цитировать 0  
0  
FNDavidHaigo
darkmarket url  darknet drug market
Имя Цитировать 0  
0  
Toliksit
dark web market list  dark web market
Имя Цитировать 0  
0  
Pingunisp
dark market 2025  tor drug market
Имя Цитировать 0  
0  
Pingunisp
dark markets 2025  dark markets 2025
Имя Цитировать 0  
0  
RaymondNeeri
Имя Цитировать 0  
0  
RobertArror
HyperDrive is transforming the way data is stored and managed through decentralized storage and blockchain hosting solutions. Built for security, scalability, and efficiency, HyperDrive enables businesses, developers, and blockchain projects to store and distribute data without relying on centralized servers. By leveraging Web3 technology and distributed networks, HyperDrive ensures reliable, censorship-resistant, and high-performance storage solutions for the digital era. https://hyperdrive.ink
Имя Цитировать 0  
0  
VolodyaItamp
darknet drug market  dark web marketplaces
Имя Цитировать 0  
Страницы: Пред. 1 ... 2764 2765 2766 2767 2768 ... 5448 След.
Текст сообщения*
Загрузить файл или картинкуПеретащить с помощью Drag'n'drop
Перетащите файлы
Ничего не найдено
Отправить Отменить
Защита от автоматических сообщений
 
Публикация статей
На данной странице представлены элементы инфоблока статьи, относящиеся к типу Публикации. Статьи опубликованы на странице с помощью комплексного компонента Новостной раздел с указанием параметров инфоблока Статьи. При создании каждой статьи был использован тег <break />, который позволяет осуществить разделение статьи на страницы. В публичном разделе такая статья будет представлена в виде нескольких страниц в зависимости от количества тегов <break />

1QH.net - Unique Quality Hosting.network
liqpay webmoney privat24 visa mastercard
2002-2017 © InKey
All rights reserved