original_string: protected static function _getDataFromArray(&$array, $key = false, $default = null, $allowHtmlTags = false) {
          if ($key === null)
              return !$allowHtmlTags ? self::_secure($array, $allowHtmlTags) : $array;
          else {
              if (!array_key_exists($key, $array))
                  return $default;
  
              return !$allowHtmlTags ? self::_secure($array[$key], $allowHtmlTags) : $array[$key];
          }
      }
code: protected static function _getDataFromArray(&$array, $key = false, $default = null, $allowHtmlTags = false) {
          if ($key === null)
              return !$allowHtmlTags ? self::_secure($array, $allowHtmlTags) : $array;
          else {
              if (!array_key_exists($key, $array))
                  return $default;
  
              return !$allowHtmlTags ? self::_secure($array[$key], $allowHtmlTags) : $array[$key];
          }
      }
code_tokens: protected static function _getDataFromArray ( & $ array , $ key = false , $ default = null , $ allowHtmlTags = false ) { if ( $ key === null ) return ! $ allowHtmlTags ? self :: _secure ( $ array , $ allowHtmlTags ) : $ array ; else { if ( ! array_key_exists ( $ key , $ array ) ) return $ default ; return ! $ allowHtmlTags ? self :: _secure ( $ array [ $ key ] , $ allowHtmlTags ) : $ array [ $ key ] ; } }
docstring: Get a data from a reference array
  
  @access protected
  @static
  @param Array $array
  @param String $key
  @param Mixed $default
  @param Mixed $allowHtmlTags By default false : Remove all HTML tags, can be true : allow all html tags, can be a list of accepted HTML tags (see strip_tags documentation)
  @return Mixed
docstring_tokens: Get a data from a reference array