public function setIframe($value)
    {
        $profile = ((bool)$value ? static::PROFILE_LOW : static::PROFILE_NORMAL);

        return $this->setParameter('profile', $profile);
    }
public function setIframe($value)
    {
        $profile = ((bool)$value ? static::PROFILE_LOW : static::PROFILE_NORMAL);

        return $this->setParameter('profile', $profile);
    }
public function setIframe ( $ value ) { $ profile = ( ( bool ) $ value ? static :: PROFILE_LOW : static :: PROFILE_NORMAL ) ; return $ this -> setParameter ( 'profile' , $ profile ) ; }
Convenience method to switch iframe mode on or off.
This sets the profile parameter.

@param bool $value True to use an iframe profile for hosted forms.
@return $this
Convenience method to switch iframe mode on or off . This sets the profile parameter .