當前位置: 首頁>>代碼示例>>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;未經允許,請勿轉載。