Welcome Guest, Not a member yet? Register   Sign In
[Solved] Model Function Not Working With Array Post
#4

(This post was last modified: 05-24-2015, 05:51 AM by wolfgang1983.)

(05-23-2015, 10:33 PM)klassev Wrote: if ($this->form_validation->run($this) == FALSE)

$this - there is such a configuration?







PHP Code:
if ($this->form_validation->run() == FALSE


is not it supposed to be?

If you use HMVC you need it for MY_Form_Validation Other Wise Sometimes Callbacks do not work with HMVC


PHP Code:
<?php

class MY_Form_validation extends CI_Form_validation {

    function 
run($module ''$group '') {
        (
is_object($module)) AND $this->CI = &$module;
        return 
parent::run($group);
    }


There's only one rule - please don't tell anyone to go and read the manual.  Sometimes the manual just SUCKS!
Reply


Messages In This Thread
RE: Model Function Not WOrking - by klassev - 05-23-2015, 10:33 PM
RE: [Solved] Model Function Not Working With Array Post - by wolfgang1983 - 05-24-2015, 05:50 AM



Theme © iAndrew 2016 - Forum software by © MyBB