[feature/merging-style-components] Renaming style locator

Renaming style locator to style resource locator

PHPBB3-10632
This commit is contained in:
Vjacheslav Trushkin 2012-03-15 16:33:13 +02:00
parent c83f386c92
commit 8b7c2c3c65
3 changed files with 5 additions and 5 deletions

View file

@ -25,7 +25,7 @@ if (!defined('IN_PHPBB'))
*
* @package phpBB3
*/
class phpbb_style_locator
class phpbb_style_resource_locator
{
/**
* Paths to directories that templates are stored in.

View file

@ -78,7 +78,7 @@ class phpbb_style
$this->phpEx = $phpEx;
$this->config = $config;
$this->user = $user;
$this->locator = new phpbb_style_locator();
$this->locator = new phpbb_style_resource_locator();
$this->provider = new phpbb_style_path_provider();
if ($phpbb_extension_manager !== false)
{

View file

@ -64,7 +64,7 @@ class phpbb_style_template
/**
* Template locator
* @var phpbb_style_locator
* @var phpbb_style_resource_locator
*/
private $locator;
@ -79,10 +79,10 @@ class phpbb_style_template
*
* @param string $phpbb_root_path phpBB root path
* @param user $user current user
* @param phpbb_style_locator $locator template locator
* @param phpbb_style_resource_locator $locator template locator
* @param phpbb_style_path_provider $provider template path provider
*/
public function __construct($phpbb_root_path, $phpEx, $config, $user, phpbb_style_locator $locator, phpbb_style_path_provider_interface $provider)
public function __construct($phpbb_root_path, $phpEx, $config, $user, phpbb_style_resource_locator $locator, phpbb_style_path_provider_interface $provider)
{
$this->phpbb_root_path = $phpbb_root_path;
$this->phpEx = $phpEx;