PHP Class RedirectorPlugin, addons

Inheritance: extends Gdn_Plugin
Afficher le fichier Open project: vanilla/addons

Méthodes publiques

Свойство Type Description
$Files array

Méthodes publiques

Méthode Description
IPBPageNumber ( $Value ) : array | null
filenameRedirect ( $Filename, $Get ) : boolean | string
forumDisplayFilter ( &$Get ) : array Filter vBulletin category requests, specifically to handle "friendly URLs".
forumFilter ( &$Get ) : array
gdn_Dispatcher_NotFound_Handler ( )
getNumber ( $Value ) : null
lithiumCategoryCodeFilter ( string $categoryCode ) : string Convert category code from lithium to vanilla.
pageNumber ( array $Vars, integer | string $PageSize ) : integer Return the page number from the given variables that may have an offset or a page.
removeID ( $Value ) : null
showpostFilter ( &$Get ) : array Filter vBulletin comment requests, specifically to handle "friendly URLs".
showthreadFilter ( &$Get ) : array Filter vBulletin discussion requests, specifically to handle "friendly URLs".
smfAction ( $Value ) : array
smfOffset ( $Value, $Key ) : array
t5Filter ( array &$get ) : array Filter parameters properly.
topicFilter ( &$Get ) : array
xenforoID ( $value ) : string

Private Methods

Méthode Description
vbFriendlyUrlID ( &$Get, string $TargetParam ) : boolean Attempt to retrieve record ID from request parameters, if target parameter isn't already populated.

Method Details

IPBPageNumber() public static méthode

public static IPBPageNumber ( $Value ) : array | null
$Value
Résultat array | null

filenameRedirect() public méthode

public filenameRedirect ( $Filename, $Get ) : boolean | string
$Filename
$Get
Résultat boolean | string

forumDisplayFilter() public static méthode

Filter vBulletin category requests, specifically to handle "friendly URLs".
public static forumDisplayFilter ( &$Get ) : array
$Get Request parameters
Résultat array Mapping of vB parameters

forumFilter() public static méthode

public static forumFilter ( &$Get ) : array
$Get
Résultat array

gdn_Dispatcher_NotFound_Handler() public méthode

getNumber() public static méthode

public static getNumber ( $Value ) : null
$Value
Résultat null

lithiumCategoryCodeFilter() public static méthode

Convert category code from lithium to vanilla.
public static lithiumCategoryCodeFilter ( string $categoryCode ) : string
$categoryCode string
Résultat string

pageNumber() public static méthode

Return the page number from the given variables that may have an offset or a page.
public static pageNumber ( array $Vars, integer | string $PageSize ) : integer
$Vars array The variables that should contain an Offset or Page key.
$PageSize integer | string The pagesize or the config key of the pagesize.
Résultat integer

removeID() public static méthode

public static removeID ( $Value ) : null
$Value
Résultat null

showpostFilter() public static méthode

Filter vBulletin comment requests, specifically to handle "friendly URLs".
public static showpostFilter ( &$Get ) : array
$Get Request parameters
Résultat array Mapping of vB parameters

showthreadFilter() public static méthode

Filter vBulletin discussion requests, specifically to handle "friendly URLs".
public static showthreadFilter ( &$Get ) : array
$Get Request parameters
Résultat array Mapping of vB parameters

smfAction() public static méthode

public static smfAction ( $Value ) : array
$Value
Résultat array

smfOffset() public static méthode

public static smfOffset ( $Value, $Key ) : array
$Value
$Key
Résultat array

t5Filter() public static méthode

Filter parameters properly.
public static t5Filter ( array &$get ) : array
$get array Request parameters
Résultat array

topicFilter() public static méthode

public static topicFilter ( &$Get ) : array
$Get
Résultat array

xenforoID() public static méthode

public static xenforoID ( $value ) : string
$value
Résultat string

Property Details

$Files public_oe static_oe property

public static array $Files
Résultat array