Ejemplo n.º 1
0
 /**
  * Carrega as colunas com suas configurações 
  */
 protected function _loadColumns()
 {
     $this->_columns = new ZendT_Db_Column_View('Ged_DataView_PropDocto_MapperView', $this->_getSettingsDefault());
     $this->_columns->add('id', 'img_prop_docto', 'id', $this->getModel()->getMapperName(), ZendT_Lib::translate('img_prop_docto.id'), 'String', '%?%');
     $this->_columns->add('nome', 'img_prop_docto', 'nome', $this->getModel()->getMapperName(), ZendT_Lib::translate('img_prop_docto.nome'), 'String', '%?%');
     $this->_columns->add('config', 'img_prop_docto', 'config', $this->getModel()->getMapperName(), ZendT_Lib::translate('img_prop_docto.config'), 'String', '%?%');
 }
Ejemplo n.º 2
0
 /**
  * Carrega as colunas com suas configurações 
  */
 protected function _loadColumns()
 {
     $this->_columns = new ZendT_Db_Column_View('Profile_DataView_JobDest_MapperView', $this->_getSettingsDefault());
     $this->_columns->add('id', 'profile_job_dest', 'id', $this->getModel()->getMapperName(), ZendT_Lib::translate('profile_job_dest.id'), 'String', '%?%');
     $this->_columns->add('id_profile_job', 'profile_job_dest', 'id_profile_job', $this->getModel()->getMapperName(), ZendT_Lib::translate('profile_job_dest.id_profile_job'), null, '=');
     $this->_columns->add('id_papel', 'profile_job_dest', 'id_papel', $this->getModel()->getMapperName(), ZendT_Lib::translate('profile_job_dest.id_papel'), null, '=');
 }
Ejemplo n.º 3
0
 /**
  * Carrega as colunas com suas configurações 
  */
 protected function _loadColumns()
 {
     $this->_columns = new ZendT_Db_Column_View('Auth_DataView_TipoRecurso_MapperView', $this->_getSettingsDefault());
     $this->_columns->add('id', 'at_tipo_recurso', 'id', $this->getModel()->getMapperName(), ZendT_Lib::translate('at_tipo_recurso.id'), 'String', '%?%');
     $this->_columns->add('nome', 'at_tipo_recurso', 'nome', $this->getModel()->getMapperName(), ZendT_Lib::translate('at_tipo_recurso.nome'), 'String', '%?%');
     $this->_columns->add('descricao', 'at_tipo_recurso', 'descricao', $this->getModel()->getMapperName(), ZendT_Lib::translate('at_tipo_recurso.descricao'), 'String', '%?%');
 }
Ejemplo n.º 4
0
 protected function _loadColumns()
 {
     parent::_loadColumns();
     $this->_columns->add('chave_categoria', 'categoria', 'chave', $this->_getCategoria()->getChave(true), ZendT_Lib::translate('Chave da Categoria'), null, '?%');
     $this->_columns->add('acao_status', 'status', 'acao', $this->_getStatus()->getAcao(true), ZendT_Lib::translate('Ação do Estado'), '', '=');
     $this->_columns->add('avatar_usuario_inc', 'usuario_inc', 'avatar', $this->_getUsuario()->getAvatar(true), ZendT_Lib::translate('Avatar do Usuário'), null, '=');
 }
