29 $this->famName = (isset($data[1])) ? trim($data[1]) : null;
33 if (!$this->
hasErrors()) $this->CheckKeysCount();
46 if (!$this->checkName($this->famName)) {
50 $this->family = new_doc(
getDbAccess() , $this->famName);
51 if (!$this->family->isAlive()) {
54 if ($this->family->doctype !=
'C') {
57 $canCreateError = $this->family->control(
'create');
77 foreach ($this->attrIds as $aid) {
78 if (!$this->family->getAttribute($aid)) {
92 foreach ($this->attrIds as $aid) {
101 private function checkName($name)
103 if ($name && (!is_numeric($name))) {
104 if (!preg_match(
'/^[a-z][a-z0-9_]*$/i', $name)) {
static getError($code, $args=null)
getOrder(array $orderdata)
check(array $data, &$extra=null)