| @@ 140-149 (lines=10) @@ | ||
| 137 | /** |
|
| 138 | * {@inheritDoc} |
|
| 139 | */ |
|
| 140 | protected function realSetAttribute(/*# string */ $attribute, $value) |
|
| 141 | { |
|
| 142 | if (is_string($attribute)) { |
|
| 143 | $this->checkAttribute($attribute); |
|
| 144 | $this->link->setAttribute(constant($attribute), $value); |
|
| 145 | } else { |
|
| 146 | $this->link->setAttribute($attribute, $value); |
|
| 147 | } |
|
| 148 | return $this; |
|
| 149 | } |
|
| 150 | ||
| 151 | /** |
|
| 152 | * {@inheritDoc} |
|
| @@ 154-162 (lines=9) @@ | ||
| 151 | /** |
|
| 152 | * {@inheritDoc} |
|
| 153 | */ |
|
| 154 | protected function realGetAttribute(/*# string */ $attribute) |
|
| 155 | { |
|
| 156 | if (is_string($attribute)) { |
|
| 157 | $this->checkAttribute($attribute); |
|
| 158 | return $this->link->getAttribute(constant($attribute)); |
|
| 159 | } else { |
|
| 160 | return $this->link->getAttribute($attribute); |
|
| 161 | } |
|
| 162 | } |
|
| 163 | ||
| 164 | /** |
|
| 165 | * {@inheritDoc} |
|
| @@ 142-151 (lines=10) @@ | ||
| 139 | /** |
|
| 140 | * {@inheritDoc} |
|
| 141 | */ |
|
| 142 | protected function realSetAttribute(/*# string */ $attribute, $value) |
|
| 143 | { |
|
| 144 | if (is_string($attribute)) { |
|
| 145 | $this->checkAttribute($attribute); |
|
| 146 | $this->link->options(constant($attribute), $value); |
|
| 147 | } else { |
|
| 148 | $this->link->options($attribute, $value); |
|
| 149 | } |
|
| 150 | return $this; |
|
| 151 | } |
|
| 152 | ||
| 153 | /** |
|
| 154 | * {@inheritDoc} |
|