Ejemplo n.º 5
0
 /**
  * Carrega as colunas com suas configurações 
  */
 protected function _loadColumns()
 {
     $this->_columns = new ZendT_Db_Column_View('Monitor_DataView_LogServerRequest_MapperView', $this->_getSettingsDefault());
     $this->_columns->add('id', 'log_server_request', 'id', $this->getModel()->getMapperName(), ZendT_Lib::translate('log_server_request.id'), 'String', '%?%');
     $this->_columns->add('id_log_server', 'log_server_request', 'id_log_server', $this->getModel()->getMapperName(), ZendT_Lib::translate('log_server_request.id_log_server'), null, '?%');
     $this->_columns->add('dh_log_log_server', 'log_server', 'dh_log', $this->_getLogServer()->getModel()->getMapperName(), ZendT_Lib::translate('log_server_request.id_log_server.log_server.dh_log'), null, '?%');
     $this->_columns->add('cpu_load_log_server', 'log_server', 'cpu_load', $this->_getLogServer()->getModel()->getMapperName(), ZendT_Lib::translate('log_server_request.id_log_server.log_server.cpu_load'), null, '?%');
     $this->_columns->add('srv', 'log_server_request', 'srv', $this->getModel()->getMapperName(), ZendT_Lib::translate('log_server_request.srv'), 'String', '%?%');
     $this->_columns->add('pid', 'log_server_request', 'pid', $this->getModel()->getMapperName(), ZendT_Lib::translate('log_server_request.pid'), 'Numeric', '=');
     $this->_columns->add('acc', 'log_server_request', 'acc', $this->getModel()->getMapperName(), ZendT_Lib::translate('log_server_request.acc'), 'String', '%?%');
     $this->_columns->add('m', 'log_server_request', 'm', $this->getModel()->getMapperName(), ZendT_Lib::translate('log_server_request.m'), 'String', '%?%');
     $this->_columns->add('cpu', 'log_server_request', 'cpu', $this->getModel()->getMapperName(), ZendT_Lib::translate('log_server_request.cpu'), 'Numeric', '=');
     $this->_columns->add('ss', 'log_server_request', 'ss', $this->getModel()->getMapperName(), ZendT_Lib::translate('log_server_request.ss'), 'Numeric', '=');
     $this->_columns->add('req', 'log_server_request', 'req', $this->getModel()->getMapperName(), ZendT_Lib::translate('log_server_request.req'), 'Numeric', '=');
     $this->_columns->add('conn', 'log_server_request', 'conn', $this->getModel()->getMapperName(), ZendT_Lib::translate('log_server_request.conn'), 'Numeric', '=');
     $this->_columns->add('child', 'log_server_request', 'child', $this->getModel()->getMapperName(), ZendT_Lib::translate('log_server_request.child'), 'Numeric', '=');
     $this->_columns->add('slot', 'log_server_request', 'slot', $this->getModel()->getMapperName(), ZendT_Lib::translate('log_server_request.slot'), 'Numeric', '=');
     $this->_columns->add('client', 'log_server_request', 'client', $this->getModel()->getMapperName(), ZendT_Lib::translate('log_server_request.client'), 'String', '%?%');
     $this->_columns->add('vhost', 'log_server_request', 'vhost', $this->getModel()->getMapperName(), ZendT_Lib::translate('log_server_request.vhost'), 'String', '%?%');
     $this->_columns->add('request', 'log_server_request', 'request', $this->getModel()->getMapperName(), ZendT_Lib::translate('log_server_request.request'), 'String', '%?%');
     $this->_columns->add('perc_cpu', 'log_server_request', 'perc_cpu', $this->getModel()->getMapperName(), ZendT_Lib::translate('log_server_request.perc_cpu'), 'Numeric', '=');
     $this->_columns->add('perc_mem', 'log_server_request', 'perc_mem', $this->getModel()->getMapperName(), ZendT_Lib::translate('log_server_request.perc_mem'), 'Numeric', '=');
     $this->_columns->add('time', 'log_server_request', 'time', $this->getModel()->getMapperName(), ZendT_Lib::translate('log_server_request.time'), 'Numeric', '=');
     $this->_columns->add('system', 'log_server_request', 'system', $this->getModel()->getMapperName(), ZendT_Lib::translate('log_server_request.system'), 'String', '%?%');
 }
Ejemplo n.º 6
0
 protected function _loadColumns()
 {
     $_number4 = new ZendT_Type_Number(null, array('numDecimal' => 4));
     parent::_loadColumns();
     $this->_columns->add('vlr_venda_produto', 'produto', 'vlr_venda', $this->_getProduto()->getModel()->getMapperName(), ZendT_Lib::translate('Valor do Produto'), null, '=');
     /**
                 'PA' => 'Acréscimo de Preço',
                 'PD' => 'Desconto de Preço',
                 'CD' => 'Custeio de Débito',
     */
     $expression = "(CASE";
     $expression .= " WHEN ca_regra_contrato.tipo = 'PA' AND ca_regra_contrato.vlr_fixo > 0 THEN ";
     $expression .= "      produto.vlr_venda + ca_regra_contrato.vlr_fixo ";
     $expression .= " WHEN ca_regra_contrato.tipo = 'PA' AND ca_regra_contrato.vlr_perc > 0 THEN ";
     $expression .= "      ((produto.vlr_venda * ca_regra_contrato.vlr_fixo) / 100) + produto.vlr_venda ";
     $expression .= " WHEN ca_regra_contrato.tipo = 'PD' AND ca_regra_contrato.vlr_fixo > 0 THEN ";
     $expression .= "      produto.vlr_venda - ca_regra_contrato.vlr_fixo ";
     $expression .= " WHEN ca_regra_contrato.tipo = 'PD' AND ca_regra_contrato.vlr_perc > 0 THEN ";
     $expression .= "      ((produto.vlr_venda * ca_regra_contrato.vlr_fixo) / 100) - produto.vlr_venda ";
     $expression .= " WHEN ca_regra_contrato.tipo = 'CD' AND ca_regra_contrato.vlr_fixo > 0 THEN ";
     $expression .= "      ca_regra_contrato.vlr_fixo ";
     $expression .= " WHEN ca_regra_contrato.tipo = 'CD' AND ca_regra_contrato.vlr_perc > 0 THEN ";
     $expression .= "      ((produto.vlr_venda * ca_regra_contrato.vlr_fixo) / 100) ";
     $expression .= "END)";
     $this->_columns->addExpression('vlr_final', $expression, $_number4, ZendT_Lib::translate('Valor Final'));
 }
