Skip to content

Commit

Permalink
private => protected
Browse files Browse the repository at this point in the history
  • Loading branch information
gueff authored Mar 5, 2019
1 parent f68ba53 commit 40bd018
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions Phormix.php
Original file line number Diff line number Diff line change
Expand Up @@ -127,10 +127,10 @@ class Phormix

/**
* contains checked form data
* @access private
* @access protected
* @var array
*/
private $_aFormDataChecked = array();
protected $_aFormDataChecked = array();

/**
* array containing sent data by form
Expand Down Expand Up @@ -763,10 +763,10 @@ public static function addLog ($sString = '')

/**
* adds an index to existing config array: key is the attribute:name of current element
* @access private
* @access protected
* @return void
*/
private function _enrichConfig()
protected function _enrichConfig()
{
foreach ($this->_aConfig['element'] as $iKey => $aValue)
{
Expand All @@ -777,10 +777,10 @@ private function _enrichConfig()

/**
* inits session namespace, saves identifier + ticket to session namespace
* @access private
* @access protected
* @return void
*/
private function _setSessionInfos()
protected function _setSessionInfos()
{
(!array_key_exists($this->_sSessionPrefix, $_SESSION)) ? $_SESSION[$this->_sSessionPrefix] = array() : false;
$_SESSION[$this->_sSessionPrefix][$this->_sIdentifier] = array();
Expand All @@ -789,11 +789,11 @@ private function _setSessionInfos()

/**
* checks existance of expected ticket
* @access private
* @access protected
* @param string $sTicket
* @return boolean success
*/
private function _checkTicket ($sTicket = '')
protected function _checkTicket ($sTicket = '')
{
$aFormMethod = $this->getFormDataArray(); // e.g. $_POST

Expand Down

0 comments on commit 40bd018

Please sign in to comment.