Documentation

GetPropertyFieldHtmlMulty

string
CIBlockProperty*::GetPropertyFieldHtmlMulty(
 arProperty,
 arValues,
 strHTMLControlName
);

The method prints multiple value edit form. When missing, uses GetPropertyFieldHtml for each value separately (for multiple properties). Method is static when using standard properties. Must be static for properties, created by client when using php7.

Call parameters

Parameter Description
arProperty
Property metadata. See Structure for Iblock Module Tables
valueProperty value. Array type:
array( 
       "VALUE" => value, 
       "DESCRIPTION" => description, 
     );
strHTMLControlNameNames of control elements for filling-in the property and its description. Array type:
  array( 
       "VALUE" => html //safe name for value, 
       "DESCRIPTION" => //html safe name for description, 
       "MODE" => //can have the value "FORM_FILL" when calling from element edit form
                //or "iblock_element_admin" when editing in the element list view mode, 
                //as well as "EDIT_FORM" when editing an iblock.
       "FORM_NAME" => / form name to have in-built control element.  
       );

Returned value

Returned value - html-code.


© «Bitrix24», 2001-2024
Up