示例#1
0
	public static function GetShowIn($arControls)
	{
		$arControls = array(CSaleCondCtrlGroup::GetControlID());
		return $arControls;
	}
示例#2
0
	public static function GetShowIn($arControls)
	{
		if (!empty($arControls))
		{
			$strDisableKey = CSaleCondCtrlGroup::GetControlID();
			$arControlsMap = array_fill_keys($arControls, true);
			if (array_key_exists($strDisableKey, $arControlsMap))
				unset($arControlsMap[$strDisableKey]);
			$arControls = array_keys($arControlsMap);
		}
		return $arControls;
	}