1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/kanboard_ynh.git synced 2024-09-03 19:36:17 +02:00
kanboard_ynh/sources/app/Api/App.php
2016-01-24 17:50:52 +01:00

47 lines
833 B
PHP

<?php
namespace Kanboard\Api;
/**
* App API controller
*
* @package api
* @author Frederic Guillot
*/
class App extends \Kanboard\Core\Base
{
public function getTimezone()
{
return $this->config->get('application_timezone');
}
public function getVersion()
{
return APP_VERSION;
}
public function getDefaultTaskColor()
{
return $this->color->getDefaultColor();
}
public function getDefaultTaskColors()
{
return $this->color->getDefaultColors();
}
public function getColorList()
{
return $this->color->getList();
}
public function getApplicationRoles()
{
return $this->role->getApplicationRoles();
}
public function getProjectRoles()
{
return $this->role->getProjectRoles();
}
}