本文整理匯總了PHP中TRecord::addAttribute方法的典型用法代碼示例。如果您正苦於以下問題:PHP TRecord::addAttribute方法的具體用法?PHP TRecord::addAttribute怎麽用?PHP TRecord::addAttribute使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類TRecord
的用法示例。
在下文中一共展示了TRecord::addAttribute方法的11個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: __construct
public function __construct($id = NULL)
{
parent::__construct($id);
parent::addAttribute('cid_id');
parent::addAttribute('cid_nome');
parent::addAttribute('tb_estados_uf_id');
}
示例2: __construct
/**
* Constructor method
*/
public function __construct($id = NULL, $callObjectLoad = TRUE)
{
parent::__construct($id, $callObjectLoad);
parent::addAttribute('uasg');
parent::addAttribute('nome');
parent::addAttribute('sigla');
}
示例3: __construct
/**
* Constructor method
* @param $id Primary key to be loaded (optional)
*/
public function __construct($id = NULL)
{
parent::__construct($id);
//parent::addAttribute('idcidade');
parent::addAttribute('nome');
parent::addAttribute('iduf');
}
示例4: __construct
/**
* Constructor method
*/
public function __construct($id = NULL, $callObjectLoad = TRUE)
{
parent::__construct($id, $callObjectLoad);
parent::addAttribute('entrazsoc');
parent::addAttribute('entnumcgc');
parent::addAttribute('entlogend');
parent::addAttribute('entendnum');
parent::addAttribute('entendcmp');
parent::addAttribute('entendcep');
parent::addAttribute('ententbai');
parent::addAttribute('entendfon');
parent::addAttribute('entendema');
parent::addAttribute('entmunend');
parent::addAttribute('entcaddta');
parent::addAttribute('entcadobs');
parent::addAttribute('endfaxnum');
parent::addAttribute('entendsit');
parent::addAttribute('entsenent');
parent::addAttribute('entdiacor');
parent::addAttribute('entdiades');
parent::addAttribute('entopccor');
parent::addAttribute('entnomfan');
parent::addAttribute('enttiplim');
parent::addAttribute('entcontato');
parent::addAttribute('enttippro');
parent::addAttribute('entmsgecs');
parent::addAttribute('entmsgass');
parent::addAttribute('entusatef');
parent::addAttribute('entlcttbz');
parent::addAttribute('etdlctrecs');
parent::addAttribute('entdtaold');
parent::addAttribute('entempent');
parent::addAttribute('enttipent');
}
示例5: __construct
/**
* Constructor method
*/
public function __construct($id = NULL)
{
parent::__construct($id);
parent::addAttribute('product');
parent::addAttribute('quantity');
parent::addAttribute('price');
}
示例6: __construct
/**
* Constructor method
* @param $id Primary key to be loaded (optional)
*/
public function __construct($id = NULL)
{
parent::__construct($id);
parent::addAttribute('idtipocontato');
parent::addAttribute('idpessoa');
parent::addAttribute('descricao');
}
示例7: __construct
/**
* Constructor method
*/
public function __construct($id = NULL, $callObjectLoad = TRUE)
{
parent::__construct($id, $callObjectLoad);
parent::addAttribute('titulo');
parent::addAttribute('origem');
parent::addAttribute('solicitacao_descricao');
parent::addAttribute('providencia');
parent::addAttribute('orcamento_horas');
parent::addAttribute('orcamento_valor_hora');
parent::addAttribute('valor_desconto');
parent::addAttribute('valor_total');
parent::addAttribute('data_ultimo_pgto');
parent::addAttribute('valor_ultimo_pgto');
parent::addAttribute('valor_total_pago');
parent::addAttribute('data_cadastro');
parent::addAttribute('data_prevista');
parent::addAttribute('data_aprovacao');
parent::addAttribute('observacao');
parent::addAttribute('solicitante_id');
parent::addAttribute('responsavel_id');
parent::addAttribute('tipo_ticket_id');
parent::addAttribute('sistema_id');
parent::addAttribute('status_ticket_id');
parent::addAttribute('prioridade_id');
parent::addAttribute('forma_pagamento');
parent::addAttribute('data_inicio');
parent::addAttribute('data_cancelamento');
parent::addAttribute('data_encerramento');
}
示例8: __construct
/**
* Constructor method
*/
public function __construct($id = NULL, $callObjectLoad = TRUE)
{
parent::__construct($id, $callObjectLoad);
parent::addAttribute('sessionid');
parent::addAttribute('login');
parent::addAttribute('login_time');
parent::addAttribute('logout_time');
}
示例9: __construct
/**
* Constructor method
*/
public function __construct($id = NULL)
{
parent::__construct($id);
parent::addAttribute('date');
parent::addAttribute('hour');
parent::addAttribute('place');
parent::addAttribute('description');
}
示例10: __construct
public function __construct($id = NULL)
{
parent::__construct($id);
parent::addAttribute('uf_id');
parent::addAttribute('uf_nome');
parent::addAttribute('uf_cod_ibge');
parent::addAttribute('uf_sigla');
}
示例11: __construct
public function __construct($id = NULL)
{
parent::construct($id);
parent::addAttribute('nome');
parent::addAttribute('email');
parent::addAttribute('telefone');
parent::addAttribute('removido');
}