Ejemplo n.º 7
0
 public function init()
 {
     $moduleName = $this->getRequest()->getModuleName();
     $tableName = $this->getRequest()->getParam('table');
     $objectName = ZendT_Lib::convertTableNameToClassName($tableName);
     var_dump($moduleName, $tableName, $objectName);
     exit;
 }
Ejemplo n.º 8
0
 protected function _loadColumns()
 {
     parent::_loadColumns();
     $this->_columns->add('qtd_parcela', 'parcela', 'qtd', $this->_getParcela()->getModel()->getMapperName(), ZendT_Lib::translate('Qtd. de Parcela'), null, '=');
     $this->_columns->add('dias_venc_parcela', 'parcela', 'dias_venc', $this->_getParcela()->getModel()->getMapperName(), ZendT_Lib::translate('Dias de Vencimento'), null, '=');
     $this->_columns->add('dt_emis_pedido', 'pedido', 'dt_emis', $this->_getPedido()->getModel()->getMapperName(), ZendT_Lib::translate('Data de Emissão do Pedido'), null, '=');
     $this->_columns->add('pago_forma_pagto', 'forma_pagto', 'pago', $this->_getFormaPagamento()->getModel()->getMapperName(), ZendT_Lib::translate('Pago'), null, '=');
 }
Ejemplo n.º 9
0
 /**
  * Carrega as colunas com suas configurações 
  */
 protected function _loadColumns()
 {
     $this->_columns = new ZendT_Db_Column_View('Log_DataView_LogTabela_MapperView', $this->_getSettingsDefault());
     $this->_columns->add('id', 'log_tabela', 'id', $this->getModel()->getMapperName(), ZendT_Lib::translate('log_tabela.id'), 'String', '%?%');
     $this->_columns->add('nome', 'log_tabela', 'nome', $this->getModel()->getMapperName(), ZendT_Lib::translate('log_tabela.nome'), 'String', '%?%');
     $this->_columns->add('owner', 'log_tabela', 'owner', $this->getModel()->getMapperName(), ZendT_Lib::translate('log_tabela.owner'), 'String', '%?%');
     $this->_columns->add('table_name', 'log_tabela', 'table_name', $this->getModel()->getMapperName(), ZendT_Lib::translate('log_tabela.table_name'), 'String', '%?%');
 }
Ejemplo n.º 10
0
 /**
  * Carrega as colunas com suas configurações 
  */
 protected function _loadColumns()
 {
     $this->_columns = new ZendT_Db_Column_View('Auth_DataView_ContaRel_MapperView', $this->_getSettingsDefault());
     $this->_columns->add('id', 'at_papel_rel', 'id', $this->getModel()->getMapperName(), ZendT_Lib::translate('at_papel_rel.id'), 'String', '%?%');
     $this->_columns->add('id_papel', 'at_papel_rel', 'id_papel', $this->getModel()->getMapperName(), ZendT_Lib::translate('at_papel_rel.id_papel'), null, '=');
     $this->_columns->add('id_papel_rel', 'at_papel_rel', 'id_papel_rel', $this->getModel()->getMapperName(), ZendT_Lib::translate('at_papel_rel.id_papel_rel'), null, '=');
     $this->_columns->add('status', 'at_papel_rel', 'status', $this->getModel()->getMapperName(), ZendT_Lib::translate('at_papel_rel.status'), 'String', '=');
 }
Ejemplo n.º 11
0
 /**
  * Carrega as colunas com suas configurações 
  */
 protected function _loadColumns()
 {
     $this->_columns = new ZendT_Db_Column_View('Profile_DataView_ObjectViewPriv_MapperView', $this->_getSettingsDefault());
     $this->_columns->add('id', 'profile_object_view_priv', 'id', $this->getModel()->getMapperName(), ZendT_Lib::translate('profile_object_view_priv.id'), 'String', '%?%');
     $this->_columns->add('id_profile_object_view', 'profile_object_view_priv', 'id_profile_object_view', $this->getModel()->getMapperName(), ZendT_Lib::translate('profile_object_view_priv.id_profile_object_view'), null, '=');
     $this->_columns->add('id_papel', 'profile_object_view_priv', 'id_papel', $this->getModel()->getMapperName(), ZendT_Lib::translate('profile_object_view_priv.id_papel'), null, '=');
     $this->_columns->add('tipo', 'profile_object_view_priv', 'tipo', $this->getModel()->getMapperName(), ZendT_Lib::translate('profile_object_view_priv.tipo'), 'String', '=');
 }
