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


PHP fs_extension类代码示例

本文整理汇总了PHP中fs_extension的典型用法代码示例。如果您正苦于以下问题:PHP fs_extension类的具体用法?PHP fs_extension怎么用?PHP fs_extension使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


在下文中一共展示了fs_extension类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: share_extensions

 private function share_extensions()
 {
     if ($this->page->get('cuentas_articulo')) {
         $fsext = new fs_extension(array('name' => 'cuentas_articulo', 'page_from' => 'cuentas_articulo', 'page_to' => 'ventas_articulo', 'type' => 'tab', 'text' => 'Cuentas', 'params' => '&action=edit'));
         $fsext->save();
     }
 }
开发者ID:CruzeroGroup2,项目名称:facturacion_base,代码行数:7,代码来源:cuentas_articulo.php

示例2: share_extension

 private function share_extension()
 {
     $extensiones = array(array('name' => 'documentos_facturascli', 'page_from' => __CLASS__, 'page_to' => 'ventas_factura', 'type' => 'tab', 'text' => '<span class="glyphicon glyphicon-file" aria-hidden="true" title="Documentos"></span>', 'params' => '&folder=facturascli'), array('name' => 'documentos_facturasprov', 'page_from' => __CLASS__, 'page_to' => 'compras_factura', 'type' => 'tab', 'text' => '<span class="glyphicon glyphicon-file" aria-hidden="true" title="Documentos"></span>', 'params' => '&folder=facturasprov'));
     foreach ($extensiones as $ext) {
         $fsext = new fs_extension($ext);
         $fsext->save();
     }
 }
开发者ID:desalort,项目名称:FSAutoventas,代码行数:8,代码来源:documentos_facturas.php

示例3: shared_extensions

 public function shared_extensions()
 {
     $extensiones = array(array('name' => 'articulos_unidadesmedida', 'page_from' => __CLASS__, 'page_to' => 'ventas_articulos', 'type' => 'button', 'text' => '<span class="fa fa-cubes"></span>&nbsp; Unidades de Medida', 'params' => ''));
     foreach ($extensiones as $ext) {
         $fsext0 = new fs_extension($ext);
         if (!$fsext0->save()) {
             $this->new_error_msg('Imposible guardar los datos de la extensión ' . $ext['name'] . '.');
         }
     }
 }
开发者ID:joenilson,项目名称:distribucion,代码行数:10,代码来源:unidadesmedida.php

示例4: share_extension

 private function share_extension()
 {
     $fsext = new fs_extension();
     $fsext->name = 'opciones_fac_detallada';
     $fsext->from = __CLASS__;
     $fsext->to = 'admin_empresa';
     $fsext->type = 'button';
     $fsext->text = '<span class="glyphicon glyphicon-print" aria-hidden="true"></span> &nbsp; Factura Detallada';
     $fsext->save();
 }
开发者ID:eltictacdicta,项目名称:factura_detallada,代码行数:10,代码来源:opciones_factura_detallada.php

示例5: share_extensions

 private function share_extensions()
 {
     $extensiones = array(array('name' => 'imprimir_pedido', 'page_from' => __CLASS__, 'page_to' => 'ventas_pedido', 'type' => 'pdf', 'text' => ucfirst(FS_PEDIDO) . ' simple', 'params' => '&pedido=TRUE'), array('name' => 'email_pedido', 'page_from' => __CLASS__, 'page_to' => 'ventas_pedido', 'type' => 'email', 'text' => ucfirst(FS_PEDIDO) . ' simple', 'params' => '&pedido=TRUE'), array('name' => 'imprimir_presupuesto', 'page_from' => __CLASS__, 'page_to' => 'ventas_presupuesto', 'type' => 'pdf', 'text' => ucfirst(FS_PRESUPUESTO) . ' simple', 'params' => '&presupuesto=TRUE'), array('name' => 'email_presupuesto', 'page_from' => __CLASS__, 'page_to' => 'ventas_presupuesto', 'type' => 'email', 'text' => ucfirst(FS_PRESUPUESTO) . ' simple', 'params' => '&presupuesto=TRUE'));
     foreach ($extensiones as $ext) {
         $fsext = new fs_extension($ext);
         if (!$fsext->save()) {
             $this->new_error_msg('Error al guardar la extensión ' . $ext['name']);
         }
     }
 }
