mirror of
https://github.com/Mibew/mibew.git
synced 2025-02-08 00:34:42 +03:00
Rename BaseStyle class to Style
This commit is contained in:
parent
e6c21582f8
commit
43077feb01
@ -36,7 +36,7 @@ require_once(MIBEW_FS_ROOT.'/libs/common/misc.php');
|
|||||||
require_once(MIBEW_FS_ROOT.'/libs/common/response.php');
|
require_once(MIBEW_FS_ROOT.'/libs/common/response.php');
|
||||||
require_once(MIBEW_FS_ROOT.'/libs/common/string.php');
|
require_once(MIBEW_FS_ROOT.'/libs/common/string.php');
|
||||||
require_once(MIBEW_FS_ROOT.'/libs/classes/Mibew/Style/StyleInterface.php');
|
require_once(MIBEW_FS_ROOT.'/libs/classes/Mibew/Style/StyleInterface.php');
|
||||||
require_once(MIBEW_FS_ROOT.'/libs/classes/Mibew/Style/BaseStyle.php');
|
require_once(MIBEW_FS_ROOT.'/libs/classes/Mibew/Style/Style.php');
|
||||||
require_once(MIBEW_FS_ROOT.'/libs/classes/Mibew/Style/PageStyle.php');
|
require_once(MIBEW_FS_ROOT.'/libs/classes/Mibew/Style/PageStyle.php');
|
||||||
// Include database structure
|
// Include database structure
|
||||||
require_once(MIBEW_FS_ROOT.'/install/dbinfo.php');
|
require_once(MIBEW_FS_ROOT.'/install/dbinfo.php');
|
||||||
|
@ -23,7 +23,7 @@ use Mibew\Settings;
|
|||||||
/**
|
/**
|
||||||
* Represents a chat style
|
* Represents a chat style
|
||||||
*/
|
*/
|
||||||
class ChatStyle extends BaseStyle implements StyleInterface {
|
class ChatStyle extends Style implements StyleInterface {
|
||||||
/**
|
/**
|
||||||
* Builds base path for style files. This path is relative Mibew root and
|
* Builds base path for style files. This path is relative Mibew root and
|
||||||
* does not contain neither leading nor trailing slash.
|
* does not contain neither leading nor trailing slash.
|
||||||
|
@ -23,7 +23,7 @@ use Mibew\Settings;
|
|||||||
/**
|
/**
|
||||||
* Represents a style for invitations
|
* Represents a style for invitations
|
||||||
*/
|
*/
|
||||||
class InvitationStyle extends BaseStyle implements StyleInterface {
|
class InvitationStyle extends Style implements StyleInterface {
|
||||||
/**
|
/**
|
||||||
* Builds base path for style files. This path is relative Mibew root and
|
* Builds base path for style files. This path is relative Mibew root and
|
||||||
* does not contain neither leading nor trailing slash.
|
* does not contain neither leading nor trailing slash.
|
||||||
|
@ -23,7 +23,7 @@ use Mibew\Settings;
|
|||||||
/**
|
/**
|
||||||
* Represents a style for operator pages
|
* Represents a style for operator pages
|
||||||
*/
|
*/
|
||||||
class PageStyle extends BaseStyle implements StyleInterface {
|
class PageStyle extends Style implements StyleInterface {
|
||||||
/**
|
/**
|
||||||
* Builds base path for style files. This path is relative Mibew root and
|
* Builds base path for style files. This path is relative Mibew root and
|
||||||
* does not contain neither leading nor trailing slash.
|
* does not contain neither leading nor trailing slash.
|
||||||
|
@ -20,7 +20,7 @@ namespace Mibew\Style;
|
|||||||
/**
|
/**
|
||||||
* Base class for styles
|
* Base class for styles
|
||||||
*/
|
*/
|
||||||
abstract class BaseStyle {
|
abstract class Style {
|
||||||
/**
|
/**
|
||||||
* Styles configuration array or NULL by default
|
* Styles configuration array or NULL by default
|
||||||
* @var array|NULL
|
* @var array|NULL
|
Loading…
Reference in New Issue
Block a user