Swat/SwatTileView.php
protected function showCheckAll()
    {
        if (
            $this->getCheckboxCellRenderer() === null ||
            $this->getFirstAncestor('SwatForm') === null
        ) {
            $show = false;
        } elseif ($this->show_check_all === null && count($this->model) > 1) {
            $show = true;
        } elseif ($this->show_check_all === true) {
            $show = true;
        } else {
            $show = false;
        }

        return $show;
    }
protected function showCheckAll()
    {
        if (
            $this->getCheckboxCellRenderer() === null ||
            $this->getFirstAncestor('SwatForm') === null
        ) {
            $show = false;
        } elseif ($this->show_check_all === null && count($this->model) > 1) {
            $show = true;
        } elseif ($this->show_check_all === true) {
            $show = true;
        } else {
            $show = false;
        }

        return $show;
    }
protected function showCheckAll ( ) { if ( $ this -> getCheckboxCellRenderer ( ) === null || $ this -> getFirstAncestor ( 'SwatForm' ) === null ) { $ show = false ; } elseif ( $ this -> show_check_all === null && count ( $ this -> model ) > 1 ) { $ show = true ; } elseif ( $ this -> show_check_all === true ) { $ show = true ; } else { $ show = false ; } return $ show ; }
Whether or not a check-all widget is to be displayed for the tiles
of this tile view

This depends on the {@link SwatTileView::$show_check_all} property as
well as whether or not this tile view contains a
{@link SwatCheckboxCellRenderer} and whether or not this tile view
contains enough tiles to warrent having a check-all widget

@return boolean true if a check-all widget is to be displayed for this
tile view and false if it is not.
Whether or not a check - all widget is to be displayed for the tiles of this tile view