34 $this->famName = isset($data[1]) ? trim($data[1]) :
'';
35 $this->specName = isset($data[2]) ? trim($data[2]) :
'';
36 $this->folderId = isset($data[3]) ? trim($data[3]) :
'';
50 return (isset($this->famName) ? $this->famName :
false);
60 if (!$this->checkName($this->famName)) {
68 if ($f->doctype !=
'C') {
71 $canCreateError = $f->control(
'create');
74 $this->famName = $f->name;
92 if (!$this->checkName($this->specName)) {
97 private function checkName($name)
99 if ($name && (!is_numeric($name))) {
100 if (!self::isWellformedLogicalName($name)) {
113 return (preg_match(self::LOGICALNAME_RE, $name) === 1);
static getError($code, $args=null)
check(array $data, &$extra=null)
static isWellformedLogicalName($name)