Overview

Namespaces

  • webfilesframework
    • codegeneration
      • general
      • php
    • core
      • datastore
        • functions
          • filter
          • sorting
        • types
          • database
            • resultHandler
          • directory
          • googlecalendar
          • mail
          • remote
      • datasystem
        • database
        • file
          • format
            • media
              • image
                • handler
          • system
            • dropbox
      • datatypes
        • time
      • time
    • io
      • form
        • formItem
        • validation
        • webfile
      • request

Classes

  • MDropboxAccount
  • MDropboxDirectory
  • MDropboxFile
  • Overview
  • Namespace
  • Class

Class MDropboxFile

description

webfilesframework\core\datasystem\file\format\MWebfile
Extended by webfilesframework\core\datasystem\file\system\MFile
Extended by webfilesframework\core\datasystem\file\system\dropbox\MDropboxFile
Namespace: webfilesframework\core\datasystem\file\system\dropbox
Author: Sebastian Monzel < mail@sebastianmonzel.de >
Since: 0.1.7
Located at core/datasystem/file/system/dropbox/MDropboxFile.php
Methods summary
public
# __construct( webfilesframework\core\datasystem\file\system\dropbox\MDropboxAccount $account, $filePath, boolean $initMetadata = true )

Enter description here ...

Parameters

$account
$filePath
$initMetadata

Overrides

webfilesframework\core\datasystem\file\system\MFile::__construct()
public
# initMetadata( )
public string
# getContent( )

Returns the content of the given file.

Returns the content of the given file.

Returns

string
file content

Overrides

webfilesframework\core\datasystem\file\system\MFile::getContent()
public
# writeContent( string $content, boolean $overwrite = false )

Writes content to harddrive.

Writes content to harddrive.

Parameters

$content
$overwrite

Overrides

webfilesframework\core\datasystem\file\system\MFile::writeContent()
public
# upload( )

Enter description here ...

public
# download( $overwriteIfExists )

Enter description here ...

Parameters

$overwriteIfExists
public
# downloadImageAsThumbnail( )
Methods inherited from webfilesframework\core\datasystem\file\system\MFile
__toString(), containsFileseperator(), delete(), exists(), extractFileName(), extractFolderName(), getDate(), getExtension(), getFolder(), getName(), getPath(), renameTo(), setDate()
Methods inherited from webfilesframework\core\datasystem\file\format\MWebfile
classname(), createWebfileByClassname(), getAttributes(), getClassInformation(), getDataset(), getDatatypeFromAttributeName(), getGeograficPosition(), getId(), getSimplifiedAttributeName(), getTime(), isObject(), isSimpleDatatype(), marshall(), matchesTemplate(), presetForTemplateSearch(), setId(), setTime(), staticUnmarshall(), unmarshall()
Properties summary
protected $dropboxAccount
#
protected $fileMetadata
#
protected $filePath
#
Properties inherited from webfilesframework\core\datasystem\file\system\MFile
$m_dDate, $m_sFileName, $m_sFolderName
Properties inherited from webfilesframework\core\datasystem\file\format\MWebfile
$m_iId, $m_iTime
API documentation generated by ApiGen