PHP Class RedirectorPlugin, addons

Inheritance: extends Gdn_Plugin
ファイルを表示 Open project: vanilla/addons

Public Properties

Property Type Description
$Files array

Public Methods

Method 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

Method 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 method

public static IPBPageNumber ( $Value ) : array | null
$Value
return array | null

filenameRedirect() public method

public filenameRedirect ( $Filename, $Get ) : boolean | string
$Filename
$Get
return boolean | string

forumDisplayFilter() public static method

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

forumFilter() public static method

public static forumFilter ( &$Get ) : array
$Get
return array

gdn_Dispatcher_NotFound_Handler() public method

getNumber() public static method

public static getNumber ( $Value ) : null
$Value
return null

lithiumCategoryCodeFilter() public static method

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

pageNumber() public static method

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.
return integer

removeID() public static method

public static removeID ( $Value ) : null
$Value
return null

showpostFilter() public static method

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

showthreadFilter() public static method

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

smfAction() public static method

public static smfAction ( $Value ) : array
$Value
return array

smfOffset() public static method

public static smfOffset ( $Value, $Key ) : array
$Value
$Key
return array

t5Filter() public static method

Filter parameters properly.
public static t5Filter ( array &$get ) : array
$get array Request parameters
return array

topicFilter() public static method

public static topicFilter ( &$Get ) : array
$Get
return array

xenforoID() public static method

public static xenforoID ( $value ) : string
$value
return string

Property Details

$Files public_oe static_oe property

public static array $Files
return array