开发者ID:BGCX067,项目名称:facturascripts-svn-to-git,代码行数:10,代码来源:imprimir_presu_pedi.php

示例6: share_extension

 private function share_extension()
 {
     $fsext = new fs_extension();
     $fsext->name = 'imprimir_ticket';
     $fsext->from = __CLASS__;
     $fsext->to = 'ventas_servicio';
     $fsext->type = 'pdf';
     $fsext->text = 'Ticket ' . FS_SERVICIO;
     $fsext->save();
 }
开发者ID:pcrednet,项目名称:servicios,代码行数:10,代码来源:imprimir_servicio_ticket.php

示例7: share_extension

 private function share_extension()
 {
     $fsext = new fs_extension();
     $fsext->name = __CLASS__;
     $fsext->from = __CLASS__;
     $fsext->to = 'ventas_pedidos';
     $fsext->type = 'button';
     $fsext->text = '<span class="glyphicon glyphicon-duplicate"></span>' . '<span class="hidden-xs">&nbsp; Agrupar</span>';
     $fsext->save();
 }
开发者ID:desalort,项目名称:FSAutoventas,代码行数:10,代码来源:ventas_agrupar_pedidos.php

示例8: share_extensions

 public function share_extensions()
 {
     $fsxet = new fs_extension();
     $fsxet->name = 'tab_ventas_cliente_articulos';
     $fsxet->from = __CLASS__;
     $fsxet->to = 'ventas_cliente';
     $fsxet->type = 'tab';
     $fsxet->text = '<span class="glyphicon glyphicon-list" aria-hidden="true"></span> &nbsp; Artículos';
     $fsxet->save();
 }
开发者ID:pcrednet,项目名称:facturacion_base,代码行数:10,代码来源:ventas_cliente_articulos.php

示例9: share_extensions

 private function share_extensions()
 {
     $extensiones = array(array('name' => 'imprimir_servicio', 'page_from' => __CLASS__, 'page_to' => 'ventas_servicio', 'type' => 'pdf', 'text' => ucfirst(FS_SERVICIO) . ' simple', 'params' => ''), array('name' => 'email_servicio', 'page_from' => __CLASS__, 'page_to' => 'ventas_servicio', 'type' => 'email', 'text' => ucfirst(FS_SERVICIO) . ' simple', 'params' => ''));
     foreach ($extensiones as $ext) {
         $fsext = new fs_extension($ext);
         if (!$fsext->save()) {
             $this->new_error_msg('Error al guardar la extensión ' . $ext['name']);
         }
     }
 }
开发者ID:Apvilchez,项目名称:servicios,代码行数:10,代码来源:imprimir_servicio.php

示例10: share_extensions

 private function share_extensions()
 {
     $extensiones = array(array('name' => 'imprimir_servicio_sin_detalles_horizontal', 'page_from' => __CLASS__, 'page_to' => 'ventas_servicio', 'type' => 'pdf', 'text' => '2 ' . ucfirst(FS_SERVICIO) . ' sin líneas en 1 página', 'params' => ''));
     foreach ($extensiones as $ext) {
         $fsext = new fs_extension($ext);
         if (!$fsext->save()) {
             $this->new_error_msg('Error al guardar la extensión ' . $ext['name']);
         }
     }
 }
开发者ID:vamoros,项目名称:servicios,代码行数:10,代码来源:imprimir_rapido_horizontal.php

