Открытые статические члены | |
static | getTableName () |
static | getMap () |
static | validateFilePath () |
static | validateFileHash () |
static | addList ($bucketId, array $files) |
static | syncList ($bucketId, $path, array $files, $prevLastKey) |
static | syncEnd ($bucketId, $path, $prevLastKey) |
static | addFile ($bucketId, $path, array $fileInfo) |
static | getLastKey ($bucketId) |
static | deleteAll ($bucketId) |
static | deleteByFilePath ($bucketId, $filePath) |
static | dirList ($bucketId, $path, $order, $filter) |
static | duplicateList ($bucketId, $filter, $order, $limit=0) |
static | getFileDuplicates ($bucketId, $fileHash, $fileSize) |
static | getDuplicatesStat ($bucketId) |
static | copyToFileHash ($lastKey, $pageSize) |
static | prepareDuplicates ($bucketId, &$fileIds) |
Открытые статические члены унаследованные от DataManager | |
static | getEntity () |
static | unsetEntity ($class) |
static | getConnectionName () |
static | getTitle () |
static | getObjectClass () |
static | getObjectClassName () |
static | getCollectionClass () |
static | getCollectionClassName () |
static | getObjectParentClass () |
static | getCollectionParentClass () |
static | getQueryClass () |
static | getEntityClass () |
static | createObject ($setDefaultValues=true) |
static | createCollection () |
static | wakeUpObject ($row) |
static | wakeUpCollection ($rows) |
static | getUfId () |
static | isUts () |
static | isUtm () |
static | setDefaultScope ($query) |
static | postInitialize (Entity $entity) |
static | getByPrimary ($primary, array $parameters=array()) |
static | getById ($id) |
static | getRowById ($id) |
static | getRow (array $parameters) |
static | getList (array $parameters=array()) |
static | getCount ($filter=array(), array $cache=array()) |
static | query () |
static | checkFields (Result $result, $primary, array $data) |
static | add (array $data) |
static | addMulti ($rows, $ignoreEvents=false) |
static | update ($primary, array $data) |
static | delete ($primary) |
static | enableCrypto ($field, $table=null, $mode=true) |
static | cryptoEnabled ($field, $table=null) |
static | setCurrentDeletingObject ($object) |
static | cleanCache () |
static | onBeforeAdd (Event $event) |
static | onAdd (Event $event) |
static | onAfterAdd (Event $event) |
static | onBeforeUpdate (Event $event) |
static | onUpdate (Event $event) |
static | onAfterUpdate (Event $event) |
static | onBeforeDelete (Event $event) |
static | onDelete (Event $event) |
static | onAfterDelete (Event $event) |
Дополнительные унаследованные члены | |
Открытые атрибуты унаследованные от DataManager | |
const | EVENT_ON_BEFORE_ADD = "OnBeforeAdd" |
const | EVENT_ON_ADD = "OnAdd" |
const | EVENT_ON_AFTER_ADD = "OnAfterAdd" |
const | EVENT_ON_BEFORE_UPDATE = "OnBeforeUpdate" |
const | EVENT_ON_UPDATE = "OnUpdate" |
const | EVENT_ON_AFTER_UPDATE = "OnAfterUpdate" |
const | EVENT_ON_BEFORE_DELETE = "OnBeforeDelete" |
const | EVENT_ON_DELETE = "OnDelete" |
const | EVENT_ON_AFTER_DELETE = "OnAfterDelete" |
Защищенные статические члены унаследованные от DataManager | |
static | getObjectClassByDataClass ($dataClass) |
static | getCollectionClassByDataClass ($dataClass) |
static | replaceFieldName ($data=array()) |
static | validatePrimary ($primary) |
static | checkUfFields ($object, $ufdata, $result) |
static | callOnBeforeAddEvent ($object, $fields, $result) |
static | callOnAddEvent ($object, $fields, $ufdata) |
static | callOnAfterAddEvent ($object, $fields, $id) |
static | callOnBeforeUpdateEvent ($object, $fields, $result) |
static | callOnUpdateEvent ($object, $fields, $ufdata) |
static | callOnAfterUpdateEvent ($object, $fields) |
static | callOnBeforeDeleteEvent ($object, $entity, $result) |
static | callOnDeleteEvent ($object, $entity) |
static | callOnAfterDeleteEvent ($object, $entity) |
Статические защищенные данные унаследованные от DataManager | |
static | $entity |
static | $objectClass |
static | $collectionClass |
static | $currentDeletingObjects |
static | $reservedWords |
См. определение в файле filehash.php строка 40
|
static |
Add a file hash to the database.
integer | $bucketId | Clouds storage bucket identifier. |
string | $path | Path to the file. |
array | $fileInfo | File info as it returned by CCloudStorageBucket::GetFileInfo. |
См. определение в файле filehash.php строка 288
|
static |
Stores file hashes to the database.
integer | $bucketId | Clouds storage bucket identifier. |
array | $files | File list as it returned by \CCloudStorageBucket::ListFiles. |
См. определение в файле filehash.php строка 138
|
static |
Copies file hash information from clouds module table to the main module. Returns an array with copy statistics information.
integer | $lastKey | Where to start. |
integer | $pageSize | Batch size. |
См. определение в файле filehash.php строка 531
|
static |
Clears all stored file hashes for the bucket.
integer | $bucketId | Clouds storage bucket identifier. |
См. определение в файле filehash.php строка 322
|
static |
Clears a stored file hashe for the filePath for the bucket.
integer | $bucketId | Clouds storage bucket identifier. |
string | $filePath | File path. |
См. определение в файле filehash.php строка 339
|
static |
Returns file listing with "folders", sizes and modification times.
integer | $bucketId | Clouds storage bucket identifier. |
string | $path | Directory path. |
array | $order | How to sort. |
array | $filter | Additional filter. |
См. определение в файле filehash.php строка 363
|
static |
Returns duplicate files by bucket, hash, and size.
integer | $bucketId | Clouds storage bucket identifier. |
array | $filter | Additional filter to pass to FileHashTable. |
array | $order | Sort order. |
integer | $limit | Records count. |
См. определение в файле filehash.php строка 417
|
static |
Returns duplicates summary statistics.
integer | $bucketId | Clouds storage bucket identifier. |
См. определение в файле filehash.php строка 496
|
static |
Returns duplicate files list by bucket, hash, and size.
integer | $bucketId | Clouds storage bucket identifier. |
array | $fileHash | File hash. |
array | $fileSize | File size. |
См. определение в файле filehash.php строка 466
|
static |
Returns last stored key for given bucket.
integer | $bucketId | Clouds storage bucket identifier. |
См. определение в файле filehash.php строка 306
|
static |
Returns entity map definition.
Переопределяет метод предка DataManager.
См. определение в файле filehash.php строка 57
|
static |
Returns DB table name for entity.
Переопределяет метод предка DataManager.
См. определение в файле filehash.php строка 47
|
static |
Checks candidates from file duplicates delete. Returns future file original identifier.
integer | $bucketId | Clouds storage bucket identifier. |
array | &$fileIds | Array of file identifiers candidates for duplicate delete. |
См. определение в файле filehash.php строка 578
|
static |
Sync file hashes to the database. Removes all keys beyond the $prevLastKey.
integer | $bucketId | Clouds storage bucket identifier. |
string | $path | File list relative path. |
string | $prevLastKey | Last key returned by last call to CCloudStorageBucket::ListFiles. |
См. определение в файле filehash.php строка 263
|
static |
Sync file hashes to the database. Adds new keys and removes missing between $files[last_key] and $lastKey.
integer | $bucketId | Clouds storage bucket identifier. |
string | $path | File list relative path. |
array | $files | File list as it returned by CCloudStorageBucket::ListFiles. |
string | $prevLastKey | Last key returned by previous call to CCloudStorageBucket::ListFiles. |
См. определение в файле filehash.php строка 178
|
static |
Returns validators for FILE_HASH field.
См. определение в файле filehash.php строка 122
|
static |
Returns validators for FILE_PATH field.
См. определение в файле filehash.php строка 110