Пример #1
0
 private function setAttributes(PropertyValue $propValue)
 {
     $prop = $propValue->getProperty();
     foreach ($this->attributes as $k => &$v) {
         if ($prop[$k] == 'Y') {
             $v = $propValue;
         }
     }
 }
Пример #2
0
foreach ($arOrderProps + $arOrderPropsCode as $key => $value) {
    if ($value["IS_FILTERED"] == "Y" && $value["TYPE"] != "MULTIPLE") {
        ?>
			<tr>
				<td valign="top"><?php 
        echo $value["NAME"];
        ?>
:</td>
				<td valign="top" style="overflow: visible; ">
					<?php 
        $inputParams = $value["SETTINGS"];
        $inputParams["TYPE"] = $value["TYPE"];
        $inputParams["IS_FILTER_FIELD"] = true;
        if ($value["TYPE"] == "ENUM") {
            $inputParams["OPTIONS"] = array("" => Loc::getMessage("SALE_F_ALL"));
            $inputParams["OPTIONS"] = $inputParams["OPTIONS"] + \Bitrix\Sale\PropertyValue::loadOptions($value["ID"]);
        }
        echo \Bitrix\Sale\Internals\Input\Manager::getFilterEditHtml("filter_prop_" . $key, $inputParams, ${"filter_prop_" . $key});
        ?>
				</td>
			</tr>
			<?php 
    }
}
$oFilter->Buttons(array("table_id" => $sTableID, "url" => $APPLICATION->GetCurPage(), "form" => "find_form"));
$oFilter->End();
?>
</form>

<div class="adm-c-bigdatabar" id="bigdatabar">
	<?php