Ejemplo n.º 12
0
 /**
  * Carrega as colunas com suas configurações 
  */
 protected function _loadColumns()
 {
     $this->_columns = new ZendT_Db_Column_View('Vendas_DataView_PagtoLanc_MapperView', $this->_getSettingsDefault());
     $this->_columns->add('id', 'cv_pagto_lanc', 'id', $this->getModel()->getMapperName(), ZendT_Lib::translate('cv_pagto_lanc.id'), 'String', '%?%');
     $this->_columns->add('id_pagto_pedido', 'cv_pagto_lanc', 'id_pagto_pedido', $this->getModel()->getMapperName(), ZendT_Lib::translate('cv_pagto_lanc.id_pagto_pedido'), null, '=');
     $this->_columns->add('id_lancamento', 'cv_pagto_lanc', 'id_lancamento', $this->getModel()->getMapperName(), ZendT_Lib::translate('cv_pagto_lanc.id_lancamento'), null, '=');
     $this->_columns->add('tipo_lancamento', 'lancamento', 'tipo', $this->_getLancamento()->getModel()->getMapperName(), ZendT_Lib::translate('cv_pagto_lanc.id_lancamento.fc_lancamento.tipo'), null, '?%');
 }
Ejemplo n.º 13
0
 /**
  * Carrega as colunas com suas configurações 
  */
 protected function _loadColumns()
 {
     $this->_columns = new ZendT_Db_Column_View('Auth_DataView_Privilegio_MapperView', $this->_getSettingsDefault());
     $this->_columns->add('id', 'at_privilegio', 'id', $this->getModel()->getMapperName(), ZendT_Lib::translate('at_privilegio.id'), 'String', '%?%');
     $this->_columns->add('id_papel', 'at_privilegio', 'id_papel', $this->getModel()->getMapperName(), ZendT_Lib::translate('at_privilegio.id_papel'), null, '=');
     $this->_columns->add('id_recurso', 'at_privilegio', 'id_recurso', $this->getModel()->getMapperName(), ZendT_Lib::translate('at_privilegio.id_recurso'), null, '=');
     $this->_columns->add('acesso', 'at_privilegio', 'acesso', $this->getModel()->getMapperName(), ZendT_Lib::translate('at_privilegio.acesso'), 'String', '=');
 }
Ejemplo n.º 14
0
 /**
  * Carrega as colunas com suas configurações 
  */
 protected function _loadColumns()
 {
     $this->_columns = new ZendT_Db_Column_View('Tools_DataView_LogErro_MapperView', $this->_getSettingsDefault());
     $this->_columns->add('id', 'log_erro', 'id', $this->getModel()->getMapperName(), ZendT_Lib::translate('log_erro.id'), 'String', '%?%');
     $this->_columns->add('procedimento', 'log_erro', 'procedimento', $this->getModel()->getMapperName(), ZendT_Lib::translate('log_erro.procedimento'), 'String', '%?%');
     $this->_columns->add('dh_log', 'log_erro', 'dh_log', $this->getModel()->getMapperName(), ZendT_Lib::translate('log_erro.dh_log'), 'DateTime', '=');
     $this->_columns->add('mensagem', 'log_erro', 'mensagem', $this->getModel()->getMapperName(), ZendT_Lib::translate('log_erro.mensagem'), 'String', '%?%');
 }
Ejemplo n.º 15
0
 /**
  * Carrega as colunas com suas configurações 
  */
 protected function _loadColumns()
 {
     $this->_columns = new ZendT_Db_Column_View('Log_DataView_LogOperac_MapperView', $this->_getSettingsDefault());
     $this->_columns->add('id', 'log_operac', 'id', $this->getModel()->getMapperName(), ZendT_Lib::translate('log_operac.id'), 'String', '%?%');
     $this->_columns->add('codigo', 'log_operac', 'codigo', $this->getModel()->getMapperName(), ZendT_Lib::translate('log_operac.codigo'), 'String', '%?%');
     $this->_columns->add('operacao', 'log_operac', 'operacao', $this->getModel()->getMapperName(), ZendT_Lib::translate('log_operac.operacao'), 'String', '%?%');
     $this->_columns->add('status', 'log_operac', 'status', $this->getModel()->getMapperName(), ZendT_Lib::translate('log_operac.status'), 'String', '%?%');
     $this->_columns->add('acao', 'log_operac', 'acao', $this->getModel()->getMapperName(), ZendT_Lib::translate('log_operac.acao'), 'String', '%?%');
 }
Ejemplo n.º 16
0
 /**
  * 
  * @param type $value
  * @return boolean 
  */
 public function isValid($value)
 {
     $this->_setValue($value);
     if (!ZendT_Lib::checkCnpjCpf($value)) {
         $this->_error(self::CNPJ_CPF);
         return false;
     }
     return true;
 }
Ejemplo n.º 17
0
 /**
  * Carrega as colunas com suas configurações 
  */
 protected function _loadColumns()
 {
     $this->_columns = new ZendT_Db_Column_View('Cms_DataView_Notificacao_MapperView', $this->_getSettingsDefault());
     $this->_columns->addExpression('id', 'cms_notificacao.id_conteudo||\'-\'||cms_notificacao.id_usuario', 'Cms_Model_Notificacao_Mapper', ZendT_Lib::translate('cms_notificacao.id'), null, '=');
     $this->_columns->add('id_conteudo', 'cms_notificacao', 'id_conteudo', $this->getModel()->getMapperName(), ZendT_Lib::translate('cms_notificacao.id_conteudo'), 'String', '%?%');
     $this->_columns->add('id_usuario', 'cms_notificacao', 'id_usuario', $this->getModel()->getMapperName(), ZendT_Lib::translate('cms_notificacao.id_usuario'), 'String', '%?%');
     $this->_columns->add('id_maillist', 'cms_notificacao', 'id_maillist', $this->getModel()->getMapperName(), ZendT_Lib::translate('cms_notificacao.id_maillist'), null, '=');
     $this->_columns->add('mail_from_maillist', 'maillist', 'mail_from', $this->_getMaillist()->getModel()->getMapperName(), ZendT_Lib::translate('cms_notificacao.id_maillist.maillist.mail_from'), null, '?%');
 }
