CheckFields
Description and parameters
bool CCatalogGroup::CheckFields( string ACTION, array &arFields, int ID = 0 );
Method serves for checking parameters, passed to methods CCatalogGroup::Add and CCatalogGroup::Update. Non-static method.
Call parameters
Parameter | Description |
---|---|
ACTION | Indicates the method to be checked. Possible values:
|
arFields | Associative array with price type parameters. Permissible keys:
|
ID | Price type code. Parameter is optional and applicable only for $ACTION = 'UPDATE'. |
Returned value
Returns true in case passed parameters are correct, otherwise - false. In case methods returned false, you can get error text via $APPLICATION->GetException().
See Also
© «Bitrix24», 2001-2024