summaryrefslogtreecommitdiff
path: root/app/Helper/BoardHelper.php
blob: a86a6c182502f83603d6f4309a2a26ba4c0d2fd5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<?php

namespace Kanboard\Helper;

use Kanboard\Core\Base;

/**
 * Board Helper
 *
 * @package helper
 * @author  Frederic Guillot
 */
class BoardHelper extends Base
{
    /**
     * Return true if tasks are collapsed
     *
     * @access public
     * @param  integer   $project_id
     * @return boolean
     */
    public function isCollapsed($project_id)
    {
        return $this->userSession->isBoardCollapsed($project_id);
    }
}