18 private $prfName =
'';
30 $this->prfName = $data[1];
33 $this->checkIsAFamilyProfil();
39 private function checkUnknow()
43 $this->profil = new_doc(
getDbAccess() , $this->prfName);
49 if ($fam[
"doctype"] ==
"C") {
50 $this->profil =
new DocFam();
51 $this->profil->affect($fam);
54 if (!$this->profil->isAlive()) {
60 private function checkIsAFamilyProfil()
62 if (!is_a($this->profil,
"PFam")) {
getTDoc($dbaccess, $id, $sqlfilters=array(), $result=array())
static getError($code, $args=null)
check(array $data, &$extra=null)
Check family profid property when importing definition.