src/POData/Common/Version.php
/**
     * If necessary raises version to the version given 
     * 
     * @param int $major The major component of the new version
     * @param int $minor The minor component of the new version
     * 
     * @return boolean true if the version was raised, false otherwise
     */
If necessary raises version to the version given

@param int $major The major component of the new version
@param int $minor The minor component of the new version

@return boolean true if the version was raised, false otherwise
If necessary raises version to the version given @param int $major The major component of the new version @param int $minor The minor component of the new version @return boolean true if the version was raised false otherwise
public function raiseVersion($major, $minor) 
    {
        if ($major > $this->major) {
            $this->major = $major;
            $this->minor = $minor;
	        return true;
        } else if ($major == $this->major && $minor > $this->minor) {
            $this->minor = $minor;
	        return true;
        }
	    return false;
    }
public function raiseVersion ( $ major , $ minor ) { if ( $ major > $ this -> major ) { $ this -> major = $ major ; $ this -> minor = $ minor ; return true ; } else if ( $ major == $ this -> major && $ minor > $ this -> minor ) { $ this -> minor = $ minor ; return true ; } return false ; }
If necessary raises version to the version given
If necessary raises version to the version given