mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-17 23:13:15 +00:00
add stamp / no-stamp to export-by-email and export-by-ftp (#4437)
add default (disabled) stamp settings on new collections add "record_edit" & "image_tools" to conf / export-stamp-choice privilege
This commit is contained in:
@@ -95,6 +95,11 @@ class FtpExportElement
|
||||
*/
|
||||
private $updated;
|
||||
|
||||
/**
|
||||
* @ORM\Column(type="boolean", options={"default" = 0})
|
||||
*/
|
||||
private $toStamp = false;
|
||||
|
||||
/**
|
||||
* Get id
|
||||
*
|
||||
@@ -368,4 +373,20 @@ class FtpExportElement
|
||||
{
|
||||
return $this->export;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return bool
|
||||
*/
|
||||
public function isToStamp(): bool
|
||||
{
|
||||
return $this->toStamp;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param bool $toStamp
|
||||
*/
|
||||
public function setToStamp(bool $toStamp)
|
||||
{
|
||||
$this->toStamp = $toStamp;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user