本文整理汇总了PHP中TRecord类的典型用法代码示例。如果您正苦于以下问题:PHP TRecord类的具体用法?PHP TRecord怎么用?PHP TRecord使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
在下文中一共展示了TRecord类的14个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: __construct
public function __construct($id = NULL)
{
parent::__construct($id);
parent::__addAttribute('nome');
parent::__addAttribute('endereco');
parent::__addAttribute('telefone');
parent::__addAttribute('telefone2');
parent::__addAttribute('email');
parent::__addAttribute('cpf');
parent::__addAttribute('genero');
parent::__addAttribute('dataNascimento');
parent::__addAttribute('escolaOrigem');
parent::__addAttribute('bairro');
parent::__addAttribute('cidade');
parent::__addAttribute('estado');
parent::__addAttribute('grupoSanguineo');
parent::__addAttribute('nomeDoPai');
parent::__addAttribute('telDoPai');
parent::__addAttribute('telDoPai2');
parent::__addAttribute('emailDoPai');
parent::__addAttribute('nomeDaMae');
parent::__addAttribute('telDaMae');
parent::__addAttribute('telDaMae2');
parent::__addAttribute('emailDaMae');
parent::__addAttribute('nomeResp');
parent::__addAttribute('telResp');
parent::__addAttribute('telResp2');
parent::__addAttribute('emailResp2');
parent::__addAttribute('turma_id');
}
示例2: __construct
/**
* Constructor method
*/
public function __construct($id = NULL)
{
parent::__construct($id);
parent::addAttribute('type');
parent::addAttribute('value');
parent::addAttribute('customer_id');
}
示例3: __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');
}
示例4: __construct
/**
* Constructor method
* @param $id Primary key to be loaded (optional)
*/
public function __construct($id = NULL)
{
parent::__construct($id);
//parent::addAttribute('idbanco');
parent::addAttribute('sigla');
parent::addAttribute('nome');
}
示例5: __construct
/**
* Constructor method
*/
public function __construct($id = NULL, $callObjectLoad = TRUE)
{
parent::__construct($id, $callObjectLoad);
parent::addAttribute('pedidos_id');
parent::addAttribute('produtos_id');
parent::addAttribute('qtd');
}
示例6: __construct
public function __construct($id = NULL)
{
parent::__construct($id);
parent::addAttribute('cid_id');
parent::addAttribute('cid_nome');
parent::addAttribute('tb_estados_uf_id');
}
示例7: __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');
}
示例8: __construct
/**
* Constructor method
*/
public function __construct($id = NULL, $callObjectLoad = TRUE)
{
parent::__construct($id, $callObjectLoad);
parent::addAttribute('mes');
parent::addAttribute('ano');
parent::addAttribute('horario');
parent::addAttribute('colaborador_id');
}
示例9: __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');
}
示例10: __construct
public function __construct($id = NULL)
{
parent::construct($id);
parent::addAttribute('nome');
parent::addAttribute('email');
parent::addAttribute('telefone');
parent::addAttribute('removido');
}
示例11: __construct
/**
* Constructor method
*/
public function __construct($id = NULL, $callObjectLoad = TRUE)
{
parent::__construct($id, $callObjectLoad);
parent::addAttribute('item_id');
parent::addAttribute('requisicao_id');
parent::addAttribute('justificativa');
parent::addAttribute('quantidade');
parent::addAttribute('prazoEntrega');
}
示例12: __contruct
public function __contruct($id = NULL)
{
parent::__construct($id);
parent::addAttribute('rua');
parent::addAttribute('cep');
parent::addAttribute('bairro');
parent::addAttribute('complemento');
parent::addAttribute('system_user_id');
}
示例13: __construct
/**
* Constructor method
*/
public function __construct($id = NULL)
{
parent::__construct($id);
parent::addAttribute('description');
parent::addAttribute('stock');
parent::addAttribute('sale_price');
parent::addAttribute('unity');
parent::addAttribute('photo_path');
}
示例14: delete
public function delete($id = NULL)
{
$id = isset($id) ? $id : $this->{'id'};
$criteria = new TCriteria();
$criteria->add(new TFilter('project_id', '=', $id));
$repository = new TRepository('Backlog');
$repository->delete($criteria);
parent::delete($id);
}