DMSDocument::embargoIndefinitely
Hides the document, so it does not show up when getByPage($myPage) is called (without specifying the $showEmbargoed = true parameter).
This is similar to expire, except that this method should be used to hide documents that have not yet gone live.
Signature
public function embargoIndefinitely([boolean
$write = true] )
Parameters
$write
— boolean- Save change to the database
Returns
- DMSDocument