ApiDoc BACKEND

QuotMaterialList extends ActiveRecord uses JsonBehaviorTrait

This is the model class for table "quot_material_list".

Table of Contents

Properties

$description  : string
$dimensions  : string
$fk_quotation_items  : int
$fkQuotationItems  : QuotationItems
$id  : int
$material_type  : string
$name  : string
$quantity  : int
$supplier  : string
$total_price  : float
$type  : string
$unit  : string|null
$unit_price  : float
$uuid  : string

Methods

beforeSave()  : mixed
getFkQuotationItems()  : ActiveQuery
Gets query for [[FkQuotationItems]].
getMaterialInfo()  : mixed
insertMaterialList()  : mixed
jsonDecode()  : mixed
jsonEncode()  : void
Desc método para codificar un array de datos a JSONSTRING,
rules()  : mixed
{@inheritdoc}
tableName()  : mixed
{@inheritdoc}

Properties

Methods

beforeSave()

public beforeSave(mixed $insert) : mixed
Parameters
$insert : mixed

getFkQuotationItems()

Gets query for [[FkQuotationItems]].

public getFkQuotationItems() : ActiveQuery
Return values
ActiveQuery

getMaterialInfo()

public static getMaterialInfo(array<string|int, mixed> $poMaterialList) : mixed
Parameters
$poMaterialList : array<string|int, mixed>

insertMaterialList()

public static insertMaterialList(array<string|int, mixed> $items, int $qo_items_id, mixed $conn) : mixed
Parameters
$items : array<string|int, mixed>
$qo_items_id : int
$conn : mixed

jsonDecode()

public jsonDecode(mixed $attribute) : mixed
Parameters
$attribute : mixed

jsonEncode()

Desc método para codificar un array de datos a JSONSTRING,

public jsonEncode(mixed $attribute, mixed $value) : void
Parameters
$attribute : mixed
$value : mixed

        
On this page

Search results