Function RevisionEngineFiles->total_revisions
Definitions
sources/revisions_engine_files.php
- Find number of revisions of something.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: int
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$directory | PATH | required parameter | N/A | N/A | Directory where revisions are stored |
$filename_id | string | required parameter | N/A | N/A | ID of what was revised (=base filename, no extension) |
$ext | string | required parameter | N/A | N/A | File extension for revisable files |
Return
- Number of revisions
- Type: integer
- Set: N/A
- Range: N/A