diff --git a/Admin/Install/Navigation.php b/Admin/Install/Navigation.php index d0777fb..2afb886 100644 --- a/Admin/Install/Navigation.php +++ b/Admin/Install/Navigation.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package Modules\Tasks\Admin\Install - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package Modules\Tasks\Admin\Install + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -19,10 +19,10 @@ use phpOMS\DataStorage\Database\DatabasePool; /** * Navigation class. * - * @package Modules\Tasks\Admin\Install - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package Modules\Tasks\Admin\Install + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class Navigation { @@ -34,7 +34,7 @@ class Navigation * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public static function install(string $path, DatabasePool $dbPool) : void { diff --git a/Admin/Installer.php b/Admin/Installer.php index 0a1e04a..9b3f534 100644 --- a/Admin/Installer.php +++ b/Admin/Installer.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package Modules\Tasks\Admin - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package Modules\Tasks\Admin + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -19,10 +19,10 @@ use phpOMS\Module\InstallerAbstract; /** * Installer class. * - * @package Modules\Tasks\Admin - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package Modules\Tasks\Admin + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class Installer extends InstallerAbstract { diff --git a/Admin/Status.php b/Admin/Status.php index 563b222..fd957f0 100644 --- a/Admin/Status.php +++ b/Admin/Status.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package Modules\Tasks\Admin - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package Modules\Tasks\Admin + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -19,10 +19,10 @@ use phpOMS\Module\StatusAbstract; /** * Navigation class. * - * @package Modules\Tasks\Admin - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package Modules\Tasks\Admin + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class Status extends StatusAbstract { diff --git a/Admin/Uninstaller.php b/Admin/Uninstaller.php index 2b8a90d..6f89c72 100644 --- a/Admin/Uninstaller.php +++ b/Admin/Uninstaller.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package Modules\Tasks\Admin - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package Modules\Tasks\Admin + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -19,10 +19,10 @@ use phpOMS\Module\UninstallerAbstract; /** * Uninstaller class. * - * @package Modules\Tasks\Admin - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package Modules\Tasks\Admin + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class Uninstaller extends UninstallerAbstract { diff --git a/Admin/Updater.php b/Admin/Updater.php index 6941e3c..b3cd569 100644 --- a/Admin/Updater.php +++ b/Admin/Updater.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package Modules\Tasks\Admin - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package Modules\Tasks\Admin + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -19,10 +19,10 @@ use phpOMS\Module\UpdaterAbstract; /** * Updater class. * - * @package Modules\Tasks\Admin - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package Modules\Tasks\Admin + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class Updater extends UpdaterAbstract { diff --git a/Controller/ApiController.php b/Controller/ApiController.php index 24ac9dc..3eaa0cd 100644 --- a/Controller/ApiController.php +++ b/Controller/ApiController.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package Modules\Tasks - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package Modules\Tasks + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -31,10 +31,10 @@ use phpOMS\Utils\Parser\Markdown\Markdown; /** * Api controller for the tasks module. * - * @package Modules\Tasks - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package Modules\Tasks + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ final class ApiController extends Controller { @@ -45,7 +45,7 @@ final class ApiController extends Controller * * @return array Returns the validation array of the request * - * @since 1.0.0 + * @since 1.0.0 */ private function validateTaskCreate(RequestAbstract $request) : array { @@ -71,7 +71,7 @@ final class ApiController extends Controller * * @api * - * @since 1.0.0 + * @since 1.0.0 */ public function apiTaskCreate(RequestAbstract $request, ResponseAbstract $response, $data = null) : void { @@ -93,7 +93,7 @@ final class ApiController extends Controller * * @return Task Returns the created task from the request * - * @since 1.0.0 + * @since 1.0.0 */ private function createTaskFromRequest(RequestAbstract $request) : Task { @@ -130,7 +130,7 @@ final class ApiController extends Controller * * @api * - * @since 1.0.0 + * @since 1.0.0 */ public function apiTaskGet(RequestAbstract $request, ResponseAbstract $response, $data = null) : void { @@ -149,7 +149,7 @@ final class ApiController extends Controller * * @api * - * @since 1.0.0 + * @since 1.0.0 */ public function apiTaskSet(RequestAbstract $request, ResponseAbstract $response, $data = null) : void { @@ -166,7 +166,7 @@ final class ApiController extends Controller * * @return Task Returns the updated task from the request * - * @since 1.0.0 + * @since 1.0.0 */ private function updateTaskFromRequest(RequestAbstract $request) : Task { @@ -189,7 +189,7 @@ final class ApiController extends Controller * * @return array Returns the validation array of the request * - * @since 1.0.0 + * @since 1.0.0 */ private function validateTaskElementCreate(RequestAbstract $request) : array { @@ -216,7 +216,7 @@ final class ApiController extends Controller * * @api * - * @since 1.0.0 + * @since 1.0.0 */ public function apiTaskElementCreate(RequestAbstract $request, ResponseAbstract $response, $data = null) : void { @@ -243,7 +243,7 @@ final class ApiController extends Controller * * @return TaskElement Returns the task created from the request * - * @since 1.0.0 + * @since 1.0.0 */ private function createTaskElementFromRequest(RequestAbstract $request) : TaskElement { @@ -288,7 +288,7 @@ final class ApiController extends Controller * * @api * - * @since 1.0.0 + * @since 1.0.0 */ public function apiTaskElementGet(RequestAbstract $request, ResponseAbstract $response, $data = null) : void { @@ -307,7 +307,7 @@ final class ApiController extends Controller * * @api * - * @since 1.0.0 + * @since 1.0.0 */ public function apiTaskElementSet(RequestAbstract $request, ResponseAbstract $response, $data = null) : void { @@ -326,7 +326,7 @@ final class ApiController extends Controller * * @return TaskElement Returns the updated task element from the request * - * @since 1.0.0 + * @since 1.0.0 */ private function updateTaskElementFromRequest(RequestAbstract $request) : TaskElement { diff --git a/Controller/BackendController.php b/Controller/BackendController.php index 08463a8..a50e5ab 100644 --- a/Controller/BackendController.php +++ b/Controller/BackendController.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package Modules\Tasks - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package Modules\Tasks + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -31,21 +31,23 @@ use phpOMS\Views\View; /** * Backend controller for the tasks module. * - * @package Modules\Tasks - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package Modules\Tasks + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ final class BackendController extends Controller { /** + * Routing end-point for application behaviour. + * * @param RequestAbstract $request Request * @param ResponseAbstract $response Response * @param mixed $data Generic data * * @return RenderableInterface Returns a renderable object * - * @since 1.0.0 + * @since 1.0.0 * @codeCoverageIgnore */ public function viewTaskDashboard(RequestAbstract $request, ResponseAbstract $response, $data = null) : RenderableInterface @@ -67,13 +69,15 @@ final class BackendController extends Controller } /** + * Routing end-point for application behaviour. + * * @param RequestAbstract $request Request * @param ResponseAbstract $response Response * @param mixed $data Generic data * * @return RenderableInterface Returns a renderable object * - * @since 1.0.0 + * @since 1.0.0 * @codeCoverageIgnore */ public function viewDashboard(RequestAbstract $request, ResponseAbstract $response, $data = null) : RenderableInterface @@ -93,13 +97,15 @@ final class BackendController extends Controller } /** + * Routing end-point for application behaviour. + * * @param RequestAbstract $request Request * @param ResponseAbstract $response Response * @param mixed $data Generic data * * @return RenderableInterface Returns a renderable object * - * @since 1.0.0 + * @since 1.0.0 * @codeCoverageIgnore */ public function viewTaskView(RequestAbstract $request, ResponseAbstract $response, $data = null) : RenderableInterface @@ -138,13 +144,15 @@ final class BackendController extends Controller } /** + * Routing end-point for application behaviour. + * * @param RequestAbstract $request Request * @param ResponseAbstract $response Response * @param mixed $data Generic data * * @return RenderableInterface Returns a renderable object * - * @since 1.0.0 + * @since 1.0.0 * @codeCoverageIgnore */ public function viewTaskCreate(RequestAbstract $request, ResponseAbstract $response, $data = null) : RenderableInterface @@ -164,13 +172,15 @@ final class BackendController extends Controller } /** + * Routing end-point for application behaviour. + * * @param RequestAbstract $request Request * @param ResponseAbstract $response Response * @param mixed $data Generic data * * @return RenderableInterface Returns a renderable object * - * @since 1.0.0 + * @since 1.0.0 * @codeCoverageIgnore */ public function viewTaskAnalysis(RequestAbstract $request, ResponseAbstract $response, $data = null) : RenderableInterface @@ -189,7 +199,7 @@ final class BackendController extends Controller * * @return int Returns the amount of unread tasks * - * @since 1.0.0 + * @since 1.0.0 */ public function openNav(int $account) : int { diff --git a/Controller/Controller.php b/Controller/Controller.php index 4d6ca3b..9c198a1 100644 --- a/Controller/Controller.php +++ b/Controller/Controller.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package Modules\Tasks - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package Modules\Tasks + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -20,10 +20,10 @@ use phpOMS\Module\WebInterface; /** * Task class. * - * @package Modules\Tasks - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package Modules\Tasks + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class Controller extends ModuleAbstract implements WebInterface { @@ -31,7 +31,7 @@ class Controller extends ModuleAbstract implements WebInterface /** * Module path. * - * @var string + * @var string * @since 1.0.0 */ public const MODULE_PATH = __DIR__ . '/../'; @@ -39,7 +39,7 @@ class Controller extends ModuleAbstract implements WebInterface /** * Module version. * - * @var string + * @var string * @since 1.0.0 */ public const MODULE_VERSION = '1.0.0'; @@ -47,7 +47,7 @@ class Controller extends ModuleAbstract implements WebInterface /** * Module name. * - * @var string + * @var string * @since 1.0.0 */ public const MODULE_NAME = 'Tasks'; @@ -55,7 +55,7 @@ class Controller extends ModuleAbstract implements WebInterface /** * Module id. * - * @var int + * @var int * @since 1.0.0 */ public const MODULE_ID = 1001100000; @@ -63,7 +63,7 @@ class Controller extends ModuleAbstract implements WebInterface /** * Providing. * - * @var string[] + * @var string[] * @since 1.0.0 */ protected static array $providing = [ @@ -73,7 +73,7 @@ class Controller extends ModuleAbstract implements WebInterface /** * Dependencies. * - * @var string[] + * @var string[] * @since 1.0.0 */ protected static array $dependencies = []; diff --git a/Models/AccountRelation.php b/Models/AccountRelation.php index ead7e61..4b95602 100644 --- a/Models/AccountRelation.php +++ b/Models/AccountRelation.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package Modules\Tasks - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package Modules\Tasks + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -19,17 +19,17 @@ use Modules\Admin\Models\Account; /** * Task relation to account * - * @package Modules\Tasks - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package Modules\Tasks + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class AccountRelation extends RelationAbstract { /** * Relation object * - * @var int|Account + * @var int|Account * @since 1.0.0 */ private $relation = null; @@ -40,7 +40,7 @@ class AccountRelation extends RelationAbstract * @param int|Account $account Account * @param int $duty Duty type * - * @since 1.0.0 + * @since 1.0.0 */ public function __construct($account = 0, int $duty = DutyType::TO) { @@ -53,7 +53,7 @@ class AccountRelation extends RelationAbstract * * @return int|Account * - * @since 1.0.0 + * @since 1.0.0 */ public function getRelation() { diff --git a/Models/AccountRelationMapper.php b/Models/AccountRelationMapper.php index 4816db9..dc582c5 100644 --- a/Models/AccountRelationMapper.php +++ b/Models/AccountRelationMapper.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package Modules\Tasks - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package Modules\Tasks + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -20,10 +20,10 @@ use phpOMS\DataStorage\Database\DataMapperAbstract; /** * Mapper class. * - * @package Modules\Tasks - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package Modules\Tasks + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ final class AccountRelationMapper extends DataMapperAbstract { @@ -31,7 +31,7 @@ final class AccountRelationMapper extends DataMapperAbstract /** * Columns. * - * @var array> + * @var array> * @since 1.0.0 */ protected static array $columns = [ @@ -44,7 +44,7 @@ final class AccountRelationMapper extends DataMapperAbstract /** * Has one relation. * - * @var array> + * @var array> * @since 1.0.0 */ protected static array $ownsOne = [ @@ -57,7 +57,7 @@ final class AccountRelationMapper extends DataMapperAbstract /** * Primary table. * - * @var string + * @var string * @since 1.0.0 */ protected static string $table = 'task_account'; @@ -65,7 +65,7 @@ final class AccountRelationMapper extends DataMapperAbstract /** * Primary field name. * - * @var string + * @var string * @since 1.0.0 */ protected static string $primaryField = 'task_account_id'; diff --git a/Models/DutyType.php b/Models/DutyType.php index 1687a14..a1c0366 100644 --- a/Models/DutyType.php +++ b/Models/DutyType.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package Modules\Tasks - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package Modules\Tasks + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -19,10 +19,10 @@ use phpOMS\Stdlib\Base\Enum; /** * Task forward type enum. * - * @package Modules\Tasks - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package Modules\Tasks + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ abstract class DutyType extends Enum { diff --git a/Models/GroupRelation.php b/Models/GroupRelation.php index a91782c..e3fd64f 100644 --- a/Models/GroupRelation.php +++ b/Models/GroupRelation.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package Modules\Tasks - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package Modules\Tasks + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -19,17 +19,17 @@ use Modules\Admin\Models\Group; /** * Task relation to group * - * @package Modules\Tasks - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package Modules\Tasks + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class GroupRelation extends RelationAbstract { /** * Relation object * - * @var int|Group + * @var int|Group * @since 1.0.0 */ private $relation = null; @@ -40,7 +40,7 @@ class GroupRelation extends RelationAbstract * @param int|Group $group Group * @param int $duty Duty type * - * @since 1.0.0 + * @since 1.0.0 */ public function __construct($group = 0, int $duty = DutyType::TO) { @@ -53,7 +53,7 @@ class GroupRelation extends RelationAbstract * * @return int|Group * - * @since 1.0.0 + * @since 1.0.0 */ public function getRelation() { diff --git a/Models/GroupRelationMapper.php b/Models/GroupRelationMapper.php index e162b45..cc521cb 100644 --- a/Models/GroupRelationMapper.php +++ b/Models/GroupRelationMapper.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package Modules\Tasks - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package Modules\Tasks + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -20,10 +20,10 @@ use phpOMS\DataStorage\Database\DataMapperAbstract; /** * Mapper class. * - * @package Modules\Tasks - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package Modules\Tasks + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ final class GroupRelationMapper extends DataMapperAbstract { @@ -31,7 +31,7 @@ final class GroupRelationMapper extends DataMapperAbstract /** * Columns. * - * @var array> + * @var array> * @since 1.0.0 */ protected static array $columns = [ @@ -44,7 +44,7 @@ final class GroupRelationMapper extends DataMapperAbstract /** * Has one relation. * - * @var array> + * @var array> * @since 1.0.0 */ protected static array $ownsOne = [ @@ -57,7 +57,7 @@ final class GroupRelationMapper extends DataMapperAbstract /** * Primary table. * - * @var string + * @var string * @since 1.0.0 */ protected static string $table = 'task_group'; @@ -65,7 +65,7 @@ final class GroupRelationMapper extends DataMapperAbstract /** * Primary field name. * - * @var string + * @var string * @since 1.0.0 */ protected static string $primaryField = 'task_group_id'; diff --git a/Models/NullTask.php b/Models/NullTask.php index 89fa627..cfc7bdc 100644 --- a/Models/NullTask.php +++ b/Models/NullTask.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package Modules\Tasks - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package Modules\Tasks + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,10 +17,10 @@ namespace Modules\Tasks\Models; /** * Null model * - * @package Modules\Tasks - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package Modules\Tasks + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ final class NullTask extends Task { diff --git a/Models/NullTaskElement.php b/Models/NullTaskElement.php index 3e38771..4e4f4f6 100644 --- a/Models/NullTaskElement.php +++ b/Models/NullTaskElement.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package Modules\Tasks\Models - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package Modules\Tasks\Models + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,10 +17,10 @@ namespace Modules\Tasks\Models; /** * Null model * - * @package Modules\Tasks\Models - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package Modules\Tasks\Models + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ final class NullTaskElement extends TaskElement { diff --git a/Models/PermissionState.php b/Models/PermissionState.php index ef740c8..31b15b4 100644 --- a/Models/PermissionState.php +++ b/Models/PermissionState.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package Modules\Tasks - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package Modules\Tasks + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -19,10 +19,10 @@ use phpOMS\Stdlib\Base\Enum; /** * Permision state enum. * - * @package Modules\Tasks - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package Modules\Tasks + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ abstract class PermissionState extends Enum { diff --git a/Models/RelationAbstract.php b/Models/RelationAbstract.php index bf48d15..8701994 100644 --- a/Models/RelationAbstract.php +++ b/Models/RelationAbstract.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package Modules\Tasks - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package Modules\Tasks + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -20,17 +20,17 @@ use Modules\Admin\Models\Group; /** * Task relation to accounts or groups * - * @package Modules\Tasks - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package Modules\Tasks + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ abstract class RelationAbstract implements \JsonSerializable { /** * ID. * - * @var int + * @var int * @since 1.0.0 */ protected int $id = 0; @@ -38,7 +38,7 @@ abstract class RelationAbstract implements \JsonSerializable /** * Duty. * - * @var int + * @var int * @since 1.0.0 */ protected int $duty = DutyType::TO; @@ -47,7 +47,7 @@ abstract class RelationAbstract implements \JsonSerializable /** * Element id. * - * @var int + * @var int * @since 1.0.0 */ protected int $element = 0; @@ -57,7 +57,7 @@ abstract class RelationAbstract implements \JsonSerializable * * @return int * - * @since 1.0.0 + * @since 1.0.0 */ public function getId() : int { @@ -71,7 +71,7 @@ abstract class RelationAbstract implements \JsonSerializable * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function setDuty(int $duty) : void { @@ -83,7 +83,7 @@ abstract class RelationAbstract implements \JsonSerializable * * @return void Is TO or CC * - * @since 1.0.0 + * @since 1.0.0 */ public function getDuty() : int { @@ -95,7 +95,7 @@ abstract class RelationAbstract implements \JsonSerializable * * @return Account|Group * - * @since 1.0.0 + * @since 1.0.0 */ abstract public function getRelation(); diff --git a/Models/Task.php b/Models/Task.php index e4b6dee..0f0acb9 100644 --- a/Models/Task.php +++ b/Models/Task.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package Modules\Tasks - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package Modules\Tasks + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -22,10 +22,10 @@ use phpOMS\Stdlib\Base\Exception\InvalidEnumValue; /** * Task class. * - * @package Modules\Tasks - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package Modules\Tasks + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class Task implements \JsonSerializable { @@ -33,7 +33,7 @@ class Task implements \JsonSerializable /** * ID. * - * @var int + * @var int * @since 1.0.0 */ protected int $id = 0; @@ -41,7 +41,7 @@ class Task implements \JsonSerializable /** * Title. * - * @var string + * @var string * @since 1.0.0 */ protected string $title = ''; @@ -49,7 +49,7 @@ class Task implements \JsonSerializable /** * Creator. * - * @var int + * @var int * @since 1.0.0 */ protected $createdBy = 0; @@ -57,7 +57,7 @@ class Task implements \JsonSerializable /** * Created. * - * @var null|\DateTime + * @var null|\DateTime * @since 1.0.0 */ protected ?\DateTime $createdAt = null; @@ -65,7 +65,7 @@ class Task implements \JsonSerializable /** * Description. * - * @var string + * @var string * @since 1.0.0 */ protected string $description = ''; @@ -73,7 +73,7 @@ class Task implements \JsonSerializable /** * Description raw. * - * @var string + * @var string * @since 1.0.0 */ protected string $descriptionRaw = ''; @@ -81,7 +81,7 @@ class Task implements \JsonSerializable /** * Type. * - * @var int + * @var int * @since 1.0.0 */ protected int $type = TaskType::SINGLE; @@ -89,7 +89,7 @@ class Task implements \JsonSerializable /** * Status. * - * @var int + * @var int * @since 1.0.0 */ protected int $status = TaskStatus::OPEN; @@ -97,7 +97,7 @@ class Task implements \JsonSerializable /** * Task can be closed by user. * - * @var bool + * @var bool * @since 1.0.0 */ protected bool $isClosable = true; @@ -105,7 +105,7 @@ class Task implements \JsonSerializable /** * Task can be edited by user. * - * @var bool + * @var bool * @since 1.0.0 */ protected bool $isEditable = true; @@ -113,7 +113,7 @@ class Task implements \JsonSerializable /** * Start. * - * @var null|\DateTime + * @var null|\DateTime * @since 1.0.0 */ protected $start = null; @@ -121,7 +121,7 @@ class Task implements \JsonSerializable /** * Due. * - * @var null|\DateTime + * @var null|\DateTime * @since 1.0.0 */ protected $due = null; @@ -129,7 +129,7 @@ class Task implements \JsonSerializable /** * Done. * - * @var null|\DateTime + * @var null|\DateTime * @since 1.0.0 */ protected $done = null; @@ -137,7 +137,7 @@ class Task implements \JsonSerializable /** * Task elements. * - * @var TaskElement[] + * @var TaskElement[] * @since 1.0.0 */ protected array $taskElements = []; @@ -145,7 +145,7 @@ class Task implements \JsonSerializable /** * Task elements. * - * @var Tag[] + * @var Tag[] * @since 1.0.0 */ protected array $tags = []; @@ -153,7 +153,7 @@ class Task implements \JsonSerializable /** * Schedule * - * @var Schedule + * @var Schedule * @since 1.0.0 */ protected $schedule = null; @@ -161,7 +161,7 @@ class Task implements \JsonSerializable /** * Priority * - * @var int + * @var int * @since 1.0.0 */ protected int $priority = TaskPriority::NONE; @@ -169,7 +169,7 @@ class Task implements \JsonSerializable /** * Media files * - * @var array + * @var array * @since 1.0.0 */ protected array $media = []; @@ -177,7 +177,7 @@ class Task implements \JsonSerializable /** * Constructor. * - * @since 1.0.0 + * @since 1.0.0 */ public function __construct() { @@ -193,7 +193,7 @@ class Task implements \JsonSerializable * * @return int * - * @since 1.0.0 + * @since 1.0.0 */ public function getId() : int { @@ -209,7 +209,7 @@ class Task implements \JsonSerializable * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function setClosable(bool $closable) : void { @@ -221,7 +221,7 @@ class Task implements \JsonSerializable * * @return bool * - * @since 1.0.0 + * @since 1.0.0 */ public function isClosable() : bool { @@ -237,7 +237,7 @@ class Task implements \JsonSerializable * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function setEditable(bool $editable) : void { @@ -249,7 +249,7 @@ class Task implements \JsonSerializable * * @return bool * - * @since 1.0.0 + * @since 1.0.0 */ public function isEditable() : bool { @@ -263,7 +263,7 @@ class Task implements \JsonSerializable * * @return int * - * @since 1.0.0 + * @since 1.0.0 */ public function addElement(TaskElement $element) : int { @@ -283,7 +283,7 @@ class Task implements \JsonSerializable * * @return int * - * @since 1.0.0 + * @since 1.0.0 */ public function addTag(Tag $tag) : int { @@ -301,7 +301,7 @@ class Task implements \JsonSerializable * * @return array * - * @since 1.0.0 + * @since 1.0.0 */ public function getMedia() : array { @@ -315,7 +315,7 @@ class Task implements \JsonSerializable * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function addMedia($media) : void { @@ -329,7 +329,7 @@ class Task implements \JsonSerializable * * @return bool * - * @since 1.0.0 + * @since 1.0.0 */ public function isToAccount(int $id) : bool { @@ -349,7 +349,7 @@ class Task implements \JsonSerializable * * @return bool * - * @since 1.0.0 + * @since 1.0.0 */ public function isToGroup(int $id) : bool { @@ -369,7 +369,7 @@ class Task implements \JsonSerializable * * @return bool * - * @since 1.0.0 + * @since 1.0.0 */ public function isCCAccount(int $id) : bool { @@ -389,7 +389,7 @@ class Task implements \JsonSerializable * * @return bool * - * @since 1.0.0 + * @since 1.0.0 */ public function isCCGroup(int $id) : bool { @@ -405,7 +405,7 @@ class Task implements \JsonSerializable /** * @return \DateTime * - * @since 1.0.0 + * @since 1.0.0 */ public function getCreatedAt() : \DateTime { @@ -415,7 +415,7 @@ class Task implements \JsonSerializable /** * @return \DateTime * - * @since 1.0.0 + * @since 1.0.0 */ public function getStart() : \DateTime { @@ -429,7 +429,7 @@ class Task implements \JsonSerializable * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function setStart(\DateTime $start) : void { @@ -441,7 +441,7 @@ class Task implements \JsonSerializable * * @return int|\phpOMS\Account\Account * - * @since 1.0.0 + * @since 1.0.0 */ public function getCreatedBy() { @@ -455,7 +455,7 @@ class Task implements \JsonSerializable * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function setCreatedBy($id) : void { @@ -468,7 +468,7 @@ class Task implements \JsonSerializable * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public function getDescription() : string { @@ -482,7 +482,7 @@ class Task implements \JsonSerializable * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function setDescription(string $description) : void { @@ -494,7 +494,7 @@ class Task implements \JsonSerializable * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public function getDescriptionRaw() : string { @@ -508,7 +508,7 @@ class Task implements \JsonSerializable * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function setDescriptionRaw(string $description) : void { @@ -520,7 +520,7 @@ class Task implements \JsonSerializable * * @return \DateTime * - * @since 1.0.0 + * @since 1.0.0 */ public function getDone() : \DateTime { @@ -534,7 +534,7 @@ class Task implements \JsonSerializable * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function setDone(\DateTime $done) : void { @@ -546,7 +546,7 @@ class Task implements \JsonSerializable * * @return \DateTime * - * @since 1.0.0 + * @since 1.0.0 */ public function getDue() : \DateTime { @@ -560,7 +560,7 @@ class Task implements \JsonSerializable * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function setDue(\DateTime $due) : void { @@ -572,7 +572,7 @@ class Task implements \JsonSerializable * * @return int * - * @since 1.0.0 + * @since 1.0.0 */ public function getStatus() : int { @@ -588,7 +588,7 @@ class Task implements \JsonSerializable * * @throws InvalidEnumValue * - * @since 1.0.0 + * @since 1.0.0 */ public function setStatus(int $status) : void { @@ -604,7 +604,7 @@ class Task implements \JsonSerializable * * @return int * - * @since 1.0.0 + * @since 1.0.0 */ public function getPriority() : int { @@ -620,7 +620,7 @@ class Task implements \JsonSerializable * * @throws InvalidEnumValue * - * @since 1.0.0 + * @since 1.0.0 */ public function setPriority(int $priority) : void { @@ -636,7 +636,7 @@ class Task implements \JsonSerializable * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public function getTitle() : string { @@ -650,7 +650,7 @@ class Task implements \JsonSerializable * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function setTitle(string $title) : void { @@ -664,7 +664,7 @@ class Task implements \JsonSerializable * * @return bool * - * @since 1.0.0 + * @since 1.0.0 */ public function removeElement($id) : bool { @@ -684,7 +684,7 @@ class Task implements \JsonSerializable * * @return bool * - * @since 1.0.0 + * @since 1.0.0 */ public function removeTag($id) : bool { @@ -702,7 +702,7 @@ class Task implements \JsonSerializable * * @return Tag[] * - * @since 1.0.0 + * @since 1.0.0 */ public function getTags() : array { @@ -716,7 +716,7 @@ class Task implements \JsonSerializable * * @return Tag * - * @since 1.0.0 + * @since 1.0.0 */ public function getTag(int $id) : Tag { @@ -728,7 +728,7 @@ class Task implements \JsonSerializable * * @return TaskElement[] * - * @since 1.0.0 + * @since 1.0.0 */ public function getTaskElements() : array { @@ -742,7 +742,7 @@ class Task implements \JsonSerializable * * @return TaskElement * - * @since 1.0.0 + * @since 1.0.0 */ public function getTaskElement(int $id) : TaskElement { @@ -754,7 +754,7 @@ class Task implements \JsonSerializable * * @return int * - * @since 1.0.0 + * @since 1.0.0 */ public function getType() : int { @@ -768,7 +768,7 @@ class Task implements \JsonSerializable * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function setType(int $type = TaskType::SINGLE) : void { @@ -780,7 +780,7 @@ class Task implements \JsonSerializable * * @return Schedule * - * @since 1.0.0 + * @since 1.0.0 */ public function getSchedule() : Schedule { diff --git a/Models/TaskElement.php b/Models/TaskElement.php index c0a8549..f5cf37c 100644 --- a/Models/TaskElement.php +++ b/Models/TaskElement.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package Modules\Tasks - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package Modules\Tasks + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -22,10 +22,10 @@ use phpOMS\Stdlib\Base\Exception\InvalidEnumValue; /** * Task class. * - * @package Modules\Tasks - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package Modules\Tasks + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class TaskElement implements \JsonSerializable { @@ -33,7 +33,7 @@ class TaskElement implements \JsonSerializable /** * Id. * - * @var int + * @var int * @since 1.0.0 */ private int $id = 0; @@ -41,7 +41,7 @@ class TaskElement implements \JsonSerializable /** * Description. * - * @var string + * @var string * @since 1.0.0 */ private string $description = ''; @@ -49,7 +49,7 @@ class TaskElement implements \JsonSerializable /** * Description raw. * - * @var string + * @var string * @since 1.0.0 */ private string $descriptionRaw = ''; @@ -57,7 +57,7 @@ class TaskElement implements \JsonSerializable /** * Task. * - * @var int + * @var int * @since 1.0.0 */ private int $task = 0; @@ -65,7 +65,7 @@ class TaskElement implements \JsonSerializable /** * Creator. * - * @var int + * @var int * @since 1.0.0 */ private $createdBy = 0; @@ -73,7 +73,7 @@ class TaskElement implements \JsonSerializable /** * Created. * - * @var null|\DateTime + * @var null|\DateTime * @since 1.0.0 */ private ?\DateTime $createdAt = null; @@ -81,7 +81,7 @@ class TaskElement implements \JsonSerializable /** * Status. * - * @var int + * @var int * @since 1.0.0 */ private int $status = TaskStatus::OPEN; @@ -89,7 +89,7 @@ class TaskElement implements \JsonSerializable /** * Due. * - * @var null|\DateTime + * @var null|\DateTime * @since 1.0.0 */ private ?\DateTime $due = null; @@ -97,7 +97,7 @@ class TaskElement implements \JsonSerializable /** * Priority * - * @var int + * @var int * @since 1.0.0 */ protected int $priority = TaskPriority::NONE; @@ -105,7 +105,7 @@ class TaskElement implements \JsonSerializable /** * Media. * - * @var array + * @var array * @since 1.0.0 */ private array $media = []; @@ -113,7 +113,7 @@ class TaskElement implements \JsonSerializable /** * Accounts who received this task element. * - * @var array + * @var array * @since 1.0.0 */ protected array $accRelation = []; @@ -121,7 +121,7 @@ class TaskElement implements \JsonSerializable /** * Groups who received this task element. * - * @var array + * @var array * @since 1.0.0 */ protected array $grpRelation = []; @@ -129,7 +129,7 @@ class TaskElement implements \JsonSerializable /** * Constructor. * - * @since 1.0.0 + * @since 1.0.0 */ public function __construct() { @@ -143,7 +143,7 @@ class TaskElement implements \JsonSerializable * * @return int * - * @since 1.0.0 + * @since 1.0.0 */ public function getId() : int { @@ -153,7 +153,7 @@ class TaskElement implements \JsonSerializable /** * @return \DateTime * - * @since 1.0.0 + * @since 1.0.0 */ public function getCreatedAt() : \DateTime { @@ -163,7 +163,7 @@ class TaskElement implements \JsonSerializable /** * @return int|\phpOMS\Account\Account * - * @since 1.0.0 + * @since 1.0.0 */ public function getCreatedBy() { @@ -177,7 +177,7 @@ class TaskElement implements \JsonSerializable * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function setCreatedBy($creator) : void { @@ -189,7 +189,7 @@ class TaskElement implements \JsonSerializable * * @return array * - * @since 1.0.0 + * @since 1.0.0 */ public function getMedia() : array { @@ -203,7 +203,7 @@ class TaskElement implements \JsonSerializable * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function addMedia($media) : void { @@ -214,7 +214,7 @@ class TaskElement implements \JsonSerializable * Get description * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public function getDescription() : string { @@ -228,7 +228,7 @@ class TaskElement implements \JsonSerializable * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function setDescription(string $description) : void { @@ -240,7 +240,7 @@ class TaskElement implements \JsonSerializable * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public function getDescriptionRaw() : string { @@ -254,7 +254,7 @@ class TaskElement implements \JsonSerializable * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function setDescriptionRaw(string $description) : void { @@ -266,7 +266,7 @@ class TaskElement implements \JsonSerializable * * @return \DateTime * - * @since 1.0.0 + * @since 1.0.0 */ public function getDue() : \DateTime { @@ -280,7 +280,7 @@ class TaskElement implements \JsonSerializable * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function setDue(\DateTime $due) : void { @@ -292,7 +292,7 @@ class TaskElement implements \JsonSerializable * * @return int * - * @since 1.0.0 + * @since 1.0.0 */ public function getPriority() : int { @@ -308,7 +308,7 @@ class TaskElement implements \JsonSerializable * * @throws InvalidEnumValue * - * @since 1.0.0 + * @since 1.0.0 */ public function setPriority(int $priority) : void { @@ -324,7 +324,7 @@ class TaskElement implements \JsonSerializable * * @return array * - * @since 1.0.0 + * @since 1.0.0 */ public function getTo() : array { @@ -352,7 +352,7 @@ class TaskElement implements \JsonSerializable * * @return bool * - * @since 1.0.0 + * @since 1.0.0 */ public function isToAccount(int $id) : bool { @@ -376,7 +376,7 @@ class TaskElement implements \JsonSerializable * * @return bool * - * @since 1.0.0 + * @since 1.0.0 */ public function isToGroup(int $id) : bool { @@ -400,7 +400,7 @@ class TaskElement implements \JsonSerializable * * @return bool * - * @since 1.0.0 + * @since 1.0.0 */ public function isCCAccount(int $id) : bool { @@ -424,7 +424,7 @@ class TaskElement implements \JsonSerializable * * @return bool * - * @since 1.0.0 + * @since 1.0.0 */ public function isCCGroup(int $id) : bool { @@ -448,7 +448,7 @@ class TaskElement implements \JsonSerializable * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function addTo($to) : void { @@ -466,7 +466,7 @@ class TaskElement implements \JsonSerializable * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function addGroupTo($group) : void { @@ -490,7 +490,7 @@ class TaskElement implements \JsonSerializable * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function addAccountTo($account) : void { @@ -512,7 +512,7 @@ class TaskElement implements \JsonSerializable * * @return array * - * @since 1.0.0 + * @since 1.0.0 */ public function getCC() : array { @@ -540,7 +540,7 @@ class TaskElement implements \JsonSerializable * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function addCC($cc) : void { @@ -558,7 +558,7 @@ class TaskElement implements \JsonSerializable * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function addGroupCC($group) : void { @@ -582,7 +582,7 @@ class TaskElement implements \JsonSerializable * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function addAccountCC($account) : void { @@ -604,7 +604,7 @@ class TaskElement implements \JsonSerializable * * @return int * - * @since 1.0.0 + * @since 1.0.0 */ public function getStatus() : int { @@ -620,7 +620,7 @@ class TaskElement implements \JsonSerializable * * @throws InvalidEnumValue * - * @since 1.0.0 + * @since 1.0.0 */ public function setStatus(int $status) : void { @@ -636,7 +636,7 @@ class TaskElement implements \JsonSerializable * * @return int * - * @since 1.0.0 + * @since 1.0.0 */ public function getTask() : int { @@ -650,7 +650,7 @@ class TaskElement implements \JsonSerializable * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function setTask(int $task) : void { diff --git a/Models/TaskElementMapper.php b/Models/TaskElementMapper.php index e93e9bf..7dc260e 100644 --- a/Models/TaskElementMapper.php +++ b/Models/TaskElementMapper.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package Modules\Tasks - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package Modules\Tasks + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -21,10 +21,10 @@ use phpOMS\DataStorage\Database\DataMapperAbstract; /** * Mapper class. * - * @package Modules\Tasks - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package Modules\Tasks + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ final class TaskElementMapper extends DataMapperAbstract { @@ -32,7 +32,7 @@ final class TaskElementMapper extends DataMapperAbstract /** * Columns. * - * @var array> + * @var array> * @since 1.0.0 */ protected static array $columns = [ @@ -50,7 +50,7 @@ final class TaskElementMapper extends DataMapperAbstract /** * Has many relation. * - * @var array> + * @var array> * @since 1.0.0 */ protected static array $hasMany = [ @@ -77,7 +77,7 @@ final class TaskElementMapper extends DataMapperAbstract /** * Belongs to. * - * @var array> + * @var array> * @since 1.0.0 */ protected static array $belongsTo = [ @@ -90,7 +90,7 @@ final class TaskElementMapper extends DataMapperAbstract /** * Primary table. * - * @var string + * @var string * @since 1.0.0 */ protected static string $table = 'task_element'; @@ -98,7 +98,7 @@ final class TaskElementMapper extends DataMapperAbstract /** * Created at. * - * @var string + * @var string * @since 1.0.0 */ protected static string $createdAt = 'task_element_created_at'; @@ -106,7 +106,7 @@ final class TaskElementMapper extends DataMapperAbstract /** * Primary field name. * - * @var string + * @var string * @since 1.0.0 */ protected static string $primaryField = 'task_element_id'; diff --git a/Models/TaskMapper.php b/Models/TaskMapper.php index a58c033..e9b87b2 100644 --- a/Models/TaskMapper.php +++ b/Models/TaskMapper.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package Modules\Tasks - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package Modules\Tasks + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -23,10 +23,10 @@ use phpOMS\DataStorage\Database\Query\Builder; /** * Mapper class. * - * @package Modules\Tasks - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package Modules\Tasks + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ final class TaskMapper extends DataMapperAbstract { @@ -34,7 +34,7 @@ final class TaskMapper extends DataMapperAbstract /** * Columns. * - * @var array> + * @var array> * @since 1.0.0 */ protected static array $columns = [ @@ -58,7 +58,7 @@ final class TaskMapper extends DataMapperAbstract /** * Has many relation. * - * @var array> + * @var array> * @since 1.0.0 */ protected static array $hasMany = [ @@ -85,7 +85,7 @@ final class TaskMapper extends DataMapperAbstract /** * Belongs to. * - * @var array> + * @var array> * @since 1.0.0 */ protected static array $belongsTo = [ @@ -98,7 +98,7 @@ final class TaskMapper extends DataMapperAbstract /** * Has one relation. * - * @var array> + * @var array> * @since 1.0.0 */ protected static array $ownsOne = [ @@ -111,7 +111,7 @@ final class TaskMapper extends DataMapperAbstract /** * Primary table. * - * @var string + * @var string * @since 1.0.0 */ protected static string $table = 'task'; @@ -119,7 +119,7 @@ final class TaskMapper extends DataMapperAbstract /** * Created at. * - * @var string + * @var string * @since 1.0.0 */ protected static string $createdAt = 'task_created_at'; @@ -127,7 +127,7 @@ final class TaskMapper extends DataMapperAbstract /** * Primary field name. * - * @var string + * @var string * @since 1.0.0 */ protected static string $primaryField = 'task_id'; @@ -139,7 +139,7 @@ final class TaskMapper extends DataMapperAbstract * * @return array * - * @since 1.0.0 + * @since 1.0.0 */ public static function getOpenCreatedBy(int $user) : array { @@ -157,7 +157,7 @@ final class TaskMapper extends DataMapperAbstract * * @return array * - * @since 1.0.0 + * @since 1.0.0 */ public static function getOpenTo(int $user) : array { @@ -180,7 +180,7 @@ final class TaskMapper extends DataMapperAbstract * * @return array * - * @since 1.0.0 + * @since 1.0.0 */ public static function getOpenAny(int $user) : array { @@ -203,7 +203,7 @@ final class TaskMapper extends DataMapperAbstract * * @return array * - * @since 1.0.0 + * @since 1.0.0 */ public static function getOpenCC(int $user) : array { @@ -226,7 +226,7 @@ final class TaskMapper extends DataMapperAbstract * * @return array * - * @since 1.0.0 + * @since 1.0.0 */ public static function getCreatedBy(int $user) : array { @@ -243,7 +243,7 @@ final class TaskMapper extends DataMapperAbstract * * @return array * - * @since 1.0.0 + * @since 1.0.0 */ public static function getTo(int $user) : array { @@ -265,7 +265,7 @@ final class TaskMapper extends DataMapperAbstract * * @return array * - * @since 1.0.0 + * @since 1.0.0 */ public static function getCC(int $user) : array { @@ -287,7 +287,7 @@ final class TaskMapper extends DataMapperAbstract * * @return array * - * @since 1.0.0 + * @since 1.0.0 */ public static function getAny(int $user) : array { @@ -310,7 +310,7 @@ final class TaskMapper extends DataMapperAbstract * * @return int * - * @since 1.0.0 + * @since 1.0.0 */ public static function countUnread(int $user) : int { diff --git a/Models/TaskPriority.php b/Models/TaskPriority.php index ea9840c..d2f0551 100644 --- a/Models/TaskPriority.php +++ b/Models/TaskPriority.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package Modules\Tasks - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package Modules\Tasks + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -19,10 +19,10 @@ use phpOMS\Stdlib\Base\Enum; /** * Task priority enum. * - * @package Modules\Tasks - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package Modules\Tasks + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ abstract class TaskPriority extends Enum { diff --git a/Models/TaskStatus.php b/Models/TaskStatus.php index 853154b..eff1886 100644 --- a/Models/TaskStatus.php +++ b/Models/TaskStatus.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package Modules\Tasks - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package Modules\Tasks + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -19,10 +19,10 @@ use phpOMS\Stdlib\Base\Enum; /** * Task status enum. * - * @package Modules\Tasks - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package Modules\Tasks + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ abstract class TaskStatus extends Enum { diff --git a/Models/TaskTemplate.php b/Models/TaskTemplate.php index 956b0d0..964653c 100644 --- a/Models/TaskTemplate.php +++ b/Models/TaskTemplate.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package Modules\Tasks - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package Modules\Tasks + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,17 +17,17 @@ namespace Modules\Tasks\Models; /** * Task class. * - * @package Modules\Tasks - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package Modules\Tasks + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class TaskTemplate extends Task { /** * Type. * - * @var int + * @var int * @since 1.0.0 */ protected int $type = TaskType::TEMPLATE; diff --git a/Models/TaskType.php b/Models/TaskType.php index 2aebdf3..8a26f58 100644 --- a/Models/TaskType.php +++ b/Models/TaskType.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package Modules\Tasks - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package Modules\Tasks + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -19,10 +19,10 @@ use phpOMS\Stdlib\Base\Enum; /** * Task type enum. * - * @package Modules\Tasks - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package Modules\Tasks + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ abstract class TaskType extends Enum { diff --git a/Models/TaskVisibility.php b/Models/TaskVisibility.php index 0f9257d..ec56e6d 100644 --- a/Models/TaskVisibility.php +++ b/Models/TaskVisibility.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package Modules\Tasks - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package Modules\Tasks + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -19,10 +19,10 @@ use phpOMS\Stdlib\Base\Enum; /** * Task visibility enum. * - * @package Modules\Tasks - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package Modules\Tasks + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ abstract class TaskVisibility extends Enum { diff --git a/Theme/Backend/Components/Tasks/ListView.php b/Theme/Backend/Components/Tasks/ListView.php index d7badd0..b32ceb9 100644 --- a/Theme/Backend/Components/Tasks/ListView.php +++ b/Theme/Backend/Components/Tasks/ListView.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package TBD - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package TBD + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -22,10 +22,10 @@ use phpOMS\Views\View; /** * Component view. * - * @package TBD - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package TBD + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 * @codeCoverageIgnore */ class ListView extends View diff --git a/Theme/Backend/Lang/Navigation.en.lang.php b/Theme/Backend/Lang/Navigation.en.lang.php index 72139b6..5400381 100644 --- a/Theme/Backend/Lang/Navigation.en.lang.php +++ b/Theme/Backend/Lang/Navigation.en.lang.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package TBD - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package TBD + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ return ['Navigation' => [ 'Analysis' => 'Analysis', diff --git a/Theme/Backend/Lang/en.lang.php b/Theme/Backend/Lang/en.lang.php index 853c062..a3cd29e 100644 --- a/Theme/Backend/Lang/en.lang.php +++ b/Theme/Backend/Lang/en.lang.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package TBD - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package TBD + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ return ['Tasks' => [ 'Account' => 'Account', diff --git a/Theme/Backend/dashboard-task.tpl.php b/Theme/Backend/dashboard-task.tpl.php index 0d4aa16..e27807d 100644 --- a/Theme/Backend/dashboard-task.tpl.php +++ b/Theme/Backend/dashboard-task.tpl.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package TBD - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package TBD + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ ?>
diff --git a/Theme/Backend/task-analysis.tpl.php b/Theme/Backend/task-analysis.tpl.php index 6cb5beb..b5b2230 100644 --- a/Theme/Backend/task-analysis.tpl.php +++ b/Theme/Backend/task-analysis.tpl.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package TBD - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package TBD + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ /** * @var \phpOMS\Views\View $this diff --git a/Theme/Backend/task-create.tpl.php b/Theme/Backend/task-create.tpl.php index bec1dc7..df0404c 100644 --- a/Theme/Backend/task-create.tpl.php +++ b/Theme/Backend/task-create.tpl.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package TBD - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package TBD + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ use \Modules\Tasks\Models\TaskPriority; diff --git a/Theme/Backend/task-dashboard.tpl.php b/Theme/Backend/task-dashboard.tpl.php index bac3c0d..ccf0d73 100644 --- a/Theme/Backend/task-dashboard.tpl.php +++ b/Theme/Backend/task-dashboard.tpl.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package TBD - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package TBD + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ use Modules\Tasks\Models\TaskPriority; diff --git a/Theme/Backend/task-single.tpl.php b/Theme/Backend/task-single.tpl.php index 3136ae2..98fa06d 100644 --- a/Theme/Backend/task-single.tpl.php +++ b/Theme/Backend/task-single.tpl.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package TBD - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package TBD + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ use \Modules\Tasks\Models\AccountRelation; diff --git a/Views/TaskView.php b/Views/TaskView.php index d9defb5..0d0eec2 100644 --- a/Views/TaskView.php +++ b/Views/TaskView.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package TBD - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package TBD + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1);