Lines Matching refs:pageID
62 function autoGenerateShortUrl ($pageID) { argument
64 if (in_array($pageID, $redirects)) {
65 $shortID = array_search($pageID, $redirects);
67 $shortID = $this->generateShortUrl($pageID);
81 function generateShortUrl($pageID) { argument
90 $hex = md5($pageID);
113 if ( $redirects["$shorturl"] && $redirects["$shorturl"] != $pageID ) {
117 $redirects["$shorturl"] = $pageID;
136 function shorturlPrintLink ($pageID) { argument
144 if (in_array($pageID, $redirects)) {
145 $shortID = array_search($pageID, $redirects);
150 … return'<a href="' . wl($pageID, array(generateShortURL=>yes), true) . '"> ' . $linktext . '</a>' ;