@@ 542-550 (lines=9) @@ | ||
539 | * @param $key |
|
540 | * @return bool |
|
541 | */ |
|
542 | public function removeAttrib($key) |
|
543 | { |
|
544 | if (isset($this->_attribs[$key])) { |
|
545 | unset($this->_attribs[$key]); |
|
546 | ||
547 | return true; |
|
548 | } |
|
549 | ||
550 | return false; |
|
551 | } |
|
552 | ||
553 | /** |
@@ 156-163 (lines=8) @@ | ||
153 | /** |
|
154 | * @return bool |
|
155 | */ |
|
156 | public function removeAttrib($key) |
|
157 | { |
|
158 | if (isset($this->_attribs[$key])) { |
|
159 | unset($this->_attribs[$key]); |
|
160 | ||
161 | return true; |
|
162 | } |
|
163 | ||
164 | return false; |
|
165 | } |
|
166 |
@@ 413-420 (lines=8) @@ | ||
410 | /** |
|
411 | * @return bool |
|
412 | */ |
|
413 | public function removeAttrib($key) |
|
414 | { |
|
415 | if (isset($this->_attribs[$key])) { |
|
416 | unset($this->_attribs[$key]); |
|
417 | ||
418 | return true; |
|
419 | } |
|
420 | ||
421 | return false; |
|
422 | } |
|
423 |