Function __global->extract_filedump_links
Definitions
sources/filedump.php
- Find filedump links within some Comcode (an approximation).
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $comcode | string | No | No | required parameter | N/A | N/A | Comcode to scan |
| $identifier | mixed | No | No | required parameter | N/A | N/A | An identifier for where this Comcode was from |
| $focus | string | No | No | required parameter | N/A | N/A | Focus on a particular filedump file (give a path relative to uploads/filedump), with leading slash (blank: no filter) |
| &$paths_used | array | Yes | No | required parameter | N/A | N/A | Paths found (passed by reference) |
Preview
Code (PHP)
/**
* Find filedump links within some Comcode (an approximation).
*
* @param string $comcode Comcode to scan
* @param mixed $identifier An identifier for where this Comcode was from
* @param string $focus Focus on a particular filedump file (give a path relative to uploads/filedump), with leading slash (blank: no filter)
* @param array $paths_used Paths found (passed by reference)
*/
function extract_filedump_links(string $comcode, $identifier, string $focus, array &$paths_used)
* Find filedump links within some Comcode (an approximation).
*
* @param string $comcode Comcode to scan
* @param mixed $identifier An identifier for where this Comcode was from
* @param string $focus Focus on a particular filedump file (give a path relative to uploads/filedump), with leading slash (blank: no filter)
* @param array $paths_used Paths found (passed by reference)
*/
function extract_filedump_links(string $comcode, $identifier, string $focus, array &$paths_used)

