In-Portal Developers Guide

This is a wiki-based Developers Guide for In-Portal Open Source CMS. The purpose of this guide is to provide advanced users, web developers and programmers with documentation on how to expand, customize and improve the functionality and the code the In-Portal software. Please consider contributing to our documentation writing effort.

Search Wiki Using Sphinx

From In-Portal Developers Guide

Jump to: navigation, search

There is no page titled "PrintList". You can create this page.

Displaying 1-5 of 5 matches for query PrintList retrieved in 0.001 sec with following stats:

  • printlist found 17 times in 5 documents



... ' ; foreach ($records as $record) $pass_params 'value' = $record; $output .= $this->Application->ParseBlock($pass_params); return $output; '''Некоторые особенности использования методов PrintList/PrintList2.''' ''Как правильно получить экземляр kDBList внутри метода класса.'' Для получения объекта списка в обработчике тэгов с текущими префикс/ ...
... :About обработчике тегов (TagProcessor) переписать метод TagProcessor:PrepareListElementParams PrepareListElementParams , который будет использоваться для вывода данных (из тэга TagProcessor:PrintList PrintList ) из связанной таблицы в списке главного префикса: function PrepareListElementParams(&$object, &$block_params) $edit_picker_helper =& $this-> ...
... Зачем использовать Может возникнуть вопрос: "почему надо использовать этот механизм, а не писать самому вызов sql например в тэге (tag), который вызывается из блока (параметр render_as) для TagProcessor:PrintList PrintList ?". Ответ довольно прост: "механизм о котором идёт речь также автоматически записывает в cache результаты подсчётов и в последствии не повторяет тот-же самый запрос и тем ...
... code>. Результатом работы метода является ассоциативный массив вида: Array( // другие параметры 'Prefix' => 'mytestprefix' 'Special' => '' 'PrefixSpecial' => 'mytestprefix' ); Пример функции PrintList, которая выводит список товаров заказа для префикса mytestprefix. Хорошо видно как массив $params передаеться в метод ...
... ' не задан, тогда в тогда будет использоваться значение поумолчанию. function getPerPage(&$event) // 1. per-page is passed as tag parameter to PrintList, InitList, etc. $per_page = $event->getEventParam('per_page'); / if ($per_page 'list_next') $per_page = ''; / // 2. per-page variable name is store into config variable $config_mapping = $this->Application ...

Additional database time was 0.045 sec.

match any word match all words

Search in namespaces:

Powered by Sphinx