src/yimaJquery/View/Helper/jQuery.php
public function enable($ver = null)
    {
        if ($ver == null) {
            $ver = ($this->getVersion())
                ?$this->getVersion()
                :$this->defVersion;
        }

        if ($this->isEnabled() && $this->getVersion() == $ver) {
            return $this;
        }

        $ver = (string) $ver;
        $this->enabled = $ver;

        return $this;
    }
public function enable($ver = null)
    {
        if ($ver == null) {
            $ver = ($this->getVersion())
                ?$this->getVersion()
                :$this->defVersion;
        }

        if ($this->isEnabled() && $this->getVersion() == $ver) {
            return $this;
        }

        $ver = (string) $ver;
        $this->enabled = $ver;

        return $this;
    }
public function enable ( $ ver = null ) { if ( $ ver == null ) { $ ver = ( $ this -> getVersion ( ) ) ? $ this -> getVersion ( ) : $ this -> defVersion ; } if ( $ this -> isEnabled ( ) && $ this -> getVersion ( ) == $ ver ) { return $ this ; } $ ver = ( string ) $ ver ; $ this -> enabled = $ ver ; return $ this ; }
Enable jQ by minimum version required

@param null|string $ver minimum version of jQ required

@return $this
@throws \Exception
Enable jQ by minimum version required