示例#1
0
文件: kshow.php 项目: DBezemer/server
 /**
  * This function sets and returns a new path for a requested content entity.
  * @param string $filename = the original fileName from which the extension is cut.
  * @return string the content file name
  */
 public function setThumbnail($filename)
 {
     Basekshow::SetThumbnail(myContentStorage::generateRandomFileName($filename, $this->getThumbnail()));
     return $this->getThumbnail();
 }