Documentation

add

\Bitrix\Main\Entity\AddResult public static
\Bitrix\Sale\Internals\OrderArchiveTable::add(
 array $data
);

Method an entry into table with main fields of archived orders. Static method.

Parameters

ParameterDescriptionVersion
$dataArray of data type:

array(
	"fields" => array(
	 	"FIELD1" => "value1",
	 	"FIELD2" => "value2",
	 	),
	 	"auth_context" => \Bitrix\Main\Authentication\Context object
	)

or a simple array with data.

Exception

Example



© «Bitrix24», 2001-2024
Up