original_string: public function get_duration($convert = false)
  	{
  		if ($this->duration !== null)
  		{
  			if ($convert)
  			{
  				$time = SimplePie_Misc::time_hms($this->duration);
  				return $time;
  			}
  			else
  			{
  				return $this->duration;
  			}
  		}
  		else
  		{
  			return null;
  		}
  	}
code: public function get_duration($convert = false)
  	{
  		if ($this->duration !== null)
  		{
  			if ($convert)
  			{
  				$time = SimplePie_Misc::time_hms($this->duration);
  				return $time;
  			}
  			else
  			{
  				return $this->duration;
  			}
  		}
  		else
  		{
  			return null;
  		}
  	}
code_tokens: public function get_duration ( $ convert = false ) { if ( $ this -> duration !== null ) { if ( $ convert ) { $ time = SimplePie_Misc :: time_hms ( $ this -> duration ) ; return $ time ; } else { return $ this -> duration ; } } else { return null ; } }
docstring: Get the duration of the enclosure
  
  @param bool $convert Convert seconds into hh:mm:ss
  @return string|int|null 'hh:mm:ss' string if `$convert` was specified, otherwise integer (or null if none found)
docstring_tokens: Get the duration of the enclosure