Ejemplo n.º 18
0
 /**
  * Carrega as colunas com suas configurações 
  */
 protected function _loadColumns()
 {
     $this->_columns = new ZendT_Db_Column_View('Tools_Model_Maillisthist_MapperView', $this->_getSettingsDefault());
     $this->_columns->add('id_maillist', 'maillisthist', 'id_maillist', $this->getModel()->getMapperName(), ZendT_Lib::translate('maillisthist.id_maillist'), null, '?%');
     $this->_columns->add('mail_from_maillist', 'maillist', 'mail_from', $this->_getMaillist()->getModel()->getMapperName(), ZendT_Lib::translate('maillist.mail_from'), null, '?%');
     $this->_columns->add('action', 'maillisthist', 'action', $this->getModel()->getMapperName(), ZendT_Lib::translate('maillisthist.action'), 'String', '=');
     $this->_columns->add('dh_action', 'maillisthist', 'dh_action', $this->getModel()->getMapperName(), ZendT_Lib::translate('maillisthist.dh_action'), 'DateTime', '=');
     $this->_columns->add('err_msg', 'maillisthist', 'err_msg', $this->getModel()->getMapperName(), ZendT_Lib::translate('maillisthist.err_msg'), 'String', '%?%');
 }
Ejemplo n.º 19
0
 /**
  * Carrega as colunas com suas configurações 
  */
 protected function _loadColumns()
 {
     $this->_columns = new ZendT_Db_Column_View('Vendas_DataView_LogPedido_MapperView', $this->_getSettingsDefault());
     $this->_columns->add('id', 'log_pedido', 'id', $this->getModel()->getMapperName(), ZendT_Lib::translate('log_pedido.id'), 'String', '%?%');
     $this->_columns->add('id_pedido', 'log_pedido', 'id_pedido', $this->getModel()->getMapperName(), ZendT_Lib::translate('log_pedido.id_pedido'), null, '=');
     $this->_columns->add('numero_pedido', 'pedido', 'numero', $this->_getPedido()->getModel()->getMapperName(), ZendT_Lib::translate('cv_log_pedido.id_pedido.cv_pedido.numero'), null, '?%');
     $this->_columns->add('dh_log', 'log_pedido', 'dh_log', $this->getModel()->getMapperName(), ZendT_Lib::translate('log_pedido.dh_log'), 'DateTime', '=');
     $this->_columns->add('mensagem', 'log_pedido', 'mensagem', $this->getModel()->getMapperName(), ZendT_Lib::translate('log_pedido.mensagem'), 'String', '%?%');
 }
Ejemplo n.º 20
0
 /**
  * Carrega as colunas com suas configurações 
  */
 protected function _loadColumns()
 {
     $this->_columns = new ZendT_Db_Column_View('Financeiro_DataView_Banco_MapperView', $this->_getSettingsDefault());
     $this->_columns->add('id', 'fc_banco', 'id', $this->getModel()->getMapperName(), ZendT_Lib::translate('fc_banco.id'), 'String', '%?%');
     $this->_columns->add('nome', 'fc_banco', 'nome', $this->getModel()->getMapperName(), ZendT_Lib::translate('fc_banco.nome'), 'String', '%?%');
     $this->_columns->add('codigo', 'fc_banco', 'codigo', $this->getModel()->getMapperName(), ZendT_Lib::translate('fc_banco.codigo'), 'String', '%?%');
     $this->_columns->add('id_empresa', 'fc_banco', 'id_empresa', $this->getModel()->getMapperName(), ZendT_Lib::translate('fc_banco.id_empresa'), null, '=');
     $this->_columns->add('nome_empresa', 'empresa', 'nome', $this->_getPessoa()->getModel()->getMapperName(), ZendT_Lib::translate('fc_banco.id_empresa.ca_pessoa.nome'), null, '?%');
 }
