private -> protected
This commit is contained in:
parent
6388ecef52
commit
56d0c3351b
|
|
@ -25,7 +25,7 @@ class FormController extends ControllerBehavior
|
|||
/**
|
||||
* @var Backend\Classes\WidgetBase Reference to the widget object.
|
||||
*/
|
||||
private $formWidget;
|
||||
protected $formWidget;
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
|
|
@ -47,7 +47,7 @@ class FormController extends ControllerBehavior
|
|||
/**
|
||||
* @var array List of prepared models that require saving.
|
||||
*/
|
||||
private $modelsToSave = [];
|
||||
protected $modelsToSave = [];
|
||||
|
||||
/**
|
||||
* Behavior constructor
|
||||
|
|
|
|||
|
|
@ -19,22 +19,22 @@ class ListController extends ControllerBehavior
|
|||
/**
|
||||
* @var array List definitions, keys for alias and value for configuration.
|
||||
*/
|
||||
private $listDefinitions;
|
||||
protected $listDefinitions;
|
||||
|
||||
/**
|
||||
* @var string The primary list alias to use. Default: list
|
||||
*/
|
||||
private $primaryDefinition;
|
||||
protected $primaryDefinition;
|
||||
|
||||
/**
|
||||
* @var Backend\Classes\WidgetBase Reference to the list widget object.
|
||||
*/
|
||||
private $listWidgets = [];
|
||||
protected $listWidgets = [];
|
||||
|
||||
/**
|
||||
* @var WidgetBase Reference to the toolbar widget objects.
|
||||
*/
|
||||
private $toolbarWidgets = [];
|
||||
protected $toolbarWidgets = [];
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
|
|
|
|||
|
|
@ -26,22 +26,22 @@ class RelationController extends ControllerBehavior
|
|||
/**
|
||||
* @var Backend\Classes\WidgetBase Reference to the toolbar widget object.
|
||||
*/
|
||||
private $toolbarWidget;
|
||||
protected $toolbarWidget;
|
||||
|
||||
/**
|
||||
* @var Backend\Classes\WidgetBase Reference to the widget used for viewing (list or form).
|
||||
*/
|
||||
private $viewWidget;
|
||||
protected $viewWidget;
|
||||
|
||||
/**
|
||||
* @var Backend\Classes\WidgetBase Reference to the widget used for relation management.
|
||||
*/
|
||||
private $manageWidget;
|
||||
protected $manageWidget;
|
||||
|
||||
/**
|
||||
* @var Backend\Classes\WidgetBase Reference to widget for relations with pivot data.
|
||||
*/
|
||||
private $pivotWidget;
|
||||
protected $pivotWidget;
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
|
|
@ -61,12 +61,12 @@ class RelationController extends ControllerBehavior
|
|||
/**
|
||||
* @var array Original configuration values
|
||||
*/
|
||||
private $originalConfig;
|
||||
protected $originalConfig;
|
||||
|
||||
/**
|
||||
* @var bool Has the behavior been initialized.
|
||||
*/
|
||||
private $initialized = false;
|
||||
protected $initialized = false;
|
||||
|
||||
/**
|
||||
* @var string Relationship type
|
||||
|
|
|
|||
|
|
@ -37,17 +37,17 @@ class AuthManager extends RainAuthManager
|
|||
/**
|
||||
* @var array Cache of registration callbacks.
|
||||
*/
|
||||
private $callbacks = [];
|
||||
protected $callbacks = [];
|
||||
|
||||
/**
|
||||
* @var array List of registered permissions.
|
||||
*/
|
||||
private $permissions = [];
|
||||
protected $permissions = [];
|
||||
|
||||
/**
|
||||
* @var array Cache of registered permissions.
|
||||
*/
|
||||
private $permissionCache = false;
|
||||
protected $permissionCache = false;
|
||||
|
||||
/**
|
||||
* Registers a callback function that defines authentication permissions.
|
||||
|
|
|
|||
|
|
@ -17,18 +17,18 @@ class NavigationManager
|
|||
/**
|
||||
* @var array Cache of registration callbacks.
|
||||
*/
|
||||
private $callbacks = [];
|
||||
protected $callbacks = [];
|
||||
|
||||
/**
|
||||
* @var array List of registered items.
|
||||
*/
|
||||
private $items;
|
||||
protected $items;
|
||||
|
||||
private $contextSidenavPartials = [];
|
||||
protected $contextSidenavPartials = [];
|
||||
|
||||
private $contextOwner;
|
||||
private $contextMainMenuItemCode;
|
||||
private $contextSideMenuItemCode;
|
||||
protected $contextOwner;
|
||||
protected $contextMainMenuItemCode;
|
||||
protected $contextSideMenuItemCode;
|
||||
|
||||
static $mainItemDefaults = [
|
||||
'code' => null,
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@ class WidgetManager
|
|||
/**
|
||||
* @var array Cache of report widget registration callbacks.
|
||||
*/
|
||||
private $formWidgetCallbacks = [];
|
||||
protected $formWidgetCallbacks = [];
|
||||
|
||||
/**
|
||||
* @var array An array of report widgets.
|
||||
|
|
@ -42,7 +42,7 @@ class WidgetManager
|
|||
/**
|
||||
* @var array Cache of report widget registration callbacks.
|
||||
*/
|
||||
private $reportWidgetCallbacks = [];
|
||||
protected $reportWidgetCallbacks = [];
|
||||
|
||||
/**
|
||||
* @var array An array where keys are aliases and values are class names.
|
||||
|
|
|
|||
|
|
@ -46,7 +46,7 @@ class Form extends WidgetBase
|
|||
*/
|
||||
public $allFields = [];
|
||||
|
||||
/**
|
||||
/**
|
||||
* @var array Collection of all form widgets used in this form.
|
||||
*/
|
||||
public $formWidgets = [];
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@ class Toolbar extends WidgetBase
|
|||
/**
|
||||
* @var WidgetBase Reference to the search widget object.
|
||||
*/
|
||||
private $searchWidget;
|
||||
protected $searchWidget;
|
||||
|
||||
/**
|
||||
* @var string Name of partial containing control panel.
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@ class CmsException extends ApplicationException
|
|||
/**
|
||||
* @var Cms\Classes\CmsCompoundObject A reference to a CMS object used for masking errors.
|
||||
*/
|
||||
private $compoundObject;
|
||||
protected $compoundObject;
|
||||
|
||||
/**
|
||||
* @var array Collection of error codes for each error distinction.
|
||||
|
|
|
|||
|
|
@ -17,22 +17,22 @@ class CodeParser
|
|||
/**
|
||||
* @var \Cms\Classes\CmsCompoundObject A reference to the CMS object being parsed.
|
||||
*/
|
||||
private $object;
|
||||
protected $object;
|
||||
|
||||
/**
|
||||
* @var string Contains a path to the CMS object's file being parsed.
|
||||
*/
|
||||
private $filePath;
|
||||
protected $filePath;
|
||||
|
||||
/**
|
||||
* @var mixed The internal cache, keeps parsed object information during a request.
|
||||
*/
|
||||
static private $cache = [];
|
||||
static protected $cache = [];
|
||||
|
||||
/**
|
||||
* @var string Key for the parsed PHP file information cache.
|
||||
*/
|
||||
private $dataCacheKey = 'cms-php-file-data';
|
||||
protected $dataCacheKey = 'cms-php-file-data';
|
||||
|
||||
/**
|
||||
* Creates the class instance
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ class ComponentManager
|
|||
/**
|
||||
* @var array Cache of registration callbacks.
|
||||
*/
|
||||
private $callbacks = [];
|
||||
protected $callbacks = [];
|
||||
|
||||
/**
|
||||
* @var array An array where keys are codes and values are class names.
|
||||
|
|
|
|||
|
|
@ -42,7 +42,7 @@ class Router
|
|||
/**
|
||||
* @var array A list of parameters names and values extracted from the URL pattern and URL string.
|
||||
*/
|
||||
private $parameters = [];
|
||||
protected $parameters = [];
|
||||
|
||||
/**
|
||||
* @var array Contains the URL map - the list of page file names and corresponding URL patterns.
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@ class Extension extends Twig_Extension
|
|||
/**
|
||||
* @var \Cms\Classes\Controller A reference to the CMS controller.
|
||||
*/
|
||||
private $controller;
|
||||
protected $controller;
|
||||
|
||||
/**
|
||||
* Creates the extension instance.
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ class ExceptionBase extends Exception
|
|||
/**
|
||||
* @var Exception If this exception is acting as a mask, this property stores the face exception.
|
||||
*/
|
||||
private $mask;
|
||||
protected $mask;
|
||||
|
||||
/**
|
||||
* @var string Hint Message to help the user with troubleshooting the error (optional).
|
||||
|
|
@ -43,7 +43,7 @@ class ExceptionBase extends Exception
|
|||
/**
|
||||
* @var stdObject Cached code information for highlighting code.
|
||||
*/
|
||||
private $highlight;
|
||||
protected $highlight;
|
||||
|
||||
/**
|
||||
* CMS base exception class constructor. Inherits the native PHP Exception.
|
||||
|
|
|
|||
|
|
@ -24,7 +24,7 @@ class MarkupManager
|
|||
/**
|
||||
* @var array Cache of registration callbacks.
|
||||
*/
|
||||
private $callbacks = [];
|
||||
protected $callbacks = [];
|
||||
|
||||
/**
|
||||
* @var array Registered extension items
|
||||
|
|
|
|||
|
|
@ -17,20 +17,20 @@ class SettingsManager
|
|||
/**
|
||||
* @var array Cache of registration callbacks.
|
||||
*/
|
||||
private $callbacks = [];
|
||||
protected $callbacks = [];
|
||||
|
||||
/**
|
||||
* @var array List of registered items.
|
||||
*/
|
||||
private $items;
|
||||
protected $items;
|
||||
|
||||
/**
|
||||
* @var array Flat collection of all items.
|
||||
*/
|
||||
private $allItems;
|
||||
protected $allItems;
|
||||
|
||||
private $contextOwner;
|
||||
private $contextItemCode;
|
||||
protected $contextOwner;
|
||||
protected $contextItemCode;
|
||||
|
||||
static $itemDefaults = [
|
||||
'code' => null,
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@ class Settings extends Controller
|
|||
/**
|
||||
* @var WidgetBase Reference to the widget object.
|
||||
*/
|
||||
private $formWidget;
|
||||
protected $formWidget;
|
||||
|
||||
public $requiredPermissions = ['system.manage_settings'];
|
||||
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@ class Extension extends Twig_Extension
|
|||
/**
|
||||
* @var \System\Classes\MarkupManager A reference to the markup manager instance.
|
||||
*/
|
||||
private $markupManager;
|
||||
protected $markupManager;
|
||||
|
||||
/**
|
||||
* Creates the extension instance.
|
||||
|
|
|
|||
Loading…
Reference in New Issue