• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

PHP fs_extension类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

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



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


示例16: process

 protected function process()
 {
     /// Guardamos la extensión
     $fsext = new fs_extension(array('name' => 'chart.js', 'page_from' => __CLASS__, 'page_to' => NULL, 'type' => 'head', 'text' => '<script src="plugins/informes_y_charts/view/js/chartjs/Chart.min.js"></script>', 'params' => ''));
     if (!$fsext->save()) {
         $this->new_error_msg('Error al guardar la extensión.');
     }
     /// declaramos los objetos sólo para asegurarnos de que existen las tablas
     $albaran_cli = new albaran_cliente();
     $albaran_pro = new albaran_proveedor();
 }
开发者ID:BGCX067,项目名称:facturascripts-svn-to-git,代码行数:11,代码来源:informe_albaranes.php


示例17: share_extensions

 private function share_extensions()
 {
     $fsext = new fs_extension();
     $fsext->name = 'pcge_peru';
     $fsext->from = __CLASS__;
     $fsext->to = 'contabilidad_ejercicio';
     $fsext->type = 'fuente';
     $fsext->text = 'PCGE Perú';
     $fsext->params = 'plugins/peru/extras/peru.xml';
     $fsext->save();
 }
开发者ID:ramikat,项目名称:ERPSISFS,代码行数:11,代码来源:admin_peru.php


示例18: share_extensions

 private function share_extensions()
 {
     /// añadimos la extensión para ventas_artículos
     $fsext = new fs_extension();
     $fsext->name = 'btn_fabricantes';
     $fsext->from = __CLASS__;
     $fsext->to = 'ventas_articulos';
     $fsext->type = 'button';
     $fsext->text = '<span class="glyphicon glyphicon-folder-open" aria-hidden="true"></span><span class="hidden-xs"> &nbsp; Fabricantes</span>';
     $fsext->save();
 }
开发者ID:desalort,项目名称:FSAutoventas,代码行数:11,代码来源:ventas_fabricantes.php


示例19: process

 protected function process()
 {
     /// Guardamos las extensiones
     $extensiones = array(array('name' => 'docs.min.css', 'page_from' => __CLASS__, 'page_to' => __CLASS__, 'type' => 'head', 'text' => '<link href="plugins/dashboard/view/css/docs.min.css" rel="stylesheet" type="text/css" />', 'params' => ''), array('name' => 'carousel.css', 'page_from' => __CLASS__, 'page_to' => __CLASS__, 'type' => 'head', 'text' => '<link href="plugins/dashboard/view/css/carousel.css" rel="stylesheet" type="text/css" />', '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:BGCX067,项目名称:facturascripts-svn-to-git,代码行数:11,代码来源:dashboard.php


示例20: process

 protected function process()
 {
     /// Guardamos las extensiones
     $extensiones = array(array('name' => 'docs.min.css', 'page_from' => __CLASS__, 'page_to' => __CLASS__, 'type' => 'head', 'text' => '<link href="plugins/dashboard/view/css/docs.min.css" rel="stylesheet" type="text/css" />', 'params' => ''), array('name' => 'carousel.css', 'page_from' => __CLASS__, 'page_to' => __CLASS__, 'type' => 'head', 'text' => '<link href="plugins/dashboard/view/css/carousel.css" rel="stylesheet" type="text/css" />', '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'] . '.');
         }
     }
     // Cambiar este valor si no se va a utilizar nunca el plugin "Presupuestos y pedidos" en ventas
     $this->show_presupuestos_y_pedidos_ventas = TRUE;
     // Cambiar este valor si no se va a utilizar nunca el plugin "Presupuestos y pedidos" en compras
     $this->show_presupuestos_y_pedidos_compras = TRUE;
 }
开发者ID:ramikat,项目名称:ERPSISFS,代码行数:15,代码来源:dashboard.php



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


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
PHP fs_model类代码示例发布时间:2022-05-23
下一篇:
PHP fs_director类代码示例发布时间:2022-05-23
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap