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


PHP require_model函数代码示例

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


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

示例1: remote_printer

/**
 * Vuelca en la salida estándar el buffer de tickets pendientes de imprimir.
 */
function remote_printer()
{
    if (isset($_REQUEST['terminal'])) {
        require_model('terminal_caja.php');
        $t0 = new terminal_caja();
        $terminal = $t0->get($_REQUEST['terminal']);
        if ($terminal) {
            echo $terminal->tickets;
            $terminal->tickets = '';
            $terminal->save();
        } else {
            echo 'ERROR: terminal no encontrado.';
        }
    }
}
开发者ID:pcrednet,项目名称:facturacion_base,代码行数:18,代码来源:functions.php

示例2: require_model

 * Copyright (C) 2015-2016  Carlos Garcia Gomez  neorazorx@gmail.com
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Lesser General Public License as
 * published by the Free Software Foundation, either version 3 of the
 * License, or (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Lesser General Public License for more details.
 * 
 * You should have received a copy of the GNU Lesser General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */
require_model('inme_fuente.php');
/**
 * Description of inme_noticia_fuente
 *
 * @author carlos
 */
class inme_noticia_fuente extends fs_model
{
    public $id;
    public $id_relacionada;
    public $url;
    public $titulo;
    public $texto;
    public $resumen;
    public $fecha;
    public $publicada;
开发者ID:NeoRazorX,项目名称:informame,代码行数:31,代码来源:inme_noticia_fuente.php

示例3: require_model

 * it under the terms of the GNU Affero General Public License as
 * published by the Free Software Foundation, either version 3 of the
 * License, or (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Affero General Public License for more details.
 * 
 * You should have received a copy of the GNU Affero General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 * @author Valentin
 */
//require_model('agente.php');
require_model('cliente.php');
require_model('maquinas.php');
//require_model('cuenta_banco_cliente.php');
//require_model('direccion_cliente.php');
//require_model('divisa.php');
//equire_model('forma_pago.php');
//require_model('grupo_clientes.php');
//require_model('pais.php');
//require_model('serie.php');
class listado_maquinas_cliente extends fs_controller
{
    //public $agente;
    public $allow_delete;
    public $cliente;
    // public $cuenta_banco;
    // public $grupo;
    //public $pais;
开发者ID:TinonDKV,项目名称:control_maquinas,代码行数:31,代码来源:listado_maquinas_cliente.php

示例4: require_model

 * it under the terms of the GNU Affero General Public License as
 * published by the Free Software Foundation, either version 3 of the
 * License, or (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Affero General Public License for more details.
 * 
 * You should have received a copy of the GNU Affero General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */
require_model('agente.php');
require_model('articulo.php');
require_model('proveedor.php');
require_model('tarifas_proveedores.php');
class tarifas_proveedor extends fs_controller
{
    public $agente;
    public $articulos;
    public $offset;
    public $proveedor;
    public $tarifas_all;
    public $tarifas_select;
    public $tarifas;
    public $allow_delete;
    public $articulo_s;
    public function __construct()
    {
        parent::__construct(__CLASS__, 'Tarifas de proveedor', 'compras', FALSE, FALSE);
    }
开发者ID:shawe,项目名称:tarifas_proveedor,代码行数:31,代码来源:tarifas_proveedor.php

示例5: require_model

 * Copyright (C) 2014-2016  Carlos Garcia Gomez  neorazorx@gmail.com
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Affero General Public License as
 * published by the Free Software Foundation, either version 3 of the
 * License, or (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Affero General Public License for more details.
 * 
 * You should have received a copy of the GNU Affero General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */
require_model('agente.php');
class admin_agentes extends fs_controller
{
    public $agente;
    public function __construct()
    {
        parent::__construct(__CLASS__, 'Empleados', 'admin', TRUE, TRUE);
    }
    protected function private_core()
    {
        $this->agente = new agente();
        if (isset($_POST['sdnicif'])) {
            $age0 = new agente();
            $age0->codagente = $age0->get_new_codigo();
            $age0->nombre = $_POST['snombre'];
            $age0->apellidos = $_POST['sapellidos'];
开发者ID:desalort,项目名称:FSAutoventas,代码行数:31,代码来源:admin_agentes.php

示例6: require_model

 * License, or (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Affero General Public License for more details.
 * 
 * You should have received a copy of the GNU Affero General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 * 
 */
require_model('proveedor_sms.php');
require_model('cliente.php');
require_model('servicio_cliente.php');
require_model('pedido_cliente.php');
require_model('detalle_servicio.php');
/**
 * Description of enviar_sms
 *
 * @author luismi
 */
class enviar_sms extends fs_controller
{
    public $cliente;
    public $documento;
    public $documento_url;
    public $id;
    public $mensaje;
    public $provsms;
    public $telefono;
    public function __construct()
开发者ID:pcrednet,项目名称:sms,代码行数:31,代码来源:enviar_sms.php

示例7: require_model

 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Affero General Public License for more details.
 * 
 * You should have received a copy of the GNU Affero General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */
require_once 'plugins/facturacion_base/extras/fs_pdf.php';
require_once 'extras/phpmailer/class.phpmailer.php';
require_once 'extras/phpmailer/class.smtp.php';
require_model('cliente.php');
require_model('cuenta_banco.php');
require_model('cuenta_banco_cliente.php');
require_model('forma_pago.php');
/**
 * Esta clase agrupa los procedimientos de imprimir/enviar albaranes y facturas.
 */
class ventas_imprimir extends fs_controller
{
    public $albaran;
    public $cliente;
    public $factura;
    public $impresion;
    public $impuesto;
    public function __construct()
    {
        parent::__construct(__CLASS__, 'imprimir', 'ventas', FALSE, FALSE);
    }
    protected function process()
开发者ID:ramikat,项目名称:ERPSISFS,代码行数:31,代码来源:ventas_imprimir.php

示例8: require_model

 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Affero General Public License for more details.
 *
 * You should have received a copy of the GNU Affero General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */
require_model('almacen.php');
require_model('articulo.php');
require_model('cliente.php');
require_model('dircliente.php');
require_model('distribucion_clientes.php');
require_model('distribucion_rutas.php');
require_model('distribucion_segmentos.php');
require_model('cliente_ruta.php');
require_model('unidadmedida.php');
require_model('articulo_unidadmedida.php');
/**
 * Description of distribucion_venta
 *
 * @author Joe Nilson <joenilson at gmail.com>
 */
class distribucion_venta extends fs_controller
{
    public $almacen;
    public $codalmacen;
    public $rutas_almacen;
    public $total_rutas_almacen;
    public $distribucion_clientes;
    public $distribucion_rutas;
    public $distribucion_segmentos;
    public $fecha_pedido;
开发者ID:joenilson,项目名称:distribucion,代码行数:31,代码来源:distribucion_venta.php

示例9: require_model

 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Affero General Public License for more details.
 * 
 * You should have received a copy of the GNU Affero General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */
require_model('articulo.php');
require_model('asiento.php');
require_model('caja.php');
require_model('divisa.php');
require_model('ejercicio.php');
require_model('impuesto.php');
require_model('subcuenta.php');
require_model('factura_proveedor.php');
require_model('pago_por_caja.php');
require_model('partida.php');
require_once 'plugins/facturacion_base/extras/libromayor.php';
class contabilidad_asiento extends fs_controller
{
    public $allow_delete;
    /**
     * @var asiento
     */
    public $asiento;
    public $divisa;
    public $ejercicio;
    public $impuesto;
    public $lineas;
    public $resultados;
    public $subcuenta;
    public $resultados1;
开发者ID:CruzeroGroup2,项目名称:facturacion_base,代码行数:31,代码来源:contabilidad_asiento.php

示例10: require_model

 * Copyright (C) 2015-2016  Carlos Garcia Gomez  neorazorx@gmail.com
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Lesser General Public License as
 * published by the Free Software Foundation, either version 3 of the
 * License, or (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Lesser General Public License for more details.
 * 
 * You should have received a copy of the GNU Lesser General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */
require_model('inme_tema.php');
/**
 * Description of informame_temas
 *
 * @author carlos
 */
class inme_temas extends fs_controller
{
    public $offset;
    public $orden;
    public $num_resultados;
    public $resultados;
    public $tema;
    public function __construct()
    {
        parent::__construct(__CLASS__, 'Temas', 'informame');
开发者ID:NeoRazorX,项目名称:informame,代码行数:31,代码来源:inme_temas.php

示例11: require_model

 * License, or (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Affero General Public License for more details.
 * 
 * You should have received a copy of the GNU Affero General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */
require_once 'plugins/facturacion_base/extras/fs_pdf.php';
require_once 'extras/phpmailer/class.phpmailer.php';
require_once 'extras/phpmailer/class.smtp.php';
require_model('cliente.php');
require_model('impuesto.php');
require_model('servicio_cliente.php');
/**
 * Esta clase agrupa los procedimientos de imprimir/enviar presupuestos y servicios.
 */
class imprimir_servicio extends fs_controller
{
    public $cliente;
    public $impresion;
    public $impuesto;
    public $servicio;
    public $st;
    public function __construct()
    {
        parent::__construct(__CLASS__, 'imprimir', 'ventas', FALSE, FALSE);
    }
    protected function private_core()
开发者ID:Apvilchez,项目名称:servicios,代码行数:31,代码来源:imprimir_servicio.php

示例12: require_model

 *  * published by the Free Software Foundation, either version 3 of the
 *  * License, or (at your option) any later version.
 *  *
 *  * This program is distributed in the hope that it will be useful,
 *  * but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See th * e
 *  * GNU Affero General Public License for more details.
 *  * 
 *  * You should have received a copy of the GNU Affero General Public License
 *  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */
require_model('almacen.php');
require_model('pais.php');
require_model('agencia_transporte.php');
require_model('distribucion_tipounidad.php');
require_model('distribucion_unidades.php');
/**
 * Description of distribucion_unidades
 *
 * @author Joe Nilson <joenilson@gmail.com>
 */
class distrib_unidades extends fs_controller
{
    public $almacen;
    public $pais;
    public $agencia_transporte;
    public $distribucion_tipounidad;
    public $distribucion_unidades;
    public $listado;
    public function __construct()
    {
开发者ID:joenilson,项目名称:distribucion,代码行数:31,代码来源:distrib_unidades.php

示例13: require_model

 * it under the terms of the GNU Affero General Public License as
 * published by the Free Software Foundation, either version 3 of the
 * License, or (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Affero General Public License for more details.
 * 
 * You should have received a copy of the GNU Affero General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */
require_model('cuenta.php');
require_model('direccion_proveedor.php');
require_model('subcuenta.php');
require_model('subcuenta_proveedor.php');
/**
 * Un proveedor. Puede estar relacionado con varias direcciones o subcuentas.
 */
class proveedor extends fs_model
{
    /**
     * Clave primaria. Varchar (6).
     * @var type 
     */
    public $codproveedor;
    /**
     * Nombre por el que se conoce al proveedor, puede ser el nombre oficial o no.
     * @var type 
     */
    public $nombre;
开发者ID:CruzeroGroup2,项目名称:facturacion_base,代码行数:31,代码来源:proveedor.php

示例14: require_model

 * it under the terms of the GNU Affero General Public License as
 * published by the Free Software Foundation, either version 3 of the
 * License, or (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Affero General Public License for more details.
 * 
 * You should have received a copy of the GNU Affero General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */
require_model('agente.php');
require_model('articulo.php');
require_model('cliente.php');
require_model('factura_cliente.php');
class ventas_facturas extends fs_controller
{
    public $agente;
    public $articulo;
    public $buscar_lineas;
    public $cliente;
    public $codagente;
    public $codserie;
    public $desde;
    public $factura;
    public $hasta;
    public $huecos;
    public $lineas;
    public $mostrar;
    public $num_resultados;
开发者ID:vamoros,项目名称:facturacion_base,代码行数:31,代码来源:ventas_facturas.php

示例15: require_model

 * it under the terms of the GNU Affero General Public License as
 * published by the Free Software Foundation, either version 3 of the
 * License, or (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Affero General Public License for more details.
 * 
 * You should have received a copy of the GNU Affero General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */
require_model('ejercicio.php');
require_once 'plugins/facturacion_base/extras/inventarios_balances.php';
require_model('subcuenta.php');
require_model('recibo_proveedor.php');
class informe_contabilidad extends fs_controller
{
    public $ejercicio;
    public function __construct()
    {
        parent::__construct(__CLASS__, 'Contabilidad', 'informes', FALSE, TRUE);
    }
    protected function private_core()
    {
        $this->subcuenta = new subcuenta();
        $this->ejercicio = new ejercicio();
        $this->ppage = $this->page->get('libro_mayor_generar');
        if (isset($_REQUEST['buscar_subcuenta'])) {
            $this->buscar_subcuenta();
        }
开发者ID:CruzeroGroup2,项目名称:facturacion_base,代码行数:31,代码来源:informe_contabilidad.php


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