Add settings field to control project columns (pull-request #244)

This commit is contained in:
Frédéric Guillot
2014-09-12 17:35:48 +02:00
parent c3a0cf4343
commit 2e6a8d435f
22 changed files with 144 additions and 19 deletions

View File

@@ -20,6 +20,17 @@ class Board extends Base
*/
const TABLE = 'columns';
/**
* Get Kanboard default columns
*
* @access public
* @return array
*/
public function getDefaultColumns()
{
return array(t('Backlog'), t('Ready'), t('Work in progress'), t('Done'));
}
/**
* Create a board with default columns, must be executed inside a transaction
*