public static function getViewDataTableId()
    {
        $id = static::ID;

        if (empty($id)) {
            $message = sprintf('ViewDataTable %s does not define an ID. Set the ID constant to fix this issue', get_called_class());
            throw new \Exception($message);
        }

        return $id;
    }
public static function getViewDataTableId()
    {
        $id = static::ID;

        if (empty($id)) {
            $message = sprintf('ViewDataTable %s does not define an ID. Set the ID constant to fix this issue', get_called_class());
            throw new \Exception($message);
        }

        return $id;
    }
public static function getViewDataTableId ( ) { $ id = static :: ID ; if ( empty ( $ id ) ) { $ message = sprintf ( 'ViewDataTable %s does not define an ID. Set the ID constant to fix this issue' , get_called_class ( ) ) ; throw new \ Exception ( $ message ) ; } return $ id ; }
Returns the viewDataTable ID for this DataTable visualization.

Derived classes should not override this method. They should instead declare a const ID field
with the viewDataTable ID.

@throws \Exception
@return string
Returns the viewDataTable ID for this DataTable visualization .