_enable_csrf = (config_item('csrf_protection') === TRUE); // Assign Security and Utf8 classes $this->security = $security; } public function fetch_from_array($array, $index = '', $xss_clean = FALSE) { return parent::_fetch_from_array($array, $index, $xss_clean); } public function __set($name, $value) { if ($name === 'ip_address') { $this->ip_address = $value; } } }