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