ApiDoc BACKEND

CatPanels extends ActiveRecord

This is the model class for table "cat_panels".

Table of Contents

Properties

$convert_currency  : int
$created_at  : string|null
$currency  : Currency
$fk_currency  : int
$fk_panel  : int|null
$fk_provider  : int
$fkPanel  : Panels
$fkProvider  : Providers
$fkSystemUnits  : SystemUnits
$height  : float
$id  : int
$price  : float
$status  : int|null
$thickness  : float
$type  : string
$updated_at  : string|null
$width  : float

Methods

fields()  : array<string|int, mixed>
Desc: Columnas a utilizar de los registros
findActive()  : CatPanels|null
Desc: Encuentra y retorna el item activo.
getCurrency()  : ActiveQuery
Obtiene query para [[Currency]]
getFkPanel()  : ActiveQuery
Desc: Obtiene query para [[FkPanel]].
getFkProvider()  : ActiveQuery
Desc: Obtiene query para [[FkProvider]].
getFkSystemUnits()  : ActiveQuery
Desc: Obtiene query para [[FkSystemUnits]]
getFormatValue()  : array{width_m: mixed, width_inches: mixed, height_m: mixed, height_inches: mixed, thickness_m: mixed, thickness_inches: mixed}
Desc: Retorna el tipo de valor esperado según el tipo de unidad.
rules()  : array<string|int, mixed>
Desc: Reglas de validación.
tableName()  : string
Desc: Nombre de la tabla de la base de datos.

Properties

$convert_currency

public int $convert_currency

Convertir divisa true/false, 1/0

Methods

findActive()

Desc: Encuentra y retorna el item activo.

public static findActive(int $id) : CatPanels|null

Notes: n/a,

Ref: CatPanels

Date: 2025-08-04, Version: v0.2507.01

Example: n/a

Parameters
$id : int
Tags
throws
InvalidConfigException
Return values
CatPanels|null

getFormatValue()

Desc: Retorna el tipo de valor esperado según el tipo de unidad.

public getFormatValue() : array{width_m: mixed, width_inches: mixed, height_m: mixed, height_inches: mixed, thickness_m: mixed, thickness_inches: mixed}

Notes: n/a,

Ref: UnitsConverter

Date: 2025-08-04, Version: v0.2507.01

Example: n/a

Tags
throws
InvalidConfigException
Return values
array{width_m: mixed, width_inches: mixed, height_m: mixed, height_inches: mixed, thickness_m: mixed, thickness_inches: mixed}

        
On this page

Search results