Ejemplo n.º 21
0
 /**
  * Carrega as colunas com suas configurações 
  */
 protected function _loadColumns()
 {
     $this->_columns = new ZendT_Db_Column_View('Ca_DataView_Estado_MapperView', $this->_getSettingsDefault());
     $this->_columns->add('id', 'estado', 'id', $this->getModel()->getMapperName(), ZendT_Lib::translate('estado.id'), 'String', '%?%');
     $this->_columns->add('uf', 'estado', 'uf', $this->getModel()->getMapperName(), ZendT_Lib::translate('estado.uf'), 'String', '%?%');
     $this->_columns->add('nome', 'estado', 'nome', $this->getModel()->getMapperName(), ZendT_Lib::translate('estado.nome'), 'String', '%?%');
     $this->_columns->add('cod_ibge', 'estado', 'cod_ibge', $this->getModel()->getMapperName(), ZendT_Lib::translate('estado.cod_ibge'), 'String', '%?%');
     $this->_columns->add('mascara_ie', 'estado', 'mascara_ie', $this->getModel()->getMapperName(), ZendT_Lib::translate('estado.mascara_ie'), 'String', '%?%');
 }
Ejemplo n.º 22
0
 /**
  * Carrega as colunas com suas configurações 
  */
 protected function _loadColumns()
 {
     $this->_columns = new ZendT_Db_Column_View('Ged_DataView_TipoDocto_MapperView', $this->_getSettingsDefault());
     $this->_columns->add('id', 'img_tipo_docto', 'id', $this->getModel()->getMapperName(), ZendT_Lib::translate('img_tipo_docto.id'), 'String', '%?%');
     $this->_columns->add('id_prop_docto', 'img_tipo_docto', 'id_prop_docto', $this->getModel()->getMapperName(), ZendT_Lib::translate('img_tipo_docto.id_prop_docto'), null, '?%');
     $this->_columns->add('nome_prop_docto', 'prop_docto', 'nome', $this->_getPropDocto()->getModel()->getMapperName(), ZendT_Lib::translate('img_tipo_docto.id_prop_docto.img_prop_docto.nome'), null, '?%');
     $this->_columns->add('nome', 'img_tipo_docto', 'nome', $this->getModel()->getMapperName(), ZendT_Lib::translate('img_tipo_docto.nome'), 'String', '%?%');
     $this->_columns->add('status', 'img_tipo_docto', 'status', $this->getModel()->getMapperName(), ZendT_Lib::translate('img_tipo_docto.status'), 'String', '=');
 }
Ejemplo n.º 23
0
 /**
  * Carrega as colunas com suas configurações 
  */
 protected function _loadColumns()
 {
     $this->_columns = new ZendT_Db_Column_View('Frota_DataView_Marca_MapperView', $this->_getSettingsDefault());
     $this->_columns->add('id', 'fr_marca', 'id', $this->getModel()->getMapperName(), ZendT_Lib::translate('fr_marca.id'), 'String', '%?%');
     $this->_columns->add('descricao', 'fr_marca', 'descricao', $this->getModel()->getMapperName(), ZendT_Lib::translate('fr_marca.descricao'), 'String', '%?%');
     $this->_columns->add('status', 'fr_marca', 'status', $this->getModel()->getMapperName(), ZendT_Lib::translate('fr_marca.status'), 'String', '=');
     $this->_columns->add('id_empresa', 'fr_marca', 'id_empresa', $this->getModel()->getMapperName(), ZendT_Lib::translate('fr_marca.id_empresa'), null, '=');
     $this->_columns->add('nome_empresa', 'empresa', 'nome', $this->_getPessoa()->getModel()->getMapperName(), ZendT_Lib::translate('fr_marca.id_empresa.ca_pessoa.nome'), null, '?%');
 }
Ejemplo n.º 24
0
 /**
  * Carrega as colunas com suas configurações 
  */
 protected function _loadColumns()
 {
     $this->_columns = new ZendT_Db_Column_View('Ca_DataView_Numeracao_MapperView', $this->_getSettingsDefault());
     $this->_columns->add('id', 'ca_numeracao', 'id', $this->getModel()->getMapperName(), ZendT_Lib::translate('ca_numeracao.id'), 'String', '%?%');
     $this->_columns->add('nome', 'ca_numeracao', 'nome', $this->getModel()->getMapperName(), ZendT_Lib::translate('ca_numeracao.nome'), 'String', '%?%');
     $this->_columns->add('numero', 'ca_numeracao', 'numero', $this->getModel()->getMapperName(), ZendT_Lib::translate('ca_numeracao.numero'), 'String', '%?%');
     $this->_columns->add('tamanho', 'ca_numeracao', 'tamanho', $this->getModel()->getMapperName(), ZendT_Lib::translate('ca_numeracao.tamanho'), 'String', '%?%');
     $this->_columns->add('id_empresa', 'ca_numeracao', 'id_empresa', $this->getModel()->getMapperName(), ZendT_Lib::translate('ca_numeracao.id_empresa'), null, '=');
     $this->_columns->add('nome_empresa', 'empresa', 'nome', $this->_getPessoa()->getModel()->getMapperName(), ZendT_Lib::translate('ca_numeracao.id_empresa.ca_pessoa.nome'), null, '?%');
 }
