18 $this->contents =&
$obj->$member;
22 if (!is_string($this->contents)) $this->
error(
'must be a string');
27 if (!is_bool($this->contents)) $this->
error(
'must be a boolean');
32 if (!is_array($this->contents)) $this->
error(
'must be an array');
37 if ($this->contents === null) $this->
error(
'must not be null');
43 if (!ctype_alnum($this->contents)) $this->
error(
'must be alphanumeric');
48 if (empty($this->contents)) $this->
error(
'must not be empty');
54 foreach ($this->contents as $v) {
55 if ($v !==
true) $this->
error(
'must be a lookup array');