framework/web/form/CFormElementCollection.php
public function remove($key)
	{
		if(($item=parent::remove($key))!==null)
			$this->_form->removedElement($key,$item,$this->_forButtons);
	}
public function remove($key)
	{
		if(($item=parent::remove($key))!==null)
			$this->_form->removedElement($key,$item,$this->_forButtons);
	}
public function remove ( $ key ) { if ( ( $ item = parent :: remove ( $ key ) ) !== null ) $ this -> _form -> removedElement ( $ key , $ item , $ this -> _forButtons ) ; }
Removes the specified element by key.
@param string $key the name of the element to be removed from the collection
@throws CException
Removes the specified element by key .