eZ Publish  [4.0]
ezurlwildcard.php File Reference

Go to the source code of this file.

Classes

class  eZURLWildcard
 Handles URL alias wildcards in eZ Publish. More...

Functions

 eZURLWildcardTranslateWithCache ($wildcardNum, &$uri, &$wildcardInfo, $matches)

Detailed Description

Definition in file ezurlwildcard.php.


Function Documentation

eZURLWildcardTranslateWithCache ( wildcardNum,
&$  uri,
&$  wildcardInfo,
matches 
)

The callback loads appropriate cache file for wildcard $wildcardNum, extracts wildcard info and 'replace' url from cache.

Note:
The wildcard number(not a wildcard id) is used here. Reason: to find correct cache-file. If it's needed to fetch wildcard from db, use eZURLWildcard::fetchList with offset = $wildcardNum and $limit = 1.

Definition at line 702 of file ezurlwildcard.php.