| @@ 48-50 (lines=3) @@ | ||
| 45 | if ($parentObject->inPie()) { |
|
| 46 | xoops_error('A Pie-chart cannot be specified for userfield ' . $this->fieldnumber, get_class($this)); |
|
| 47 | } |
|
| 48 | if ('1' == $parentObject->viewinlist) { |
|
| 49 | xoops_error('userfield ' . $this->fieldnumber . ' cannot be included in listview', get_class($this)); |
|
| 50 | } |
|
| 51 | if ('1' == $parentObject->hassearch) { |
|
| 52 | xoops_error('Search cannot be defined for userfield ' . $this->fieldnumber, get_class($this)); |
|
| 53 | } |
|
| @@ 52-54 (lines=3) @@ | ||
| 49 | if ('1' == $this->lookuptable) { |
|
| 50 | xoops_error('No lookuptable may be specified for userfield ' . $this->fieldnumber, get_class($this)); |
|
| 51 | } |
|
| 52 | if ('1' == $parentObject->viewinadvanced) { |
|
| 53 | xoops_error('userfield ' . $this->fieldnumber . ' cannot be shown in advanced info', get_class($this)); |
|
| 54 | } |
|
| 55 | if ('1' == $parentObject->viewinpie) { |
|
| 56 | xoops_error('A Pie-chart cannot be specified for userfield ' . $this->fieldnumber, get_class($this)); |
|
| 57 | } |
|