Welcome Guest, Not a member yet? Register   Sign In
CI_Validation has a deprecated constructor
#4

well the system/libraries/validation.php is most definitely a codeigniter file but it might be a remnant of an old CI version.

find the first few lines down below.

/**
* CodeIgniter
*
* An open source application development framework for PHP 4.3.2 or newer
*
* @package CodeIgniter
* @author ExpressionEngine Dev Team
* @copyright Copyright © 2008 - 2009, EllisLab, Inc.
* @license http://codeigniter.com/user_guide/license.html
* @link http://codeigniter.com
* @since Version 1.0
* @filesource
*/

// ------------------------------------------------------------------------

/**
* Validation Class
*
* @package CodeIgniter
* @subpackage Libraries
* @category Validation
* @author ExpressionEngine Dev Team
* @link http://codeigniter.com/user_guide/librar...ation.html
*/
class CI_Validation {

var $CI;
var $error_string = '';
var $_error_array = array();
var $_rules = array();
var $_fields = array();
var $_error_messages = array();
var $_current_field = '';
var $_safe_form_data = FALSE;
var $_error_prefix = '<p>';
var $_error_suffix = '</p>';



/**
* Constructor
Reply


Messages In This Thread
RE: CI_Validation has a deprecated constructor - by cperrot - 03-19-2017, 01:12 AM



Theme © iAndrew 2016 - Forum software by © MyBB