예제 #1
0
파일: mod_edit.php 프로젝트: poef/ariadne
 function _registerDataField($name)
 {
     $id = edit::registerDataField();
     // FIXME: Temporary fix voor older code which still use registerDataField
     $context = pobject::getContext();
     $me = $context["arCurrentObject"];
     $prefix = edit::getEditPrefix();
     echo "<script> parent.registerDataField('" . $prefix . $id . "','" . AddCSlashes($name, ARESCAPE) . "','" . $me->path . "'\n\t\t\t\t," . $me->id . "); </script>\n";
     return $id;
 }