public function toggleFrozen($freeze = null)
    {
        $old = $this->frozen;
        if (null !== $freeze) {
            $this->frozen = (bool)$freeze;
        }
        return $old;
    }
public function toggleFrozen($freeze = null)
    {
        $old = $this->frozen;
        if (null !== $freeze) {
            $this->frozen = (bool)$freeze;
        }
        return $old;
    }
public function toggleFrozen ( $ freeze = null ) { $ old = $ this -> frozen ; if ( null !== $ freeze ) { $ this -> frozen = ( bool ) $ freeze ; } return $ old ; }
Changes the element's frozen status

@param    bool    Whether the element should be frozen or editable. If
omitted, the method will not change the frozen status,
just return its current value
@return   bool    Old value of element's frozen status
Changes the element s frozen status