Answer the question
In order to leave comments, you need to log in
What is wrong with array filter?
I make the filter like this:
$GLOBALS['arrFilterTomain'] = Array("ACTIVE" => "Y",
"PROPERTY" => array('CITYS' => array('VALUE_XML_ID' => '2012')));
//ничего не выводит
//$GLOBALS['arrFilterTomain'] =Array("ACTIVE" => "Y",
"PROPERTY" => array('TOMAIN' => array('VALUE' => 'Y')));
["DISPLAY_PROPERTIES"]=>
array(3) {
["TOMAIN"]=>
array(36) {
....
["USER_TYPE_SETTINGS"]=>
array(1) {
["VIEW"]=>
array(2) {
["N"]=>
string(1) "N"
["Y"]=>
string(1) "Y"
}
}
...
["VALUE"]=>
string(1) "Y"
....
string(34) "Вывести на главной"
["~DEFAULT_VALUE"]=>
string(1) "Y"
}
["CITYS"]=>
array(38) {
....
["VALUE_ENUM"]=>
string(22) "Новосибирск"
["VALUE_XML_ID"]=>
string(4) "2012"
....
}
}
Answer the question
In order to leave comments, you need to log in
$GLOBALS['arrFilterTomain'] = array("PROPERTY_CITYS_VALUE"=>"Москва%");
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question