mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-16 22:43:19 +00:00
Update doc block
This commit is contained in:
@@ -70,17 +70,15 @@ class File
|
||||
}
|
||||
|
||||
/**
|
||||
* Checks for UUID in metadatas, If not create it and write it.
|
||||
* Be carefull, this methods writes in file.
|
||||
*
|
||||
* The unique Id is first read in document metadatas. If not found, it is
|
||||
* generated
|
||||
* Checks for UUID in metadatas
|
||||
*
|
||||
* @todo Check if a file exists with the same checksum
|
||||
* @todo Check if an UUID is contained in the attributes, replace It if
|
||||
* necessary
|
||||
*
|
||||
* @return \Alchemy\Phrasea\Border\File
|
||||
* @param boolean $generate if true, if no uuid found, a valid one is generated
|
||||
* @param boolean $write if true, writes uuid in all available metadatas
|
||||
* @return File
|
||||
*/
|
||||
public function getUUID($generate = false, $write = false)
|
||||
{
|
||||
|
Reference in New Issue
Block a user