public function _enclose($fn = null, $preventDefault = false)
    {
        // builds structure $('obj').$fn(function(){ $('obj').XX; });
        if ($fn === null) {
            $fn = true;
        }
        $this->enclose = $fn;
        $this->preventDefault = $preventDefault;

        return $this;
    }
public function _enclose($fn = null, $preventDefault = false)
    {
        // builds structure $('obj').$fn(function(){ $('obj').XX; });
        if ($fn === null) {
            $fn = true;
        }
        $this->enclose = $fn;
        $this->preventDefault = $preventDefault;

        return $this;
    }
public function _enclose ( $ fn = null , $ preventDefault = false ) { // builds structure $('obj').$fn(function(){ $('obj').XX; }); if ( $ fn === null ) { $ fn = true ; } $ this -> enclose = $ fn ; $ this -> preventDefault = $ preventDefault ; return $ this ; }
Chain will not be called but will return callable function instead.

@param jQuery_Chain $fn
@param bool $preventDefault

@return $this
Chain will not be called but will return callable function instead .