mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-02-11 22:38:42 +00:00
add todo/question for global conditionals
This commit is contained in:
parent
9e96b89aa0
commit
d5643868b6
|
|
@ -46,6 +46,14 @@ use phpOMS\Utils\ArrayUtils;
|
||||||
* @todo Orange-Management/Modules#99
|
* @todo Orange-Management/Modules#99
|
||||||
* Use binds
|
* Use binds
|
||||||
* Currently databinds are not used. Currently injections are possible.
|
* Currently databinds are not used. Currently injections are possible.
|
||||||
|
*
|
||||||
|
* @todo Orange-Management/phpOMS#241
|
||||||
|
* [DataMapper] Consider global conditionals
|
||||||
|
* In some cases conditionals in the mapper are typed again and again
|
||||||
|
* e.g. language conditional for localization purposes
|
||||||
|
* This is very annoying and maybe could be defined once in a `$conditionalsGlobal = [];` array.
|
||||||
|
* This array then populates the `$conditionals` array in the mapper.
|
||||||
|
* Overwriting the global conditionals could be possible by defining a conditional as `null`.
|
||||||
*/
|
*/
|
||||||
class DataMapperAbstract implements DataMapperInterface
|
class DataMapperAbstract implements DataMapperInterface
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user