Function __global->set_download_gallery_permissions
Definitions
sources/downloads2.php
- Set the permissions for a download gallery.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $id | ?AUTO_LINK | No | No | required parameter | N/A | N/A | The ID of the download (null: lookup from download) |
| $submitter | ?MEMBER | No | No | Null | N/A | N/A | The submitter (null: work out automatically) |
Preview
Code (PHP)
/**
* Set the permissions for a download gallery.
*
* @param ?AUTO_LINK $id The ID of the download (null: lookup from download)
* @param ?MEMBER $submitter The submitter (null: work out automatically)
*/
function set_download_gallery_permissions(?int $id, ?int $submitter = null)
* Set the permissions for a download gallery.
*
* @param ?AUTO_LINK $id The ID of the download (null: lookup from download)
* @param ?MEMBER $submitter The submitter (null: work out automatically)
*/
function set_download_gallery_permissions(?int $id, ?int $submitter = null)
