Documentation

GetByID

array
CCatalogImport::GetByID(
   int ID
);

Method returns import profile information with specified ID. Non-static method.

Call parameters

Parameter Description
ID Record code.

Returned value

Method returns associative array with profile parameters with keys:

  • ID - record code;
  • FILE_NAME - profile file name with script to perform import;
  • NAME - import profile name;
  • IN_MENU - [Y|N] flag for showing profile in admin menu;
  • IN_AGENT - [Y|N] flag for available agent, performing profile import;
  • 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;
  • DEFAULT_PROFILE - [Y|N] attribute to use profile by default;
  • LAST_USE - date and time of last profile execution in database format;
  • NEED_EDIT - [Y|N] flag specifies incomplete profile setup (profile is not executed until its edited).
  • LAST_USE_FORMAT - date and time of last profile use in site format;
  • CREATED_BY - user profile ID;
  • 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.

© «Bitrix24», 2001-2024