mirror of
https://github.com/YunoHost-Apps/kanboard_ynh.git
synced 2024-09-03 19:36:17 +02:00
25 lines
406 B
PHP
25 lines
406 B
PHP
|
<?php
|
||
|
|
||
|
namespace Helper;
|
||
|
|
||
|
/**
|
||
|
* Board Helper
|
||
|
*
|
||
|
* @package helper
|
||
|
* @author Frederic Guillot
|
||
|
*/
|
||
|
class Board extends \Core\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);
|
||
|
}
|
||
|
}
|