original_string: public function getProperties($public = true)
  	{
  		JLog::add('JException::getProperties is deprecated.', JLog::WARNING, 'deprecated');
  
  		$vars = get_object_vars($this);
  
  		if ($public)
  		{
  			foreach ($vars as $key => $value)
  			{
  				if ('_' == substr($key, 0, 1))
  				{
  					unset($vars[$key]);
  				}
  			}
  		}
  
  		return $vars;
  	}
code: public function getProperties($public = true)
  	{
  		JLog::add('JException::getProperties is deprecated.', JLog::WARNING, 'deprecated');
  
  		$vars = get_object_vars($this);
  
  		if ($public)
  		{
  			foreach ($vars as $key => $value)
  			{
  				if ('_' == substr($key, 0, 1))
  				{
  					unset($vars[$key]);
  				}
  			}
  		}
  
  		return $vars;
  	}
code_tokens: public function getProperties ( $ public = true ) { JLog :: add ( 'JException::getProperties is deprecated.' , JLog :: WARNING , 'deprecated' ) ; $ vars = get_object_vars ( $ this ) ; if ( $ public ) { foreach ( $ vars as $ key => $ value ) { if ( '_' == substr ( $ key , 0 , 1 ) ) { unset ( $ vars [ $ key ] ) ; } } } return $ vars ; }
docstring: Returns an associative array of object properties
  
  @param   boolean  $public  If true, returns only the public properties
  
  @return  array  Object properties
  
  @deprecated    12.1
  @see     JException::get()
  @since   11.1
docstring_tokens: Returns an associative array of object properties