private function getResolvedBase($target){

        $base = null;
        $array = $this->get($target);

        if(is_string($array['base'])){
            $assetService = $this->getServiceManager()->get(AssetService::SERVICE_ID);
            $base = $assetService->getAsset($array['base']);

        } else if(is_array($array['base'])){

            $base = array(
                'css' => $this->resolveStylesheetUrl($array['base']['css']),
                'templates' => array()
            );

            foreach($array['base']['templates'] as $id => $path){
                $base['templates'][$id] = $this->resolveTemplatePath($path);
            }

        } else {
            throw new common_Exception('invalid type for theme base');
        }

        return $base;
    }
private function getResolvedBase($target){

        $base = null;
        $array = $this->get($target);

        if(is_string($array['base'])){
            $assetService = $this->getServiceManager()->get(AssetService::SERVICE_ID);
            $base = $assetService->getAsset($array['base']);

        } else if(is_array($array['base'])){

            $base = array(
                'css' => $this->resolveStylesheetUrl($array['base']['css']),
                'templates' => array()
            );

            foreach($array['base']['templates'] as $id => $path){
                $base['templates'][$id] = $this->resolveTemplatePath($path);
            }

        } else {
            throw new common_Exception('invalid type for theme base');
        }

        return $base;
    }
private function getResolvedBase ( $ target ) { $ base = null ; $ array = $ this -> get ( $ target ) ; if ( is_string ( $ array [ 'base' ] ) ) { $ assetService = $ this -> getServiceManager ( ) -> get ( AssetService :: SERVICE_ID ) ; $ base = $ assetService -> getAsset ( $ array [ 'base' ] ) ; } else if ( is_array ( $ array [ 'base' ] ) ) { $ base = array ( 'css' => $ this -> resolveStylesheetUrl ( $ array [ 'base' ] [ 'css' ] ) , 'templates' => array ( ) ) ; foreach ( $ array [ 'base' ] [ 'templates' ] as $ id => $ path ) { $ base [ 'templates' ] [ $ id ] = $ this -> resolveTemplatePath ( $ path ) ; } } else { throw new common_Exception ( 'invalid type for theme base' ) ; } return $ base ; }
Resolve the path and url defined in target "base"

@param string $target
@return mixed
@throws common_Exception
Resolve the path and url defined in target base