Answer the question
In order to leave comments, you need to log in
How to get the value of a list of property values list?
this is how I got the name of the property and its ID :
$property_enums = CIBlockProperty::GetList(Array("DEF"=>"DESC", "SORT"=>"ASC"), Array("IBLOCK_ID"=>11, "ID"=>111));
while($enum_fields = $property_enums->GetNext())
{
echo $enum_fields["ID"]." - ".$enum_fields["VALUE"]."<br>";
}
$property_enums = CIBlockPropertyEnum::GetList(Array("DEF"=>"DESC", "SORT"=>"ASC"), Array("IBLOCK_ID"=>11, "ID"=>111));
while($enum_fields = $property_enums->GetNext())
{
echo $enum_fields["ID"]." - ".$enum_fields["VALUE"]."<br>";
}
Answer the question
In order to leave comments, you need to log in
All the same, I received it, the fault of everything was my carelessness.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question