![]() |
IP.Board
3.3.0
|
Public Member Functions | |
| fetchBitwise () | |
| fetchCaches () | |
| fetchRedirects () | |
| fetchTemplates () | |
| fetchBitwise | ( | ) |
Fetch bitwise mappings You can add to any of these arrays, but you cannot remove keys or re-order them. BAD THINGS WILL HAPPEN
public
| fetchCaches | ( | ) |
Fetch the caches array
public
| fetchRedirects | ( | ) |
Fetch the redirect mapping for short-hand urls
public
| fetchTemplates | ( | ) |
SEO templates
OUT FORMAT REGEX: First array element is a regex to run to see if we've a match for the URL The second array element is the template to use the results of the parenthesis capture
Special variable #{__title__} is replaced with the $title data passed to output->formatUrl( $url, $title)
IMPORTANT: Remember that when these regex are used, the output has not been fully parsed so you will get: showuser={$data['member_id']} NOT showuser=1 so do not try and match numerics only!
IN FORMAT REGEX
This allows the registry to piece back together a URL based on the template regex So, for example: "/user/(\d+?)/", 'matches' => array( array( 'showuser' => '$1' ) )tells IP.Board to populate 'showuser' with the result of the parenthesis capture #1
public