Ejemplo n.º 25
0
 /**
  * Carrega as colunas com suas configurações 
  */
 protected function _loadColumns()
 {
     $this->_columns = new ZendT_Db_Column_View('Cms_DataView_Status_MapperView', $this->_getSettingsDefault());
     $this->_columns->add('id', 'cms_status', 'id', $this->getModel()->getMapperName(), ZendT_Lib::translate('cms_status.id'), 'String', '%?%');
     $this->_columns->add('descricao', 'cms_status', 'descricao', $this->getModel()->getMapperName(), ZendT_Lib::translate('cms_status.descricao'), 'String', '%?%');
     $this->_columns->add('status', 'cms_status', 'status', $this->getModel()->getMapperName(), ZendT_Lib::translate('cms_status.status'), 'String', '=');
     $this->_columns->add('acao', 'cms_status', 'acao', $this->getModel()->getMapperName(), ZendT_Lib::translate('cms_status.acao'), 'String', '=');
     $this->_columns->add('id_categoria', 'cms_status', 'id_categoria', $this->getModel()->getMapperName(), ZendT_Lib::translate('cms_status.id_categoria'), null, '=');
     $this->_columns->add('descricao_categoria', 'categoria', 'descricao', $this->_getCategoria()->getModel()->getMapperName(), ZendT_Lib::translate('cms_status.id_categoria.cms_categoria.descricao'), null, '?%');
 }
Ejemplo n.º 26
0
 /**
  * Carrega as colunas com suas configurações 
  */
 protected function _loadColumns()
 {
     $this->_columns = new ZendT_Db_Column_View('Auth_DataView_ContaEmpresa_MapperView', $this->_getSettingsDefault());
     $this->_columns->add('id', 'at_papel_empresa', 'id', $this->getModel()->getMapperName(), ZendT_Lib::translate('at_papel_empresa.id'), 'String', '%?%');
     $this->_columns->add('id_papel', 'at_papel_empresa', 'id_papel', $this->getModel()->getMapperName(), ZendT_Lib::translate('at_papel_empresa.id_papel'), null, '=');
     $this->_columns->add('hierarquia_papel', 'papel', 'hierarquia', $this->_getConta()->getModel()->getMapperName(), ZendT_Lib::translate('at_papel_empresa.id_papel.at_papel.hierarquia'), null, '?%');
     $this->_columns->add('id_empresa', 'at_papel_empresa', 'id_empresa', $this->getModel()->getMapperName(), ZendT_Lib::translate('at_papel_empresa.id_empresa'), null, '=');
     $this->_columns->add('nome_empresa', 'empresa', 'nome', $this->_getPessoa()->getModel()->getMapperName(), ZendT_Lib::translate('at_papel_empresa.id_empresa.ca_pessoa.nome'), null, '?%');
     $this->_columns->add('status', 'at_papel_empresa', 'status', $this->getModel()->getMapperName(), ZendT_Lib::translate('at_papel_empresa.status'), 'String', '=');
     $this->_columns->add('padrao', 'at_papel_empresa', 'padrao', $this->getModel()->getMapperName(), ZendT_Lib::translate('at_papel_empresa.padrao'), 'String', '=');
 }
Ejemplo n.º 27
0
 /**
  * Carrega as colunas com suas configurações 
  */
 protected function _loadColumns()
 {
     $this->_columns = new ZendT_Db_Column_View('Vendas_DataView_FormaPagamento_MapperView', $this->_getSettingsDefault());
     $this->_columns->add('id', 'forma_pagamento', 'id', $this->getModel()->getMapperName(), ZendT_Lib::translate('forma_pagamento.id'), 'String', '%?%');
     $this->_columns->add('descricao', 'forma_pagamento', 'descricao', $this->getModel()->getMapperName(), ZendT_Lib::translate('forma_pagamento.descricao'), 'String', '%?%');
     $this->_columns->add('parcela', 'forma_pagamento', 'parcela', $this->getModel()->getMapperName(), ZendT_Lib::translate('forma_pagamento.parcela'), 'String', '=');
     $this->_columns->add('status', 'forma_pagamento', 'status', $this->getModel()->getMapperName(), ZendT_Lib::translate('forma_pagamento.status'), 'String', '=');
     $this->_columns->add('id_empresa', 'forma_pagamento', 'id_empresa', $this->getModel()->getMapperName(), ZendT_Lib::translate('forma_pagamento.id_empresa'), null, '=');
     $this->_columns->add('nome_empresa', 'empresa', 'nome', $this->_getPessoa()->getModel()->getMapperName(), ZendT_Lib::translate('cv_forma_pagto.id_empresa.ca_pessoa.nome'), null, '?%');
     $this->_columns->add('pago', 'forma_pagamento', 'pago', $this->getModel()->getMapperName(), ZendT_Lib::translate('forma_pagamento.pago'), 'String', '=');
 }
