ControladorConfig
in package
ControladorConfig — gestión de la configuración global del sistema.
La configuración es global (no depende de conexión) y se persiste en un fichero JSON. El catálogo de variables vive en ConfigDao.
Table of Contents
Methods
- getConfiguracion() : array{ok: bool, data: array, status: int}
- Devuelve todas las variables configurables con su definición y valor.
- guardarConfiguracion() : array<string|int, mixed>
Methods
getConfiguracion()
Devuelve todas las variables configurables con su definición y valor.
public
static getConfiguracion() : array{ok: bool, data: array, status: int}
Return values
array{ok: bool, data: array, status: int}guardarConfiguracion()
public
static guardarConfiguracion(string $clave, mixed $valor) : array<string|int, mixed>
Parameters
- $clave : string
- $valor : mixed