36 $this->contents =&
$obj->$member;
44 if (!is_string($this->contents)) {
45 $this->
error(
'must be a string');
55 if (!is_bool($this->contents)) {
56 $this->
error(
'must be a boolean');
66 if (!is_array($this->contents)) {
67 $this->
error(
'must be an array');
77 if ($this->contents === null) {
78 $this->
error(
'must not be null');
89 if (!ctype_alnum($this->contents)) {
90 $this->
error(
'must be alphanumeric');
100 if (empty($this->contents)) {
101 $this->
error(
'must not be empty');
112 foreach ($this->contents as $v) {
114 $this->
error(
'must be a lookup array');