Skip to content

Commit

Permalink
More testing of documentation coverage updates
Browse files Browse the repository at this point in the history
  • Loading branch information
ahosgood committed Oct 15, 2016
1 parent 07811eb commit ae9d95f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
4 changes: 2 additions & 2 deletions dist/twist/Core/Models/Tools.model.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@ public function arrayPrint( $arrData, $strIndent = '' ) {
/**
* Return a value in an array using multi dimensional key to parse the structure of the array
*
* @param $strKey Location of the value in the array
* @param $arrData Array to parse
* @param string $strKey Location of the value in the array
* @param array $arrData Array to parse
* @param string $strSplitChar Structure separator
* @return null $mxdOut
*/
Expand Down
8 changes: 2 additions & 6 deletions dist/twist/Core/Utilities/Session.utility.php
Original file line number Diff line number Diff line change
Expand Up @@ -158,15 +158,11 @@ public function remove($strKey = null){
*/
public function viewExtension($strReference){

$strData = '';

if(strstr($strReference,'/')){
$mxdTempData = \Twist::framework()->tools()->arrayParse($strReference,$_SESSION['twist-session']);
$strData = (is_array($mxdTempData)) ? print_r($mxdTempData,true) : $mxdTempData;
return (is_array($mxdTempData)) ? print_r($mxdTempData,true) : $mxdTempData;
}elseif(array_key_exists($strReference,$_SESSION['twist-session'])){
$strData = (is_array($_SESSION['twist-session'][$strReference])) ? print_r($_SESSION['twist-session'][$strReference],true) : $_SESSION['twist-session'][$strReference];
return (is_array($_SESSION['twist-session'][$strReference])) ? print_r($_SESSION['twist-session'][$strReference],true) : $_SESSION['twist-session'][$strReference];
}

return $strData;
}
}

0 comments on commit ae9d95f

Please sign in to comment.