Function Hook_commandr_fs_downloads->_get_file_edit_date
Definitions
sources/hooks/systems/commandr_fs/downloads.php
- Standard Commandr-fs date fetch function for resource-fs hooks. Defined when getting an edit date is not easy.
- Visibility: protected
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: int
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$row | array | required parameter | N/A | N/A | Resource row (not full, but does contain the ID) |
$category | ID_TEXT | Blank (empty string) | N/A | N/A | Parent category (blank: root / not applicable) |
Return
- The edit date or add date, whichever is higher (null: could not find one)
- Type: ?TIME
- Set: N/A
- Range: N/A