public function removeField($name)
    {
        if (!isset($this->allFields[$name])) {
            return false;
        }

        /*
         * Remove from tabs
         */
        $this->allTabs->primary->removeField($name);
        $this->allTabs->secondary->removeField($name);
        $this->allTabs->outside->removeField($name);

        /*
         * Remove from main collection
         */
        unset($this->allFields[$name]);

        return true;
    }
public function removeField($name)
    {
        if (!isset($this->allFields[$name])) {
            return false;
        }

        /*
         * Remove from tabs
         */
        $this->allTabs->primary->removeField($name);
        $this->allTabs->secondary->removeField($name);
        $this->allTabs->outside->removeField($name);

        /*
         * Remove from main collection
         */
        unset($this->allFields[$name]);

        return true;
    }
public function removeField ( $ name ) { if ( ! isset ( $ this -> allFields [ $ name ] ) ) { return false ; } /*
         * Remove from tabs
         */ $ this -> allTabs -> primary -> removeField ( $ name ) ; $ this -> allTabs -> secondary -> removeField ( $ name ) ; $ this -> allTabs -> outside -> removeField ( $ name ) ; /*
         * Remove from main collection
         */ unset ( $ this -> allFields [ $ name ] ) ; return true ; }
Programatically remove a field.

@param string $name
@return bool
Programatically remove a field .