示例11: share_extensions

 private function share_extensions()
 {
     $extensiones = array(array('name' => 'imprimir_albaran', 'page_from' => __CLASS__, 'page_to' => 'ventas_albaran', 'type' => 'pdf', 'text' => ucfirst(FS_ALBARAN) . ' simple', 'params' => '&albaran=TRUE'), array('name' => 'email_albaran', 'page_from' => __CLASS__, 'page_to' => 'ventas_albaran', 'type' => 'email', 'text' => ucfirst(FS_ALBARAN) . ' simple', 'params' => '&albaran=TRUE'), array('name' => 'imprimir_factura', 'page_from' => __CLASS__, 'page_to' => 'ventas_factura', 'type' => 'pdf', 'text' => ucfirst(FS_FACTURA) . ' simple', 'params' => '&factura=TRUE&tipo=simple'), array('name' => 'imprimir_factura_firma', 'page_from' => __CLASS__, 'page_to' => 'ventas_factura', 'type' => 'pdf', 'text' => ucfirst(FS_FACTURA) . ' con firma', 'params' => '&factura=TRUE&tipo=firma'), array('name' => 'imprimir_factura_carta', 'page_from' => __CLASS__, 'page_to' => 'ventas_factura', 'type' => 'pdf', 'text' => 'Modelo carta', 'params' => '&factura=TRUE&tipo=carta'), array('name' => 'email_factura', 'page_from' => __CLASS__, 'page_to' => 'ventas_factura', 'type' => 'email', 'text' => ucfirst(FS_FACTURA) . ' simple', 'params' => '&factura=TRUE&tipo=simple'));
     foreach ($extensiones as $ext) {
         $fsext = new fs_extension($ext);
         if (!$fsext->save()) {
             $this->new_error_msg('Error al guardar la extensión ' . $ext['name']);
         }
     }
 }
开发者ID:ramikat,项目名称:ERPSISFS,代码行数:10,代码来源:ventas_imprimir.php

示例12: share_extensions

 private function share_extensions()
 {
     $extensiones = array(array('name' => 'imprimir_albaran_proveedor', 'page_from' => __CLASS__, 'page_to' => 'compras_albaran', 'type' => 'pdf', 'text' => ucfirst(FS_ALBARAN) . ' simple', 'params' => '&albaran=TRUE'), array('name' => 'email_albaran_proveedor', 'page_from' => __CLASS__, 'page_to' => 'compras_albaran', 'type' => 'email', 'text' => ucfirst(FS_ALBARAN) . ' simple', 'params' => '&albaran=TRUE'), array('name' => 'imprimir_factura_proveedor', 'page_from' => __CLASS__, 'page_to' => 'compras_factura', 'type' => 'pdf', 'text' => 'Factura simple', 'params' => '&factura=TRUE'));
     foreach ($extensiones as $ext) {
         $fsext = new fs_extension($ext);
         if (!$fsext->save()) {
             $this->new_error_msg('Error al guardar la extensión ' . $ext['name']);
         }
     }
 }
开发者ID:ramikat,项目名称:ERPSISFS,代码行数:10,代码来源:compras_imprimir.php

示例13: share_extension

 private function share_extension()
 {
     $fsext = new fs_extension();
     $fsext->name = 'opciones_clientes';
     $fsext->from = __CLASS__;
     $fsext->to = 'ventas_clientes';
     $fsext->type = 'button';
     $fsext->text = '<span class="glyphicon glyphicon-wrench" aria-hidden="true" title="Opciones para nuevos clientes"></span>' . '<span class="hidden-xs">&nbsp; Opciones</span>';
     $fsext->save();
 }
开发者ID:joenilson,项目名称:republica_dominicana,代码行数:10,代码来源:ventas_clientes_opciones.php

示例14: share_extensions

 private function share_extensions()
 {
     $fsext = new fs_extension();
     $fsext->name = 'btn_atributos';
     $fsext->from = __CLASS__;
     $fsext->to = 'ventas_articulos';
     $fsext->type = 'button';
     $fsext->text = '<span class="glyphicon glyphicon-list-alt" aria-hidden="true"></span>' . '<span class="hidden-xs"> &nbsp; Atributos</span>';
     $fsext->save();
 }
开发者ID:vicenteserra,项目名称:facturacion_base,代码行数:10,代码来源:ventas_atributos.php

示例15: share_extensions

 private function share_extensions()
 {
     $extensiones = array(array('name' => 'imprimir_recibo', 'page_from' => __CLASS__, 'page_to' => 'ventas_recibo', 'type' => 'pdf', 'text' => 'Recibo simple', 'params' => ''));
     foreach ($extensiones as $ext) {
         $fsext = new fs_extension($ext);
         if (!$fsext->save()) {
             $this->new_error_msg('Error al guardar la extensión ' . $ext['name']);
         }
     }
 }
开发者ID:desalort,项目名称:FSAutoventas,代码行数:10,代码来源:imprimir_recibo.php


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