예제 #1
0
 /**
  * Returns the relative path to the slice image
  *
  * @param string $seperator
  * @return string
  */
 public function getRelativePath($seperator = '/')
 {
     return RokGallery_Helper::getPathFromGUID($this->guid, $seperator) . $seperator . $this->filename;
 }
예제 #2
0
 /**
  * @param RokGallery_Model_File $record
  * @return string
  */
 protected function _getBasePath(RokGallery_Model_File $record)
 {
     $root = RokGallery_Config::getOption(RokGallery_Config::OPTION_ROOT_PATH);
     $path = $root . RokGallery_Helper::getPathFromGUID($record->guid, DS);
     return $path;
 }