Ejemplo n.º 28
0
 /**
  * Carrega as colunas com suas configurações 
  */
 protected function _loadColumns()
 {
     $this->_columns = new ZendT_Db_Column_View('Log_Model_LogObjeto_MapperView', $this->_getSettingsDefault());
     $this->_columns->add('id', 'log_objeto', 'id', $this->getModel()->getMapperName(), ZendT_Lib::translate('log_objeto.id'));
     $this->_columns->add('nome', 'log_objeto', 'nome', $this->getModel()->getMapperName(), ZendT_Lib::translate('log_objeto.nome'));
     $this->_columns->add('descricao', 'log_objeto', 'descricao', $this->getModel()->getMapperName(), ZendT_Lib::translate('log_objeto.descricao'));
     $this->_columns->add('status', 'log_objeto', 'status', $this->getModel()->getMapperName(), ZendT_Lib::translate('log_objeto.status'));
     $this->_columns->add('id_log_tabela', 'log_objeto', 'id_log_tabela', $this->getModel()->getMapperName(), ZendT_Lib::translate('log_objeto.id_log_tabela'));
     $this->_columns->add('nome_log_tabela', 'log_tabela', 'nome', $this->_getLogTabela()->getModel()->getMapperName(), ZendT_Lib::translate('log_objeto.id_log_tabela.log_tabela.nome'));
     $this->_columns->add('tempo_vida', 'log_objeto', 'tempo_vida', $this->getModel()->getMapperName(), ZendT_Lib::translate('log_objeto.tempo_vida'));
 }
Ejemplo n.º 29
0
 /**
  * Carrega as colunas com suas configurações 
  */
 protected function _loadColumns()
 {
     $this->_columns = new ZendT_Db_Column_View('Profile_DataView_Job_MapperView', $this->_getSettingsDefault());
     $this->_columns->add('id', 'profile_job', 'id', $this->getModel()->getMapperName(), ZendT_Lib::translate('profile_job.id'), 'String', '%?%');
     $this->_columns->add('id_profile_object_view', 'profile_job', 'id_profile_object_view', $this->getModel()->getMapperName(), ZendT_Lib::translate('profile_job.id_profile_object_view'), null, '=');
     $this->_columns->add('descricao', 'profile_job', 'descricao', $this->getModel()->getMapperName(), ZendT_Lib::translate('profile_job.descricao'), 'String', '%?%');
     $this->_columns->add('dh_ini_exec', 'profile_job', 'dh_ini_exec', $this->getModel()->getMapperName(), ZendT_Lib::translate('profile_job.dh_ini_exec'), 'DateTime', '=');
     $this->_columns->add('dh_ult_exec', 'profile_job', 'dh_ult_exec', $this->getModel()->getMapperName(), ZendT_Lib::translate('profile_job.dh_ult_exec'), 'DateTime', '=');
     $this->_columns->add('tipo', 'profile_job', 'tipo', $this->getModel()->getMapperName(), ZendT_Lib::translate('profile_job.tipo'), 'String', '=');
     $this->_columns->add('frequencia', 'profile_job', 'frequencia', $this->getModel()->getMapperName(), ZendT_Lib::translate('profile_job.frequencia'), 'Numeric', '=');
     $this->_columns->add('dt_fim_exec', 'profile_job', 'dt_fim_exec', $this->getModel()->getMapperName(), ZendT_Lib::translate('profile_job.dt_fim_exec'), 'Date', '=');
 }
Ejemplo n.º 30
0
 /**
  * Carrega as colunas com suas configurações 
  */
 protected function _loadColumns()
 {
     $this->_columns = new ZendT_Db_Column_View('Auth_DataView_Aplicacao_MapperView', $this->_getSettingsDefault());
     $this->_columns->add('id', 'at_aplicacao', 'id', $this->getModel()->getMapperName(), ZendT_Lib::translate('at_aplicacao.id'), 'String', '%?%');
     $this->_columns->add('sigla', 'at_aplicacao', 'sigla', $this->getModel()->getMapperName(), ZendT_Lib::translate('at_aplicacao.sigla'), 'String', '%?%');
     $this->_columns->add('nome', 'at_aplicacao', 'nome', $this->getModel()->getMapperName(), ZendT_Lib::translate('at_aplicacao.nome'), 'String', '%?%');
     $this->_columns->add('status', 'at_aplicacao', 'status', $this->getModel()->getMapperName(), ZendT_Lib::translate('at_aplicacao.status'), 'String', '=');
     $this->_columns->add('observacao', 'at_aplicacao', 'observacao', $this->getModel()->getMapperName(), ZendT_Lib::translate('at_aplicacao.observacao'), 'String', '%?%');
     $this->_columns->add('icone', 'at_aplicacao', 'icone', $this->getModel()->getMapperName(), ZendT_Lib::translate('at_aplicacao.icone'), 'String', '%?%');
     $this->_columns->add('url', 'at_aplicacao', 'url', $this->getModel()->getMapperName(), ZendT_Lib::translate('at_aplicacao.url'), 'String', '%?%');
     $this->_columns->add('dh_inc', 'at_aplicacao', 'dh_inc', $this->getModel()->getMapperName(), ZendT_Lib::translate('at_aplicacao.dh_inc'), 'DateTime', '=');
 }