mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-18 07:23:13 +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.
|
* Checks for UUID in metadatas
|
||||||
* Be carefull, this methods writes in file.
|
|
||||||
*
|
|
||||||
* The unique Id is first read in document metadatas. If not found, it is
|
|
||||||
* generated
|
|
||||||
*
|
*
|
||||||
* @todo Check if a file exists with the same checksum
|
* @todo Check if a file exists with the same checksum
|
||||||
* @todo Check if an UUID is contained in the attributes, replace It if
|
* @todo Check if an UUID is contained in the attributes, replace It if
|
||||||
* necessary
|
* 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)
|
public function getUUID($generate = false, $write = false)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user