action="'.htmlspecialcharsbx($APPLICATION->GetCurPageParam("mode=frame", array("mode"))).'" |
public function modify($modify) { return $this->value->modify($modify); } |
public function setDate ($year, $month, $day) { return $this->value->setDate($year, $month, $day); } |
Fatal error: Cannot use 'String' as class name as it is reserved in bitrix\modules\main\lib\text\string.php on line 4 Fatal error: Argument 1 passed to Bitrix\Main\Diag\ExceptionHandler::handleException() must be an instance of Exception, instance of EngineException given in bitrix\modules\main\lib\diag\exceptionhandler.php on line 167 Fatal error: Argument 1 passed to Bitrix\Main\Diag\HttpExceptionHandlerOutput::renderExceptionMessage() must be an instance of Exception, instance of EngineException given, called in bitrix\modules\main\lib\diag\exceptionhandler.php on line 171 and defined in bitrix\modules\main\lib\diag\httpexceptionhandleroutput.php on line 11 ... |
$arComponentParameters = array( "GROUPS" => array( "PARAMS" => array( "NAME" => GetMessage("IBLOCK_PARAMS"), "SORT" => "200" ), "ACCESS" => array( "NAME" => GetMessage("IBLOCK_ACCESS"), "SORT" => "400", ), "FIELDS" => array( "NAME" => GetMessage("IBLOCK_FIELDS"), "SORT" => "300", ), "TITLES" => array( "NAME" => GetMessage("IBLOCK_TITLES"), "SORT" => "1000", ), ), ... |
if ($templateProperties && is_array($templateProperties)) { /* Добавить */ if(is_array($arComponentParameters["GROUPS"])) $arComponentParameters["GROUPS"] = array_merge ($arComponentParameters["GROUPS"], $templateProperties["TEMPLATE_GROUPS"]); else $arComponentParameters["GROUPS"] = $templateProperties["TEMPLATE_GROUPS"]; unset($templateProperties["TEMPLATE_GROUPS"]); /* эти пять строчек */ if(is_array($arComponentParameters["PARAMETERS"])) $arComponentParameters["PARAMETERS"] = array_merge ($arComponentParameters["PARAMETERS"], $templateProperties); else $arComponentParameters["PARAMETERS"] = $templateProperties; } |