src/Html/HasTable.php
protected function compileTableSearchHeaders()
    {
        $search = [];
        foreach ($this->collection->all() as $key => $row) {
            $search[] = $row['searchable'] ? '<th>' . (isset($row->search) ? $row->search : '') . '</th>' : '<th></th>';
        }

        return $search;
    }
protected function compileTableSearchHeaders()
    {
        $search = [];
        foreach ($this->collection->all() as $key => $row) {
            $search[] = $row['searchable'] ? '<th>' . (isset($row->search) ? $row->search : '') . '</th>' : '<th></th>';
        }

        return $search;
    }
protected function compileTableSearchHeaders ( ) { $ search = [ ] ; foreach ( $ this -> collection -> all ( ) as $ key => $ row ) { $ search [ ] = $ row [ 'searchable' ] ? '<th>' . ( isset ( $ row -> search ) ? $ row -> search : '' ) . '</th>' : '<th></th>' ; } return $ search ; }
Compile table search headers.

@return array
Compile table search headers .