| @@ 28-38 (lines=11) @@ | ||
| 25 | $this->setMinLengthFacet(1); |
|
| 26 | } |
|
| 27 | ||
| 28 | protected function isOK() |
|
| 29 | { |
|
| 30 | if (!is_array($this->value)) { |
|
| 31 | throw new \InvalidArgumentException( |
|
| 32 | 'The provided value for ' . __CLASS__ . ' must be an array of type xsENTITY.' |
|
| 33 | ); |
|
| 34 | } |
|
| 35 | foreach ($this->value as $v) { |
|
| 36 | $v->isOKInternal(); |
|
| 37 | } |
|
| 38 | } |
|
| 39 | } |
|
| 40 | ||
| @@ 26-37 (lines=12) @@ | ||
| 23 | $this->setMinLengthFacet(1); |
|
| 24 | } |
|
| 25 | ||
| 26 | protected function isOK() |
|
| 27 | { |
|
| 28 | parent::isOK(); |
|
| 29 | if (!is_array($this->value)) { |
|
| 30 | throw new \InvalidArgumentException( |
|
| 31 | 'The provided value for ' . __CLASS__ . ' must be an array of type xsIDREF.' |
|
| 32 | ); |
|
| 33 | } |
|
| 34 | foreach ($this->value as $v) { |
|
| 35 | $v->isOKInternal(); |
|
| 36 | } |
|
| 37 | } |
|
| 38 | } |
|
| 39 | ||
| @@ 45-55 (lines=11) @@ | ||
| 42 | } |
|
| 43 | } |
|
| 44 | ||
| 45 | protected function isOK() |
|
| 46 | { |
|
| 47 | if (!is_array($this->value)) { |
|
| 48 | throw new \InvalidArgumentException( |
|
| 49 | 'The provided value for ' . __CLASS__ . ' must be an array of type xsNMTOKEN.' |
|
| 50 | ); |
|
| 51 | } |
|
| 52 | foreach ($this->value as $v) { |
|
| 53 | $v->isOKInternal(); |
|
| 54 | } |
|
| 55 | } |
|
| 56 | } |
|
| 57 | ||