public function isHidden($table, $record)
    {
        $hidden = false;

        if (isset($this->tca[$table]['ctrl']['enablecolumns']['disabled'])) {
            $hiddenField = $this->tca[$table]['ctrl']['enablecolumns']['disabled'];
            $hidden = (boolean)$record[$hiddenField];
        }

        return $hidden;
    }
public function isHidden($table, $record)
    {
        $hidden = false;

        if (isset($this->tca[$table]['ctrl']['enablecolumns']['disabled'])) {
            $hiddenField = $this->tca[$table]['ctrl']['enablecolumns']['disabled'];
            $hidden = (boolean)$record[$hiddenField];
        }

        return $hidden;
    }
public function isHidden ( $ table , $ record ) { $ hidden = false ; if ( isset ( $ this -> tca [ $ table ] [ 'ctrl' ] [ 'enablecolumns' ] [ 'disabled' ] ) ) { $ hiddenField = $ this -> tca [ $ table ] [ 'ctrl' ] [ 'enablecolumns' ] [ 'disabled' ] ; $ hidden = ( boolean ) $ record [ $ hiddenField ] ; } return $ hidden ; }
Checks whether a hidden field exists for the current table and if so
determines whether it is set on the current record.

@param string $table The table name.
@param array $record An array with record fields that may affect visibility.
@return bool True if the record is hidden, FALSE otherwise.
Checks whether a hidden field exists for the current table and if so determines whether it is set on the current record .