Beispiel #1
0
 /**
  * @param IFile $file The source file to copy from
  * @return bool TRUE if the file has been successfully copied from $file, FALSE otherwise
  * @throws EyeSecurityException
  */
 protected function copyFrom(IFile $file, $overwrite = true)
 {
     $this->checkConnectPermission();
     if ($file instanceof ISecurableFile) {
         $file->checkReadPermission();
     }
     return parent::copyFrom($file, $overwrite);
 }