0 follower

Interface Yiisoft\Yii\DataView\GridView\Column\ColumnInterface

Implemented byYiisoft\Yii\DataView\GridView\Column\ActionColumn, Yiisoft\Yii\DataView\GridView\Column\CheckboxColumn, Yiisoft\Yii\DataView\GridView\Column\DataColumn, Yiisoft\Yii\DataView\GridView\Column\RadioColumn, Yiisoft\Yii\DataView\GridView\Column\SerialColumn

Interface defining the contract for grid columns.

This interface is the foundation for all grid columns in the data view system. It defines the minimal requirements that any column must implement to be properly rendered within a grid.

Public Methods

Hide inherited methods

Method Description Defined By
getRenderer() Gets the fully qualified class name of the column's renderer. Yiisoft\Yii\DataView\GridView\Column\ColumnInterface
isVisible() Determines if the column should be rendered in the grid. Yiisoft\Yii\DataView\GridView\Column\ColumnInterface

Method Details

Hide inherited methods

getRenderer() public abstract method

Gets the fully qualified class name of the column's renderer.

See also Yiisoft\Yii\DataView\GridView\Column\ColumnRendererInterface The interface that the renderer must implement.

public abstract string getRenderer ( )
return string

The fully qualified class name of the renderer.

                public function getRenderer(): string;

            
isVisible() public abstract method

Determines if the column should be rendered in the grid.

public abstract boolean isVisible ( )
return boolean

Whether the column should be rendered.

                public function isVisible(): bool;