Documentation

Dashboard extends BaseController
in package

Class BaseController

BaseController provides a convenient place for loading components and performing functions that are needed by all your controllers. Extend this class in any new controllers: class Home extends BaseController

For security be sure to declare any new methods as protected or private.

Table of Contents

$apiazimut  : mixed
$forceHTTPS  : int
Should enforce HTTPS access for all methods in this controller.
$helpers  : array<string|int, mixed>
Helpers that will be automatically loaded on class instantiation.
$logger  : LoggerInterface
Instance of logger to use.
$mysqli  : mixed
$request  : RequestInterface
Instance of the main Request object.
$response  : ResponseInterface
Instance of the main response object.
$validator  : Validation
Once validation has been run, will hold the Validation instance.
alarmDetailInformation()  : mixed
Devuelve las últimas 10 alertas prioritarias
alarmStatisticsInformation()  : mixed
Todavía no en funcionamiento
countVehiculosConAlertas()  : mixed
Devuelve un array con el número de vehículos con alertas
deviceList()  : mixed
Todavía no en funcionamiento
evidenceSearchListDetailQuery()  : mixed
evidenceSearchListNumberQuery()  : mixed
Todavía no en funcionamiento
filtroAjax()  : mixed
flotas()  : mixed
Devuelve todas las flotas disponibles
getTerId()  : mixed
Devuelve un array de terid
getVehiculosActivos()  : mixed
Devuelve un array con los vehículos que están activos
getVehiculosConAlertas()  : mixed
Devuelve un array con los vehículos que tienen alertas
getVehiculosNoActivos()  : mixed
Devuelve un array con los vehículos que están no activos
grupos()  : mixed
Devuelve todos los grupos disponibles
imagePreviewVideoPlaybackAjax()  : mixed
index()  : mixed
En la función index() se utiliza para mostrar las vistas, se utiliza un modelo que tiene como tabla una vista mysql, al utilizar vistas los joins ya están hechos, por lo que solo es necesario especificar los campos necesarios, además de las clausulas WHERE y otras peticiones.
initController()  : mixed
Constructor.
lastGPSPositionInformation()  : mixed
Devuelve un array compuesto por 0. Número de vehículos activos, 1. Número de vehículos inactivos, 2. Un array de todos los vehículos 3. un array de todos los vehículos activos y 4. Un array de todos los vehículos inactivos.
latLongInformation()  : mixed
Devuelve un array de vehículos necesario para saber su posición en el mapa mediante la latitud y la longitud
lineas()  : mixed
Devuelve todas las líneas disponibles
listSpecifiedEvidenceVideosajax()  : mixed
Todavía no en funcionamiento
passengerFlowDetail()  : mixed
Todavía no en funcionamiento
vehicleGroupInformation()  : mixed
Todavía no en funcionamiento
vehiculosTotal()  : mixed
Devuelve todos los vehiculos disponibles
cachePage()  : mixed
Provides a simple way to tie into the main CodeIgniter class and tell it how long to cache the current page for.
forceHTTPS()  : mixed
A convenience method to use when you need to ensure that a single method is reached only via HTTPS. If it isn't, then a redirect will happen back to this method and HSTS header will be sent to have modern browsers transform requests automatically.
loadHelpers()  : mixed
Handles "auto-loading" helper files.
validate()  : bool
A shortcut to performing validation on input data. If validation is not successful, a $errors property will be set on this class.

Properties

$forceHTTPS

Should enforce HTTPS access for all methods in this controller.

protected int $forceHTTPS = 0

Number of seconds to set HSTS header

$helpers

Helpers that will be automatically loaded on class instantiation.

protected array<string|int, mixed> $helpers = []

$validator

Once validation has been run, will hold the Validation instance.

protected Validation $validator

Methods

alarmDetailInformation()

Devuelve las últimas 10 alertas prioritarias

public alarmDetailInformation() : mixed
Return values
mixed

alarmStatisticsInformation()

Todavía no en funcionamiento

public alarmStatisticsInformation() : mixed
Return values
mixed

countVehiculosConAlertas()

