Msieprawski\ResourceTable\Helpers\Column::sortActive PHP 메소드

sortActive() 공개 메소드

Checks whether column is active by current sort index
public sortActive ( ) : boolean
리턴 boolean
    public function sortActive()
    {
        $sortIndex = $this->_sortIndex();
        if ($sortIndex === null) {
            return false;
        }
        return $sortIndex == $this->index();
    }