PHP Class Horde_Routes_Matcher, horde

Copyright 2011-2016 Horde LLC (http://www.horde.org/) See the enclosed file COPYING for license information (LGPL). If you did not receive this file, see http://www.horde.org/licenses/lgpl21.
显示文件 Open project: horde/horde

Protected Properties

Property Type Description
$_mapper Horde_Routes_Mapper The routes mapper.
$_match_dict array The match dictionary.
$_request Horde_Controller_Request The incoming request.

Public Methods

Method Description
__construct ( Horde_Routes_Mapper $mapper, Object $request ) Constructor
getMatchDict ( ) : array Return the match dictionary for the incoming request.

Method Details

__construct() public method

Constructor
public __construct ( Horde_Routes_Mapper $mapper, Object $request )
$mapper Horde_Routes_Mapper The mapper
$request Object A request object that implements a ::getPath() method similar to Horde_Controller_Request::

getMatchDict() public method

Return the match dictionary for the incoming request.
public getMatchDict ( ) : array
return array The match dictionary.

Property Details

$_mapper protected_oe property

The routes mapper.
protected Horde_Routes_Mapper $_mapper
return Horde_Routes_Mapper

$_match_dict protected_oe property

The match dictionary.
protected array $_match_dict
return array

$_request protected_oe property

The incoming request.
protected Horde_Controller_Request $_request
return Horde_Controller_Request