Zend/Gdata/Spreadsheets/ListEntry.php
public function removeCustomByName($name)
    {
        if (array_key_exists($name, $this->_customByName)) {
            $element = $this->_customByName[$name];
            // Remove element
            unset($this->_customByName[$name]);
            // Be sure to delete from both arrays!
            $key = array_search($element, $this->_custom);
            unset($this->_custom[$key]);
        } else {
            require_once 'Zend/Gdata/App/InvalidArgumentException.php';
            throw new Zend_Gdata_App_InvalidArgumentException(
                'Element does not exist.');
        }
        return $this;
    }
public function removeCustomByName($name)
    {
        if (array_key_exists($name, $this->_customByName)) {
            $element = $this->_customByName[$name];
            // Remove element
            unset($this->_customByName[$name]);
            // Be sure to delete from both arrays!
            $key = array_search($element, $this->_custom);
            unset($this->_custom[$key]);
        } else {
            require_once 'Zend/Gdata/App/InvalidArgumentException.php';
            throw new Zend_Gdata_App_InvalidArgumentException(
                'Element does not exist.');
        }
        return $this;
    }
public function removeCustomByName ( $ name ) { if ( array_key_exists ( $ name , $ this -> _customByName ) ) { $ element = $ this -> _customByName [ $ name ] ; // Remove element unset ( $ this -> _customByName [ $ name ] ) ; // Be sure to delete from both arrays! $ key = array_search ( $ element , $ this -> _custom ) ; unset ( $ this -> _custom [ $ key ] ) ; } else { require_once 'Zend/Gdata/App/InvalidArgumentException.php' ; throw new Zend_Gdata_App_InvalidArgumentException ( 'Element does not exist.' ) ; } return $ this ; }
Remove an individual row element from this list entry by name.
@param string $name The name of the custom element to be deleted.
@return Zend_Gdata_Spreadsheets_ListEntry Provides a fluent interface.
@throws Zend_Gdata_App_InvalidArgumentException
Remove an individual row element from this list entry by name .