<?php
defined('BASEPATH') OR exit('No direct script access allowed');

/*
| -------------------------------------------------------------------------
| Hooks
| -------------------------------------------------------------------------
| This file lets you define "hooks" to extend CI without hacking the core
| files.  Please see the user guide for info:
|
|	https://codeigniter.com/user_guide/general/hooks.html
|
*/
/*
$hook['post_controller_constructor'][] = array(
	'class'    => 'Dinero_model',
	'function' => 'printSaldo',
	'filename' => 'Dinero_model.php',
	'filepath' => 'models',
	'params'   => []
);
*/

$hook['post_controller_constructor'][] = array(
	'class'    => 'Venta_model',
	'function' => 'count_news',
	'filename' => 'Venta_model.php',
	'filepath' => 'models',
	'params'   => []
);

$hook['post_controller_constructor'][] = array(
	'class'    => 'Producto_model',
	'function' => 'diffs',
	'filename' => 'Producto_model.php',
	'filepath' => 'models',
	'params'   => []
);

$hook['post_controller_constructor'][] = array(
	'class'    => 'Producto_model',
	'function' => 'codigos_repetidos',
	'filename' => 'Producto_model.php',
	'filepath' => 'models',
	'params'   => []
);

$hook['post_controller_constructor'][] = array(
	'class'    => 'Caso_model',
	'function' => 'pendientes',
	'filename' => 'Caso_model.php',
	'filepath' => 'models',
	'params'   => []
);

$hook['post_controller_constructor'][] = array(
	'class'    => 'Tarea_model',
	'function' => 'pendientes',
	'filename' => 'Tarea_model.php',
	'filepath' => 'models',
	'params'   => []
);

$hook['post_controller_constructor'][] = array(
	'class'    => 'Anuncio_model',
	'function' => 'pendientes',
	'filename' => 'Anuncio_model.php',
	'filepath' => 'models',
	'params'   => []
);

$hook['post_controller_constructor'][] = array(
	'class'    => 'Almacen_model',
	'function' => 'count_errores',
	'filename' => 'Almacen_model.php',
	'filepath' => 'models',
	'params'   => []
);

$hook['post_controller_constructor'][] = array(
	'class'    => 'Marketplace_model',
	'function' => 'carga_menu',
	'filename' => 'Marketplace_model.php',
	'filepath' => 'models',
	'params'   => []
);

$hook['post_controller_constructor'][] = array(
	'class'    => 'Ayuda_model',
	'function' => 'carga_menu',
	'filename' => 'Ayuda_model.php',
	'filepath' => 'models',
	'params'   => []
);

$hook['post_controller_constructor'][] = array(
    'class'    => 'Notificacion_model',
    'function' => 'actualizar_notificaciones_sesion',
    'filename' => 'Notificacion_model.php',
    'filepath' => 'models',
    'params'   => []
);