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 MDropboxDirectory

description

webfilesframework\core\datasystem\file\format\MWebfile
Extended by webfilesframework\core\datasystem\file\system\MFile
Extended by webfilesframework\core\datasystem\file\system\MDirectory
Extended by webfilesframework\core\datasystem\file\system\dropbox\MDropboxDirectory
Namespace: webfilesframework\core\datasystem\file\system\dropbox
Author: Sebastian Monzel < mail@sebastianmonzel.de >
Since: 0.1.7
Located at core/datasystem/file/system/dropbox/MDropboxDirectory.php
Methods summary
public
# __construct( $path, webfilesframework\core\datasystem\file\system\dropbox\MDropboxAccount $dropboxAccount )

Enter description here ...

Enter description here ...

Parameters

$path
$dropboxAccount

Overrides

webfilesframework\core\datasystem\file\system\MDirectory::__construct()
public array
# getFiles( $initMetadata = true )

Returns the names of all files in the directory as an array.

Returns the names of all files in the directory as an array.

Returns

array
array with file objects

Throws

Exception

Overrides

webfilesframework\core\datasystem\file\system\MDirectory::getFiles()
public array
# getLatestFiles( $count )

Parameters

$count

Returns

array

Throws

Exception

Overrides

webfilesframework\core\datasystem\file\system\MDirectory::getLatestFiles()
public array
# getFileNames( )

Returns the names of all files in the directory as an array.

Returns the names of all files in the directory as an array.

Returns

array
with filenames

Throws

Exception

Overrides

webfilesframework\core\datasystem\file\system\MDirectory::getFileNames()
public array
# getSubdirectories( )

Returns the subdirectories of the current directory.

Returns the subdirectories of the current directory.

Returns

array
list of directories

Overrides

webfilesframework\core\datasystem\file\system\MDirectory::getSubdirectories()
public
# syncToLocalDirectory( webfilesframework\core\datasystem\file\system\MDirectory $directory, $recursivly, $folder )

Enter description here ...

Enter description here ...

Parameters

$directory
$recursivly
$folder
public
# getFolderMetadata( )

Enter description here ...

Methods inherited from webfilesframework\core\datasystem\file\system\MDirectory
create(), createSubDirectoryIfNotExists(), exists(), getPath(), isWritable()
Methods inherited from webfilesframework\core\datasystem\file\system\MFile
__toString(), containsFileseperator(), delete(), extractFileName(), extractFolderName(), getContent(), getDate(), getExtension(), getFolder(), getName(), renameTo(), setDate(), writeContent()
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 inherited from webfilesframework\core\datasystem\file\system\MDirectory
$m_sPath
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