/** * get version * * @static * @return string */ public static function getVersion() { if (null === self::$_version) { self::$_version = trim(`hg parent | grep tag: | awk '{print(\$2)}'`); } return self::$_version; }
/** * get stylesheet build files * * @throws Core_Exception * @return string */ public function getStylesheetBuild() { if (null === $this->_stylesheetBuild) { $this->_stylesheetBuild = rtrim($this->getBuildDir(), '/') . '/' . 'build-' . Core_Version::getVersion() . '.css'; } return $this->_stylesheetBuild; }
/** * get version * * @return string */ public function version() { return Core_Version::getVersion(); }