25 $err = parent::preImport($extra);
27 if (empty($extra) || empty($extra[
"state"]) || ($extra[
"state"] !=
"alive" && $extra[
"num"] ==
"1") || ($extra[
"state"] !=
"sick" && $extra[
"num"] ==
"2")) {
28 return _(
"TEST_EXTRA:Extra state not found");
36 $err = parent::postImport($extra);
38 $err = $this->SetValue(
"test_extra", json_encode($extra));
preImport(array $extra=array())
postImport(array $extra=array())
store(&$info=null, $skipConstraint=false)
if($file) if($subject==""&&$file) if($subject=="") $err