Documentación de Proyecto Sincro

ControladorMatriculaProveedor

ControladorMatriculaProveedor Gestiona las matrículas asociadas a un proveedor.

Table of Contents

Methods

getByProveedor()  : array{ok: bool, data: array, status: int}
Obtiene matricula por proveedor
insert()  : array{ok: bool, status: int, error?: string}
Inserta una nueva matricula

Methods

getByProveedor()

Obtiene matricula por proveedor

public static getByProveedor(int $idProveedor, array<string|int, int> $conexionIds) : array{ok: bool, data: array, status: int}
Parameters
$idProveedor : int

: id proveedor

$conexionIds : array<string|int, int>

: id conexion

Return values
array{ok: bool, data: array, status: int}

insert()

Inserta una nueva matricula

public static insert(int $idProveedor, string $matricula, array<string|int, int> $conexionIds) : array{ok: bool, status: int, error?: string}
Parameters
$idProveedor : int

: id proveedor

$matricula : string

: nueva matricula

$conexionIds : array<string|int, int>

: id de conexion, 1 esperada

Return values
array{ok: bool, status: int, error?: string}

        
On this page

Search results