2namespace Bitrix\Landing\Controller;
4use \Bitrix\Landing\Rights;
5use \Bitrix\Landing\Note\Target;
6use \Bitrix\Landing\Note\Source;
7use \Bitrix\Landing\Site\Type;
8use \Bitrix\Main\Engine\Controller;
36 'canCreateNew' => self::canCreateNew()
58 $result = Source::createFromSource($kbId, $sourceType, $sourceId);
65 $this->
addError(
new Error(
'Error occurred during note creating.'));
createNoteAction(int $kbId, string $sourceType, int $sourceId, ?string $scope=null)
static getTargetsAction()
static hasAdditionalRight($code, $type=null, bool $checkExtraRights=false, bool $strict=false)
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)
check_bitrix_sessid($varname='sessid')