Devuelve un array con el número de vehículos con alertas

public countVehiculosConAlertas() : mixed
Return values
mixed

deviceList()

Todavía no en funcionamiento

public deviceList() : mixed
Return values
mixed

evidenceSearchListDetailQuery()

public evidenceSearchListDetailQuery() : mixed
Return values
mixed

evidenceSearchListNumberQuery()

Todavía no en funcionamiento

public evidenceSearchListNumberQuery() : mixed
Return values
mixed

filtroAjax()

public filtroAjax() : mixed
Return values
mixed

flotas()

Devuelve todas las flotas disponibles

public flotas() : mixed
Return values
mixed

getTerId()

Devuelve un array de terid

public getTerId() : mixed
Return values
mixed

getVehiculosActivos()

Devuelve un array con los vehículos que están activos

public getVehiculosActivos() : mixed
Return values
mixed

getVehiculosConAlertas()

Devuelve un array con los vehículos que tienen alertas

public getVehiculosConAlertas() : mixed
Return values
mixed

getVehiculosNoActivos()

Devuelve un array con los vehículos que están no activos

public getVehiculosNoActivos() : mixed
Return values
mixed

grupos()

Devuelve todos los grupos disponibles

public grupos() : mixed
Return values
mixed

imagePreviewVideoPlaybackAjax()

public imagePreviewVideoPlaybackAjax() : mixed
Return values
mixed

index()

En la función index() se utiliza para mostrar las vistas, se utiliza un modelo que tiene como tabla una vista mysql, al utilizar vistas los joins ya están hechos, por lo que solo es necesario especificar los campos necesarios, además de las clausulas WHERE y otras peticiones.

public index() : mixed
Return values
mixed

lastGPSPositionInformation()

Devuelve un array compuesto por 0. Número de vehículos activos, 1. Número de vehículos inactivos, 2. Un array de todos los vehículos 3. un array de todos los vehículos activos y 4. Un array de todos los vehículos inactivos.

public lastGPSPositionInformation() : mixed
Return values
mixed

latLongInformation()

Devuelve un array de vehículos necesario para saber su posición en el mapa mediante la latitud y la longitud

public latLongInformation() : mixed
Return values
mixed

lineas()

Devuelve todas las líneas disponibles

public lineas() : mixed
Return values
mixed

listSpecifiedEvidenceVideosajax()

Todavía no en funcionamiento

public listSpecifiedEvidenceVideosajax() : mixed
Return values
mixed

passengerFlowDetail()

Todavía no en funcionamiento

public passengerFlowDetail() : mixed
Return values
mixed

vehicleGroupInformation()

Todavía no en funcionamiento

public vehicleGroupInformation() : mixed
Return values
mixed

vehiculosTotal()

Devuelve todos los vehiculos disponibles

public vehiculosTotal() : mixed
Return values
mixed

cachePage()

Provides a simple way to tie into the main CodeIgniter class and tell it how long to cache the current page for.

protected cachePage(int $time) : mixed
Parameters
$time : int
Return values
mixed

forceHTTPS()

A convenience method to use when you need to ensure that a single method is reached only via HTTPS. If it isn't, then a redirect will happen back to this method and HSTS header will be sent to have modern browsers transform requests automatically.

protected forceHTTPS([int $duration = 31536000 ]) : mixed
Parameters
$duration : int = 31536000

The number of seconds this link should be considered secure for. Only with HSTS header. Default value is 1 year.

Tags
throws
HTTPException
Return values
mixed

loadHelpers()

Handles "auto-loading" helper files.

protected loadHelpers() : mixed
Tags
deprecated

Use helper function instead of using this method.

codeCoverageIgnore
Return values
mixed

validate()

A shortcut to performing validation on input data. If validation is not successful, a $errors property will be set on this class.

protected validate(array<string|int, mixed>|string $rules[, array<string|int, mixed> $messages = [] ]) : bool
Parameters
$rules : array<string|int, mixed>|string
$messages : array<string|int, mixed> = []

An array of custom error messages

Return values
bool

Search results