mirror of
https://github.com/Mibew/mibew.git
synced 2025-02-01 05:44:41 +03:00
Use "get" prfix for AbstractStyle::defaultConfigurations
This commit is contained in:
parent
3a01ec4d26
commit
db710b9e06
@ -89,7 +89,7 @@ abstract class AbstractStyle
|
|||||||
// Load configurations from file, merge it with default configs and
|
// Load configurations from file, merge it with default configs and
|
||||||
// cache the result.
|
// cache the result.
|
||||||
$loaded_config = parse_ini_file($config_file, true);
|
$loaded_config = parse_ini_file($config_file, true);
|
||||||
$default_config = $this->defaultConfigurations();
|
$default_config = $this->getDefaultConfigurations();
|
||||||
$this->cachedConfigurations = $loaded_config + $default_config;
|
$this->cachedConfigurations = $loaded_config + $default_config;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -138,5 +138,5 @@ abstract class AbstractStyle
|
|||||||
*
|
*
|
||||||
* @return array Default configurations of the style
|
* @return array Default configurations of the style
|
||||||
*/
|
*/
|
||||||
abstract protected function defaultConfigurations();
|
abstract protected function getDefaultConfigurations();
|
||||||
}
|
}
|
||||||
|
@ -167,7 +167,7 @@ class ChatStyle extends AbstractStyle implements StyleInterface
|
|||||||
*
|
*
|
||||||
* @return array Default configurations of the style
|
* @return array Default configurations of the style
|
||||||
*/
|
*/
|
||||||
protected function defaultConfigurations()
|
protected function getDefaultConfigurations()
|
||||||
{
|
{
|
||||||
return array(
|
return array(
|
||||||
'chat' => array(
|
'chat' => array(
|
||||||
|
@ -111,7 +111,7 @@ class InvitationStyle extends AbstractStyle implements StyleInterface
|
|||||||
*
|
*
|
||||||
* @return array Default configurations of the style
|
* @return array Default configurations of the style
|
||||||
*/
|
*/
|
||||||
protected function defaultConfigurations()
|
protected function getDefaultConfigurations()
|
||||||
{
|
{
|
||||||
return array();
|
return array();
|
||||||
}
|
}
|
||||||
|
@ -146,7 +146,7 @@ class PageStyle extends AbstractStyle implements StyleInterface
|
|||||||
*
|
*
|
||||||
* @return array Default configurations of the style
|
* @return array Default configurations of the style
|
||||||
*/
|
*/
|
||||||
protected function defaultConfigurations()
|
protected function getDefaultConfigurations()
|
||||||
{
|
{
|
||||||
return array(
|
return array(
|
||||||
'history' => array(
|
'history' => array(
|
||||||
|
Loading…
Reference in New Issue
Block a user