src/xPDO/xPDO.php
public function getModelVersion($className) {
        $version = '1.0';
        $className= $this->loadClass($className);
        if ($className && isset($this->map[$className]['version'])) {
            $version= $this->map[$className]['version'];
        }
        return $version;
    }
public function getModelVersion($className) {
        $version = '1.0';
        $className= $this->loadClass($className);
        if ($className && isset($this->map[$className]['version'])) {
            $version= $this->map[$className]['version'];
        }
        return $version;
    }
public function getModelVersion ( $ className ) { $ version = '1.0' ; $ className = $ this -> loadClass ( $ className ) ; if ( $ className && isset ( $ this -> map [ $ className ] [ 'version' ] ) ) { $ version = $ this -> map [ $ className ] [ 'version' ] ; } return $ version ; }
Gets the version string of the schema the specified class was generated from.

@param string $className The name of the class to get the model version from.
@return string The version string for the schema model the class was generated from.
Gets the version string of the schema the specified class was generated from .