lib/OTPHelper.php
protected function formatLabel($string, $part)
	{
		$string = trim($string);

		if ($part === 'account')
		{
			$this->setAccount($string);
		}
		else if ($part === 'issuer')
		{
			$this->setIssuer($string);
		}
	}
protected function formatLabel($string, $part)
	{
		$string = trim($string);

		if ($part === 'account')
		{
			$this->setAccount($string);
		}
		else if ($part === 'issuer')
		{
			$this->setIssuer($string);
		}
	}
protected function formatLabel ( $ string , $ part ) { $ string = trim ( $ string ) ; if ( $ part === 'account' ) { $ this -> setAccount ( $ string ) ; } else if ( $ part === 'issuer' ) { $ this -> setIssuer ( $ string ) ; } }
Format label string according to expected urlencoded standards.

@param string $string The label string
@param string $part Part of label
Format label string according to expected urlencoded standards .