public function CssJsFileUrl ($path = '') {
		$result = '';
		if (self::$assetsUrlCompletion) {
			// for \MvcCore\Application::GetInstance()->GetCompiled() equal to: 'PHAR', 'SFU', 'PHP_STRICT_PACKAGE', 'PHP_PRESERVE_PACKAGE', 'PHP_PRESERVE_HDD'
			$result = $this->view->AssetUrl($path);
		} else {
			// for \MvcCore\Application::GetInstance()->GetCompiled() equal to: '' (development), 'PHP_STRICT_HDD'
			$result = self::$basePath . $path;
		}
		return $result;
	}
public function CssJsFileUrl ($path = '') {
		$result = '';
		if (self::$assetsUrlCompletion) {
			// for \MvcCore\Application::GetInstance()->GetCompiled() equal to: 'PHAR', 'SFU', 'PHP_STRICT_PACKAGE', 'PHP_PRESERVE_PACKAGE', 'PHP_PRESERVE_HDD'
			$result = $this->view->AssetUrl($path);
		} else {
			// for \MvcCore\Application::GetInstance()->GetCompiled() equal to: '' (development), 'PHP_STRICT_HDD'
			$result = self::$basePath . $path;
		}
		return $result;
	}
public function CssJsFileUrl ( $ path = '' ) { $ result = '' ; if ( self :: $ assetsUrlCompletion ) { // for \MvcCore\Application::GetInstance()->GetCompiled() equal to: 'PHAR', 'SFU', 'PHP_STRICT_PACKAGE', 'PHP_PRESERVE_PACKAGE', 'PHP_PRESERVE_HDD' $ result = $ this -> view -> AssetUrl ( $ path ) ; } else { // for \MvcCore\Application::GetInstance()->GetCompiled() equal to: '' (development), 'PHP_STRICT_HDD' $ result = self :: $ basePath . $ path ; } return $ result ; }
Completes CSS or JS file url.

If application compile mode is in development state or packed in strict HDD mode,
there is generated standard URL with \MvcCore\Request->GetBasePath() (current app location)
plus called $path param. Because those application compile modes presume by default,
that those files are placed beside php code on hard drive.

If application compile mode is in php preserve package, php preserve HDD,
php strict package or in single file URL mode, there is generated URL by \MvcCore
in form: 'index.php?controller=controller&action=asset&path=...'.

Feel free to change this css/js file URL completion to any custom way.
There could be typically only: "$result = self::$basePath . $path;",
but if you want to complete URL for assets on hard drive or
to any other CDN place, use \MvcCore\Ext\Views\Helpers\Assets::SetBasePath($cdnBasePath);

@param  string $path relative path from application document root with slash in begin
@return string
Completes CSS or JS file url .