Description and parameters
bool
CCatalogExport::CheckFields(
string ACTION,
array &arFields
);
Method checks parameters, passed to method CCatalogExport::Add and CCatalogExport::Update. Non-static method.
Call parameters
Parameter |
Description |
ACTION |
Specified which method is checked. Possible values:
|
arFields |
Associative array with export profile parameters. Permissible values:
- CREATED_BY - user ID, who created profile;
- MODIFIED_BY - user ID, who updated profile;
- TIMESTAMP_X - time of the last profile update in site format;
- DATE_CREATE - date and time of created profile in site format.
- FILE_NAME - profile file name with script to perform export;
- NAME - export profile name;
- IN_MENU - [Y|N] flag for showing profile in admin menu;
- DEFAULT_PROFILE - [Y|N] attribute to use profile by default;
- IN_AGENT - [Y|N] flag for available agent, performing profile export;
- IN_CRON - [Y|N] flag for associating the profile to cron utility for automatic periodic upload (for Unix systems only);
- NEED_EDIT - [Y|N] flag specifies incomplete profile setup (profile is not executed until its edited).
|
Returned value
Returns true on correctly passed parameters, otherwise - false.