private function setPrefixes()
    {
        $pathArray = array($this->optionsProvider->getVarDir());

        // The storage dir itself might be null
        if ($storageDir = $this->optionsProvider->getStorageDir()) {
            $pathArray[] = $storageDir;
        }

        $this->draftPrefix = implode('/', array_merge($pathArray, array($this->optionsProvider->getDraftImagesDir())));
        $this->publishedPrefix = implode('/', array_merge($pathArray, array($this->optionsProvider->getPublishedImagesDir())));
    }
private function setPrefixes()
    {
        $pathArray = array($this->optionsProvider->getVarDir());

        // The storage dir itself might be null
        if ($storageDir = $this->optionsProvider->getStorageDir()) {
            $pathArray[] = $storageDir;
        }

        $this->draftPrefix = implode('/', array_merge($pathArray, array($this->optionsProvider->getDraftImagesDir())));
        $this->publishedPrefix = implode('/', array_merge($pathArray, array($this->optionsProvider->getPublishedImagesDir())));
    }
private function setPrefixes ( ) { $ pathArray = array ( $ this -> optionsProvider -> getVarDir ( ) ) ; // The storage dir itself might be null if ( $ storageDir = $ this -> optionsProvider -> getStorageDir ( ) ) { $ pathArray [ ] = $ storageDir ; } $ this -> draftPrefix = implode ( '/' , array_merge ( $ pathArray , array ( $ this -> optionsProvider -> getDraftImagesDir ( ) ) ) ) ; $ this -> publishedPrefix = implode ( '/' , array_merge ( $ pathArray , array ( $ this -> optionsProvider -> getPublishedImagesDir ( ) ) ) ) ; }
Computes the paths to published & draft images path using the options from the provider.
Computes the paths to published & draft images path using the options from the provider .