Ublaboo\DataGrid\DataGrid::addActionCheck PHP Method

addActionCheck() protected method

Check whether given key already exists in $this->filters
protected addActionCheck ( string $key )
$key string
    protected function addActionCheck($key)
    {
        if (isset($this->actions[$key])) {
            throw new DataGridException("There is already action at key [{$key}] defined.");
        }
    }
DataGrid