当前位置: 首页>>代码示例>>PHP>>正文


PHP TRecord::addAttribute方法代码示例

本文整理汇总了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');
 }
开发者ID:eduardojsouza,项目名称:liger,代码行数:7,代码来源:Cidade.class.php

示例2: __construct

 /**
  * Constructor method
  */
 public function __construct($id = NULL, $callObjectLoad = TRUE)
 {
     parent::__construct($id, $callObjectLoad);
     parent::addAttribute('uasg');
     parent::addAttribute('nome');
     parent::addAttribute('sigla');
 }
开发者ID:andermall,项目名称:tcc,代码行数:10,代码来源:Campus.class.php

示例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');
 }
开发者ID:edurbs,项目名称:sobcontrole,代码行数:11,代码来源:cidade.class.php

示例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');
 }
开发者ID:jhonleandres,项目名称:Atividades,代码行数:37,代码来源:Entidade.class.php

示例5: __construct

 /**
  * Constructor method
  */
 public function __construct($id = NULL)
 {
     parent::__construct($id);
     parent::addAttribute('product');
     parent::addAttribute('quantity');
     parent::addAttribute('price');
 }
开发者ID:kiibe,项目名称:linkERP,代码行数:10,代码来源:SystemStock.class.php

示例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');
 }
开发者ID:edurbs,项目名称:sobcontrole,代码行数:11,代码来源:contato.class.php

示例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');
 }
开发者ID:jhonleandres,项目名称:Atividades,代码行数:32,代码来源:Ticket.class.php

示例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');
 }
开发者ID:edurbs,项目名称:sobcontrole,代码行数:11,代码来源:SystemAccessLog.class.php

示例9: __construct

 /**
  * Constructor method
  */
 public function __construct($id = NULL)
 {
     parent::__construct($id);
     parent::addAttribute('date');
     parent::addAttribute('hour');
     parent::addAttribute('place');
     parent::addAttribute('description');
 }
开发者ID:kiibe,项目名称:linkERP,代码行数:11,代码来源:SystemNotes.class.php

示例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');
 }
开发者ID:eduardojsouza,项目名称:liger,代码行数:8,代码来源:Estado.class.php

示例11: __construct

 public function __construct($id = NULL)
 {
     parent::construct($id);
     parent::addAttribute('nome');
     parent::addAttribute('email');
     parent::addAttribute('telefone');
     parent::addAttribute('removido');
 }
开发者ID:joaopaulo11jp,项目名称:educaproject,代码行数:8,代码来源:Professor.class.php


注:本文中的TRecord::addAttribute方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。