Метод | Описание | |
---|---|---|
__construct ( PDO $db, $prefix = '', fkooman\IO\IO $io = null ) | ||
createTableQueries ( $prefix ) | ||
deleteNode ( |
||
getContentType ( |
||
getVersion ( |
||
initDatabase ( ) | ||
updateDocument ( |
We have a very weird version update method by including a sequence number that makes it easy for tests to see if there is correct behavior, a sequence number is not enough though as deleting a file would reset the sequence number and thus make it possible to have files with different content to have the same sequence number in the same location, but in order to check if all versions are updated up to the root we have to do this this way. | |
updateFolder ( |
Метод | Описание | |
---|---|---|
getMetadata ( |
Get the version of the path which can be either a folder or document. |
public __construct ( PDO $db, $prefix = '', fkooman\IO\IO $io = null ) | ||
$db | PDO | |
$io | fkooman\IO\IO |