Авторизация
Логин:
Пароль:
Забыли свой пароль?
Войти как пользователь:
Войти как пользователь
Вы можете войти на сайт, если вы зарегистрированы на одном из этих сервисов:
Подписка на рассылку
Реклама
11 лет сервису InKey.Biz.ua - Инвестиционный бизнес под ключ.
Расскажи о нас


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

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


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

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

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

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


Страницы: Пред. 1 ... 2729 2730 2731 2732 2733 ... 2739 След.
0  
DonaldRah
darknet markets 2025  bitcoin dark web
Имя Цитировать 0  
0  
Morgancon
canadian pharmacy prices: Canadian Pharmacy AAPD - buying from canadian pharmacies
Имя Цитировать 0  
0  
FNDavidHaigo
darknet websites  dark web sites
Имя Цитировать 0  
0  
WilliamIRunisp
darknet market lists  darknet market lists
Имя Цитировать 0  
0  
WilliamIRunisp
best darknet markets  darknet marketplace
Имя Цитировать 0  
0  
Volodyaovemo
darknet marketplace  darknet drug market
Имя Цитировать 0  
0  
MarkNOshevy
dark market list  darkmarket link
Имя Цитировать 0  
0  
Aviator - 6pk
The Future of Aviator Games

As the popularity for the Aviator game reaches new heights, its developers are introducing new features. From incorporating advanced mechanics to launching exclusive events, the Aviator official website maintains player interest.

For players interested in the latest updates, keeping an eye on the site is highly recommended. As Aviator games grow, their player numbers will surely reach new levels, solidifying the Aviator betting game as a top contender in the online casino industry.

The aviator predictor is a unique blend of strategy and thrill; it’s a dynamic experience that delivers excitement with its innovative mechanics. Whether you’re interested in the best Aviator game, learning about strategies for success, or looking for a unique way to pass the time, this digital sensation caters to all tastes.

As you dive into the Aviator online game, don’t forget the significance of staying within limits. While the adrenaline rush of watching the plane ascend to greater heights is incomparable, smart gameplay will enhance your experience. The real Aviator game is about finding the perfect moment to cash out, and it provides a moment of satisfaction every time you win a round.

As the Aviator game expands its reach, it’s clear that this groundbreaking game is here to stay. Whether you’re playing for fun or serious rewards, the Aviator crash game delivers hours of excitement.

So, what are you waiting for? Visit the Aviator official website - https://aviator-in.netlify.app/, experience the thrill for yourself, and join the community of Aviator winners today.

The Aviator game stands out in the world of digital entertainment due to its unique mechanics and unmatched excitement. From its straightforward setup to its dynamic gameplay, it’s evident why the game has become a fan favorite among serious bettors.

One of the key draws of the Aviator game is its convenience. Whether you’re exploring the Aviator game online, you’ll find that the game is perfectly suited for mobile and desktop users. This cross-platform compatibility makes it ideal for players who prefer convenience in their entertainment.
Имя Цитировать 0  
0  
CharlesMub
canadian neighbor pharmacy canadian pharmacy uk delivery canadian pharmacy online ship to usa
Имя Цитировать 0  
0  
Michaelnoume
Elara Finance is transforming decentralized lending by offering secure, transparent, and flexible crypto loan solutions. Built on blockchain technology, Elara Finance enables users to borrow and lend digital assets seamlessly without intermediaries. With low-interest rates, automated smart contracts, and a permissionless DeFi environment, Elara Finance is making crypto lending accessible and profitable for investors worldwide. https://elara.ink
Имя Цитировать 0  
0  
DonaldRah
dark web drug marketplace  dark web market
Имя Цитировать 0  
0  
MarkJulge
Новостройки или вторичка? Полезные рекомендации — https://imcongroup.ru/
Имя Цитировать 0  
0  
Link - flego
Virtual gambling platforms have reshaped the betting market, providing a level of comfort and range that land-based establishments fall short of. Over the past decade, millions of players globally have adopted the excitement of virtual gambling in light of its accessibility, captivating elements, and progressively larger range of offerings.

If you’re just starting with the world of digital casinos or would like to discover trusted platforms, why not become part of our active interactive platform? It’s a place where fans post experiences, assisting you to maximize your gambling adventure. Dive into the conversation and visit us now: https://www.tuhuwai.com/home.php?mod=space&uid=106478&do=profile&from=space

One of the most compelling reasons of digital gambling sites is the vast selection of entertainment options on offer. Whether you enjoy playing on traditional slots, playing through engaging thematic slots, or testing your strategy in strategy-based games like Texas Hold’em, casino websites boast limitless opportunities. Numerous services even offer live gaming streams, giving you the chance you to connect with professional croupiers and gaming peers, all while enjoying the realistic feel of a land-based casino from anywhere you want.

Apart from the game range, internet-based gambling hubs stand out ease of access.
Имя Цитировать 0  
0  
WilliamIRunisp
dark web marketplaces  darknet drug links
Имя Цитировать 0  
0  
CharlesMub
indian pharmacy India pharmacy ship to USA Indian pharmacy international shipping
Имя Цитировать 0  
0  
MichaelInozy
UnagiSwap is a cutting-edge decentralized exchange (DEX) that provides fast, secure, and transparent crypto trading. Designed for traders looking to swap digital assets efficiently without intermediaries, UnagiSwap offers low fees, deep liquidity, and seamless smart contract execution. Whether you're a casual trader or a professional investor, UnagiSwap’s non-custodial platform ensures full control over your assets in a decentralized environment. https://unagiswap.org
Имя Цитировать 0  
0  
MarkVar
Хотите сдать квартиру в аренду? Узнайте подробности https://imcongroup.ru/
Имя Цитировать 0  
0  
PingPap
dark web market urls  dark markets 2025
Имя Цитировать 0  
0  
Toliksit
dark market 2025  dark web market
Имя Цитировать 0  
0  
Toliksit
dark web link  darknet market
Имя Цитировать 0  
0  
FNDavidHaigo
dark web link  dark web market links
Имя Цитировать 0  
0  
FNDavidHaigo
darknet drug market  tor drug market
Имя Цитировать 0  
0  
Josephfeavy
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  
Volodyasit
dark web sites  dark web market
Имя Цитировать 0  
0  
MarkNORah
dark market link  darknet markets onion
Имя Цитировать 0  
Страницы: Пред. 1 ... 2729 2730 2731 2732 2733 ... 2739 След.
Текст сообщения*
Загрузить файл или картинкуПеретащить с помощью Drag'n'drop
Перетащите файлы
Ничего не найдено
Отправить Отменить
Защита от автоматических сообщений
 
Публикация статей
На данной странице представлены элементы инфоблока статьи, относящиеся к типу Публикации. Статьи опубликованы на странице с помощью комплексного компонента Новостной раздел с указанием параметров инфоблока Статьи. При создании каждой статьи был использован тег <break />, который позволяет осуществить разделение статьи на страницы. В публичном разделе такая статья будет представлена в виде нескольких страниц в зависимости от количества тегов <break />

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