예제 #1
0
 /**
  * Returns TRUE if the object is a video file
  *
  * @see isCommonVideo()
  */
 public function isVideo()
 {
     return $this->exists() && WebFilesystem::isCommonVideo($this->getFilename());
 }
예제 #2
0
 public function isVideo()
 {
     $this->getIterator();
     return $this->iterator->current()->isFile() && WebFilesystem::isCommonFile($this->iterator->current()->getRealPath()) && WebFilesystem::isCommonVideo($this->iterator->current()->getRealPath());
 }