mirror of
https://github.com/Karaka-Management/oms-QA.git
synced 2026-01-11 15:48:42 +00:00
fix todos/move to todo list
This commit is contained in:
parent
4439597b2f
commit
fb5bd667a9
|
|
@ -44,13 +44,6 @@ use phpOMS\Utils\Parser\Markdown\Markdown;
|
|||
* @license OMS License 1.0
|
||||
* @link https://orange-management.org
|
||||
* @since 1.0.0
|
||||
*
|
||||
* @todo Orange-Management/Modules#70
|
||||
* There is no voting implemented right now, this needs to be added (visually and model/database)
|
||||
*
|
||||
* @todo Orange-Management/Modules#78
|
||||
* Edit functionality
|
||||
* Currently nothing can be edited (change)
|
||||
*/
|
||||
final class ApiController extends Controller
|
||||
{
|
||||
|
|
|
|||
|
|
@ -28,10 +28,6 @@ use phpOMS\Views\View;
|
|||
* @license OMS License 1.0
|
||||
* @link https://orange-management.org
|
||||
* @since 1.0.0
|
||||
*
|
||||
* @todo Orange-Management/Modules#78
|
||||
* Edit functionality
|
||||
* Currently nothing can be edited (change)
|
||||
*/
|
||||
final class BackendController extends Controller
|
||||
{
|
||||
|
|
|
|||
|
|
@ -15,7 +15,6 @@ declare(strict_types=1);
|
|||
namespace Modules\QA\Controller;
|
||||
|
||||
use phpOMS\Module\ModuleAbstract;
|
||||
use phpOMS\Module\WebInterface;
|
||||
|
||||
/**
|
||||
* Task class.
|
||||
|
|
|
|||
|
|
@ -24,8 +24,6 @@ use phpOMS\Localization\Defaults\LanguageMapper;
|
|||
* @license OMS License 1.0
|
||||
* @link https://orange-management.org
|
||||
* @since 1.0.0
|
||||
*
|
||||
* @todo Do I really want to create a relation to the language mapper? It's not really needed right?
|
||||
*/
|
||||
final class QACategoryL11nMapper extends DataMapperAbstract
|
||||
{
|
||||
|
|
@ -42,22 +40,6 @@ final class QACategoryL11nMapper extends DataMapperAbstract
|
|||
'qa_category_l11n_language' => ['name' => 'qa_category_l11n_language', 'type' => 'string', 'internal' => 'language'],
|
||||
];
|
||||
|
||||
/**
|
||||
* Has one relation.
|
||||
*
|
||||
* @var array<string, array{mapper:string, external:string, by?:string, column?:string, conditional?:bool}>
|
||||
* @since 1.0.0
|
||||
*/
|
||||
protected static array $ownsOne = [
|
||||
'language' => [
|
||||
'mapper' => LanguageMapper::class,
|
||||
'external' => 'qa_category_l11n_language',
|
||||
'by' => 'code2',
|
||||
'column' => 'code2',
|
||||
'conditional' => true,
|
||||
],
|
||||
];
|
||||
|
||||
/**
|
||||
* Primary table.
|
||||
*
|
||||
|
|
|
|||
|
|
@ -14,12 +14,6 @@ declare(strict_types=1);
|
|||
|
||||
use phpOMS\Uri\UriFactory;
|
||||
|
||||
/**
|
||||
* @todo Orange-Management/Modules#73
|
||||
* Profile pics
|
||||
* There are no profile pics in questions and answers. Implement!
|
||||
*/
|
||||
|
||||
$question = $this->getData('question');
|
||||
$answers = $question->getAnswers();
|
||||
|
||||
|
|
|
|||
|
|
@ -12,12 +12,6 @@
|
|||
*/
|
||||
declare(strict_types=1);
|
||||
|
||||
/**
|
||||
* @todo Orange-Management/Modules#73
|
||||
* Profile pics
|
||||
* There are no profile pics in questions and answers. Implement!
|
||||
*/
|
||||
|
||||
$tags = $this->getData('tags');
|
||||
|
||||
/** @var \phpOMS\Views\View $this */
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user