change visibility of some properties and methods of core classes from private to protected

This commit is contained in:
coderkun 2014-08-09 00:35:32 +02:00
commit 200b1fe937
2 changed files with 5 additions and 5 deletions

View file

@ -30,7 +30,7 @@
* *
* @var View * @var View
*/ */
private $view = null; protected $view = null;
/** /**
* Data to pass to the View * Data to pass to the View
* *
@ -348,7 +348,7 @@
* @throws ModelNotValidException * @throws ModelNotValidException
* @throws ModelNotFoundException * @throws ModelNotFoundException
*/ */
private function loadModels() protected function loadModels()
{ {
// Determine Models // Determine Models
$explicit = false; $explicit = false;
@ -403,7 +403,7 @@
* @param string $layoutName Name of the current Layout * @param string $layoutName Name of the current Layout
* @param string $action Current Action * @param string $action Current Action
*/ */
private function loadView($layoutName, $action) protected function loadView($layoutName, $action)
{ {
// Check Layout name // Check Layout name
if(is_null($layoutName)) { if(is_null($layoutName)) {

View file

@ -26,7 +26,7 @@
* *
* @var string * @var string
*/ */
private $templateFilename; protected $templateFilename;
@ -57,7 +57,7 @@
* @param string $action Current Action * @param string $action Current Action
* @param bool $isToplevel Agent is a ToplevelAgent * @param bool $isToplevel Agent is a ToplevelAgent
*/ */
private function __construct($layoutName, $agentName=null, $action=null, $isToplevel=false) protected function __construct($layoutName, $agentName=null, $action=null, $isToplevel=false)
{ {
// Create template filename // Create template filename
// LayoutName // LayoutName