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 "Categorytree-parents". You can create this page.

Displaying 1-10 of 29 matches for query Categorytree-parents retrieved in 0.042 sec with following stats:

  • categorytre found 0 times in 0 documents
  • parent found 52 times in 29 documents



... ) прав для события, выданного в сообщении об ошибке. Это делается дописыванием кода в обработчик событий соответствующего префикса. function mapPermissions() parent::mapPermissions(); $permissions = Array( 'OnAddUserImage' => Array('self' => true,'subitem'=>true), ); $this->permMapping = array_merge($this->permMapping, $permissions); Файл не является ...
... object->TableName . '.' . $object->IDField . ' IN (' . $sub_sql . ')'; $field_options 'sql_filter_type' = $sql_filter_type; $field_options 'value' = $filter_value; return $field_options; return style='color:red'>parent::getCustomFilterSearchClause
($object, $field_name, $filter_type, $field_options); Файл будет называться "e_search_helper.php" (согласно K4 ...
... $s.`IsVisible` = 1'); Добавлять поля ORDER BY с указанием направления сортировки: function SetCustomQuery(&$event) parent::SetCustomQuery($event); $object =& $event->getObject(); if ($event->Special 'test') $object->AddOrderField('Group', 'DESC'); Устанавливать значение GROUP BY: ...
... Добавить метод EventHandler:OnAfterItemLoad OnAfterItemLoad в файле people_eh.php. function OnAfterItemLoad(&$event) parent::OnAfterItemLoad($event); $minput_helper =& $this->Application->recallObject('MInputHelper'); / @var $minput_helper MInputHelper / $use_fields = Array ('ChildFullName', 'ChildBirthDate_date'); $minput_helper->LoadValues($event ...
... чем у того unit config, в котором секция описана. Ниже приведён пример массива, при помощи которого можно добавить новую секцию: 'custom:section_name' => Array ( 'parent' => 'custom:parent_section_name', 'icon' => 'custom:icon_name', 'label' => 'la_title_SectionName', 'url' => Array('t' => 'custom/path/to/template', 'pass' => 'm'), 'permissions' => Array('view', 'add', ' ...
... => 'delete',), 'priority' => 8.2, 'type' => 2, 'SectionPrefix' => 'lst', 'onclick' => 'checkEditMode()', 'container' => 0, ), 'in-commerce:affiliate_payment_types' => Array ( 'parent' => 'in-commerce:affiliates_folder', 'icon' => 'affiliates', 'label' => 'la_tab_AffiliatePaymentTypes', 'url' => Array ('t' => 'in-commerce/affiliate_plans/affiliate_payment_types_list', 'pass' => ...
... ::mapPermissions(). В данном методе объявляется массив, определяющий права доступа для EventHandler:About событий . function mapPermissions() parent::mapPermissions(); $permissions = Array ( 'OnViewPhone' => Array ('self' => 'view', 'subitem' => 'view'), 'OnGetPhoneCatalog' => Array ('self' => true), 'OnModifyPhoneInfo' => Array ('self' => 'edit', 'subitem' ...
... префикса будет их также сохранять. 'Hooks' => Array ( Array ( 'Mode' => hAFTER, 'Conditional' => true, 'HookToPrefix' => ' PARENT ', 'HookToSpecial' => ' ', 'HookToEvent' => Array ('OnPreSave'), 'DoPrefix' => '', 'DoSpecial' => ' ', 'DoEvent' => 'OnPreSaveSubItem', ), ), TipBox Событие EventHandler:OnPreSaveSubItem OnPreSaveSubItem доступно ...
... можно добавить использую приведённый ниже код: 'Hooks' => Array ( Array ( 'Mode' => hAFTER, 'Conditional' => false, 'HookToPrefix' => ' PARENT ', 'HookToSpecial' => ' ', 'HookToEvent' => Array ('OnAfterItemDelete'), 'DoPrefix' => '', 'DoSpecial' => '', 'DoEvent' => 'OnDeleteForeignRelations', ), ), Все указанные выше ключи (при объявлении hook) ...
... будет показан справа от крупного названия секции (того, что написано рядом с пиктограммой). Данный параметр доступен начиная с K4:Core v 5.0.0 Core v 5.0.0 . - ConfigProperty parent int Если указать данный параметр, то пиктограмма и большое название будут браться из родительской секции, а не той, что указана в параметре section section . В независимости от значения данного ...

Additional database time was 0.210 sec.


Result Page:   1  2  3 
match any word match all words

Search in namespaces:

Powered by Sphinx