bool
CCatalogExport::Update(
int ID,
array arFields
);
Note: You cannot avoid CheckFIelds when entering values to this method, with a single exception:
"=LAST_USE" => $DB->GetNowFunction()
Call parameters
Parameter |
Description |
ID |
Code for updated export profile.
|
arFields |
Associative array with export profile parameters, with keys as parameter names and new values. Available parameters
- MODIFIED_BY - user profile ID;
- 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);
- SETUP_VARS - profile setup parameters as URL string;
- NEED_EDIT - [Y|N] flag specifies incomplete profile setup (profile is not executed until its edited).
- CREATED_BY - user profile ID. In case the value of this field is not passed, takes value from parameter CUser if $USER and authentication are available. Otherwise, this field will have NULL;
- MODIFIED_BY - user profile ID. In case the value of this field is not passed, takes value from parameter CUser if $USER and authentication are available. Otherwise, this field value will have NULL;
- TIMESTAMP_X - time of the last profile update in site format. This field cannot be specified manually;
|
Returned value
Returns true on successfully updated export profile parameters and false otherwise.