@@ 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 |
@@ 50-60 (lines=11) @@ | ||
47 | } |
|
48 | } |
|
49 | ||
50 | protected function isOK() |
|
51 | { |
|
52 | if (!is_array($this->value)) { |
|
53 | throw new \InvalidArgumentException( |
|
54 | 'The provided value for ' . __CLASS__ . ' must be an array of type xsNMTOKEN.' |
|
55 | ); |
|
56 | } |
|
57 | foreach ($this->value as $v) { |
|
58 | $v->isOKInternal(); |
|
59 | } |
|
60 | } |
|
61 | } |
|
62 |