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

Displaying 1-4 of 4 matches for query CheckPermission retrieved in 0.047 sec with following stats:

  • checkpermiss found 8 times in 4 documents



... тэгов ). Для вызова проверки права доступа из PHP-кода следует использовать конструкцию следующего вида: if ($this->Application->style='color:red'>CheckPermission('custom:phones.adva
nced:change_price')) $object->SetField('Price', $new_price); else $object->SetError('Price', 'cannot_change_price', 'la_error_YouDontHavePermissionToChangePrice'); Метод kApplication:: ...
... настройки, например, вследствие необычных взаимосвязей с другими объектами. Ограничения Особых ограничений нет. Использует вспомогательные методы класса EventHandler:dbBuild dbBuild , EventHandler:ItemPrepareQuery ItemPrepareQuery , EventHandler:CheckPermission CheckPermission , EventHandler:LoadItem LoadItem , EventHandler:checkItemStatus checkItemStatus
... совпадает с существующим событием. Ошибка при попытке Fatal Error: IDs not passed to... Вызов ошибки Сообщение вызывается из события kCatDBEventHandler::CheckPermission core\units\general\cat_event_handler.php (111) trigger_error('IDs not passed to '.$event->getPrefixSpecial().':CheckPermission', E_USER_WARNING); Получение ошибки Ошибка ...
... kEvent $event @access protected / function OnDelete(&$event) // проверка на то, что текущий пользователь не имеет прав READONLY if ($this->Application->style='color:red'>CheckPermission('SYSTEM_ACCESS.READ
ONLY', 1)) return; // создание экземпляра объекта $temp =&
$this->Application->recallObject($event->getPrefixSpecial().
'_TempHandler', 'kTempTablesHandler'); / @var $temp ...

Additional database time was 0.054 sec.

match any word match all words

Search in namespaces:

Powered by Sphinx