コード例 #1
0
 /**
  * returns true if the template set has an screenshot available
  *
  * @return true if screenshot available or false otherwise
  */
 function hasScreenshot()
 {
     // check if the file screenshot.jpg is available in disk
     $ts = new TemplateSetStorage();
     return $ts->isScreenshotAvailable($this->getName(), $this->getBlogId());
 }