public function getAssetsUrl()
    {
        if (isset($this->_assetsUrl)) {
            return $this->_assetsUrl;
        } else {
            $forceCopyAssets = $this->getApi()->forceCopyAssets;
            $path = Yii::getPathOfAlias('yiiwheels');
            $assetsUrl = Yii::app()->assetManager->publish(
                $path . DIRECTORY_SEPARATOR . 'assets',
                false,
                -1,
                $forceCopyAssets
            );

            return $this->_assetsUrl = $assetsUrl;
        }
    }
public function getAssetsUrl()
    {
        if (isset($this->_assetsUrl)) {
            return $this->_assetsUrl;
        } else {
            $forceCopyAssets = $this->getApi()->forceCopyAssets;
            $path = Yii::getPathOfAlias('yiiwheels');
            $assetsUrl = Yii::app()->assetManager->publish(
                $path . DIRECTORY_SEPARATOR . 'assets',
                false,
                -1,
                $forceCopyAssets
            );

            return $this->_assetsUrl = $assetsUrl;
        }
    }
public function getAssetsUrl ( ) { if ( isset ( $ this -> _assetsUrl ) ) { return $ this -> _assetsUrl ; } else { $ forceCopyAssets = $ this -> getApi ( ) -> forceCopyAssets ; $ path = Yii :: getPathOfAlias ( 'yiiwheels' ) ; $ assetsUrl = Yii :: app ( ) -> assetManager -> publish ( $ path . DIRECTORY_SEPARATOR . 'assets' , false , - 1 , $ forceCopyAssets ) ; return $ this -> _assetsUrl = $ assetsUrl ; } }
Returns the assets URL.
Assets folder has few orphan and very useful utility libraries.
@return string
Returns the assets URL . Assets folder has few orphan and very useful utility libraries .