mirror of
https://github.com/YunoHost-Apps/kanboard_ynh.git
synced 2024-09-03 19:36:17 +02:00
37 lines
611 B
PHP
37 lines
611 B
PHP
<?php
|
|
|
|
namespace Api;
|
|
|
|
/**
|
|
* App API controller
|
|
*
|
|
* @package api
|
|
* @author Frederic Guillot
|
|
*/
|
|
class App extends \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();
|
|
}
|
|
}
|