|  | 
 
 
 楼主|
发表于 2016-11-7 15:19:53
|
显示全部楼层 
| 复制代码/**
     * Executes the Validation routines
     *
     * Modified to work with HMVC -- Phil Sturgeon
     * Modified to work with callbacks in the calling model -- Jerel Unruh
     *
     * @access    private
     * @param    array
     * @param    array
     * @param    mixed
     * @param    integer
     * @return    mixed
     */
    protected function _execute($row, $rules, $postdata = NULL, $cycles = 0)
 其他一些函数只是自定义的验证规则和一些系统规则的重写,这个函数的执行造成了set_rules 第四个参数无效,这个函数的覆盖是为了适应HMVC的系统架构和错误输出,以及自定义回调函数的调用路径规则。大概是这样的,可能不准确
 | 
 |