20 if (
$profile_id) redirect(
"data_import_field_mapping?import_profile_id=$profile_id");
29 redirect(
"data_import_field_mapping");
57 $form->hide(
"class",
"import_profile_id");
63 $form->readonly(
"client_field");
64 $form->getRenderer(
"client_field")->template =
"prettify";
70 $spreadsheet->button(
"Clear Field Mapping",
"/action/data_sync/clear_mapping?import_profile_id={$profile_id}");
90 <script type=
"text/javascript" src=
"/components/data_sync/js/data_sync_profile_manager.js"></script>
91 <script type=
"text/javascript">
93 var importProfileManager;
96 window.addEvent(
'load',
function()
98 importProfileManager =
new DataImportProfileManager(
"{$class}", {
$profile_id});
106 <div
class=
"tab_border">
112 <label
for=
"import_profile_id">Select Import Profile: </label><select name=
"import_profile_id" onchange=
'go("?import_profile_id=" + this.value);'>
119 </select>&
nbsp;<a href=
'#' class=
'button' onclick=
'importProfileManager.createProfileDialog(); return false;'>Create New Profile</a>
if($method=="POST") $script
static getImportColumns($class, $file="", $format=null)
static getFieldMappings($class, $profile_id=0)
static usingFeature()
Uses the specified framework feature(s).
static using()
Import the datamodels, views and manifest for the specified component(s).
static getValue($component, $name)
Retrieve the value of the specified Setting.
$method
Pull out a simple reference to the request method.