protected static function updateHiddenValue($list, $name)
    {
        $sid = $list[$name];
        unset($list[$name]);

        preg_match("/" . self::$hiddenSidNamePattern . "/", $name, $match);
        $list[$match[1]] = $sid;

        return $list;
    }
protected static function updateHiddenValue($list, $name)
    {
        $sid = $list[$name];
        unset($list[$name]);

        preg_match("/" . self::$hiddenSidNamePattern . "/", $name, $match);
        $list[$match[1]] = $sid;

        return $list;
    }
protected static function updateHiddenValue ( $ list , $ name ) { $ sid = $ list [ $ name ] ; unset ( $ list [ $ name ] ) ; preg_match ( "/" . self :: $ hiddenSidNamePattern . "/" , $ name , $ match ) ; $ list [ $ match [ 1 ] ] = $ sid ; return $ list ; }
Update hidden value's name by removing leading _

@param $list
@param $name

@return mixed
Update hidden value s name by removing leading _